mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Admin Portal - Profile
This commit is contained in:
parent
988ea8e7ff
commit
12b301e399
28
public/main.profile.dart.js
vendored
28
public/main.profile.dart.js
vendored
@ -365557,11 +365557,28 @@
|
||||
return new A.EmailPreview(_this._invoice_email_view$_subjectPreview, _this._invoice_email_view$_bodyPreview, t1, _null);
|
||||
},
|
||||
_buildEdit$1(context) {
|
||||
var t3, t4, t5, _this = this, _null = null,
|
||||
var enableCustomEmail, t4, t5, _this = this, _null = null,
|
||||
t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
|
||||
state = _this._widget.viewModel.state,
|
||||
t2 = state.authState.get$isHosted(),
|
||||
enableCustomEmail = !t2 || state.get$isPaidAccount();
|
||||
t2 = state.authState,
|
||||
t3 = t2.get$isHosted();
|
||||
if (t3) {
|
||||
if (A.cleanApiUrl(t2.url) === "https://invoicing.co") {
|
||||
t2 = state.userCompanyStates;
|
||||
t3 = state.uiState.selectedCompanyIndex;
|
||||
t3 = t2._list[t3].userCompany.account.plan === "enterprise";
|
||||
t2 = t3;
|
||||
} else
|
||||
t2 = true;
|
||||
if (!t2) {
|
||||
t2 = state.userCompanyStates;
|
||||
t3 = state.uiState.selectedCompanyIndex;
|
||||
t3 = t2._list[t3].userCompany.account.plan === "pro";
|
||||
enableCustomEmail = t3;
|
||||
} else
|
||||
enableCustomEmail = true;
|
||||
} else
|
||||
enableCustomEmail = true;
|
||||
t2 = A.getLayout(context) === B.AppLayout_mobile ? 16 : 0;
|
||||
t3 = type$.JSArray_legacy_Widget;
|
||||
t4 = A._setArrayType([], t3);
|
||||
@ -410094,7 +410111,10 @@
|
||||
company = t2[t4].userCompany.company;
|
||||
t5 = state.authState;
|
||||
t6 = t5.get$isHosted();
|
||||
enableCustomEmail = !t6 || state.get$isPaidAccount();
|
||||
if (t6)
|
||||
enableCustomEmail = A.cleanApiUrl(t5.url) !== "https://invoicing.co" || t2[t4].userCompany.account.plan === "enterprise" || t2[t4].userCompany.account.plan === "pro";
|
||||
else
|
||||
enableCustomEmail = true;
|
||||
t6 = t1.localeCode;
|
||||
t7 = J.$index$asx($.LocalizationsProvider__localizedValues.$index(0, t6), "template");
|
||||
if (t7 == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user