1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00

Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-11-04 11:03:52 +00:00
parent 0ea10cd22c
commit a643d11d05

View File

@ -56319,10 +56319,10 @@
t1 = "" + t1;
} else
t1 = id;
return A._$BankAccountEntity$_(0, "", 0, 0, "", "", t1, false, false, "", "", "", "", 0);
return A._$BankAccountEntity$_(0, "", 0, 0, "", "", false, t1, false, false, "", "", "", "", 0);
},
_$BankAccountEntity$_(archivedAt, assignedUserId, balance, createdAt, createdUserId, currency, id, isChanged, isDeleted, $name, provider, $status, type, updatedAt) {
return new A._$BankAccountEntity($name, $status, type, provider, balance, currency, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
_$BankAccountEntity$_(archivedAt, assignedUserId, balance, createdAt, createdUserId, currency, disabledUpstream, id, isChanged, isDeleted, $name, provider, $status, type, updatedAt) {
return new A._$BankAccountEntity($name, $status, type, provider, disabledUpstream, balance, currency, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id);
},
BankAccountListResponse: function BankAccountListResponse() {
},
@ -56350,27 +56350,28 @@
BankAccountItemResponseBuilder: function BankAccountItemResponseBuilder() {
this._bank_account_model$_data = this._bank_account_model$_$v = null;
},
_$BankAccountEntity: function _$BankAccountEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
_$BankAccountEntity: function _$BankAccountEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_.name = t0;
_.status = t1;
_.type = t2;
_.provider = t3;
_.balance = t4;
_.currency = t5;
_.isChanged = t6;
_.createdAt = t7;
_.updatedAt = t8;
_.archivedAt = t9;
_.isDeleted = t10;
_.createdUserId = t11;
_.assignedUserId = t12;
_.id = t13;
_.disabledUpstream = t4;
_.balance = t5;
_.currency = t6;
_.isChanged = t7;
_.createdAt = t8;
_.updatedAt = t9;
_.archivedAt = t10;
_.isDeleted = t11;
_.createdUserId = t12;
_.assignedUserId = t13;
_.id = t14;
_._bank_account_model$__hashCode = null;
},
BankAccountEntityBuilder: function BankAccountEntityBuilder() {
var _ = this;
_._bank_account_model$_id = _._bank_account_model$_assignedUserId = _._bank_account_model$_createdUserId = _._bank_account_model$_isDeleted = _._bank_account_model$_archivedAt = _._bank_account_model$_updatedAt = _._bank_account_model$_createdAt = _._bank_account_model$_isChanged = _._currency = _._bank_account_model$_balance = _._provider = _._bank_account_model$_type = _._status = _._bank_account_model$_name = _._bank_account_model$_$v = null;
_._bank_account_model$_id = _._bank_account_model$_assignedUserId = _._bank_account_model$_createdUserId = _._bank_account_model$_isDeleted = _._bank_account_model$_archivedAt = _._bank_account_model$_updatedAt = _._bank_account_model$_createdAt = _._bank_account_model$_isChanged = _._currency = _._bank_account_model$_balance = _._disabledUpstream = _._provider = _._bank_account_model$_type = _._status = _._bank_account_model$_name = _._bank_account_model$_$v = null;
},
_BankAccountEntity_Object_BaseEntity: function _BankAccountEntity_Object_BaseEntity() {
},
@ -314535,13 +314536,17 @@
if ($$v != null) {
t2 = $$v.data;
t3 = new A.BankAccountEntityBuilder();
t3.get$_bank_account_model$_$this()._disabledUpstream = false;
t3._bank_account_model$_$v = t2;
result._bank_account_model$_data = t3;
result._bank_account_model$_$v = null;
}
t2 = result._bank_account_model$_data;
if (t2 == null)
t2 = result._bank_account_model$_data = new A.BankAccountEntityBuilder();
if (t2 == null) {
t2 = new A.BankAccountEntityBuilder();
t2.get$_bank_account_model$_$this()._disabledUpstream = false;
result._bank_account_model$_data = t2;
}
t3 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_FKj));
if (t3 == null)
A.throwExpression(A.ArgumentError$notNull("other"));
@ -314565,7 +314570,7 @@
};
A._$BankAccountEntitySerializer.prototype = {
serialize$3$specifiedType(serializers, object, specifiedType) {
var result = A._setArrayType(["bank_account_name", serializers.serialize$2$specifiedType(object.name, B.FullType_h8g), "bank_account_status", serializers.serialize$2$specifiedType(object.status, B.FullType_h8g), "bank_account_type", serializers.serialize$2$specifiedType(object.type, B.FullType_h8g), "provider_name", serializers.serialize$2$specifiedType(object.provider, B.FullType_h8g), "balance", serializers.serialize$2$specifiedType(object.balance, B.FullType_MME), "currency", serializers.serialize$2$specifiedType(object.currency, B.FullType_h8g), "created_at", serializers.serialize$2$specifiedType(object.createdAt, B.FullType_kjq), "updated_at", serializers.serialize$2$specifiedType(object.updatedAt, B.FullType_kjq), "archived_at", serializers.serialize$2$specifiedType(object.archivedAt, B.FullType_kjq), "id", serializers.serialize$2$specifiedType(object.id, B.FullType_h8g)], type$.JSArray_legacy_Object),
var result = A._setArrayType(["bank_account_name", serializers.serialize$2$specifiedType(object.name, B.FullType_h8g), "bank_account_status", serializers.serialize$2$specifiedType(object.status, B.FullType_h8g), "bank_account_type", serializers.serialize$2$specifiedType(object.type, B.FullType_h8g), "provider_name", serializers.serialize$2$specifiedType(object.provider, B.FullType_h8g), "disabled_upstream", serializers.serialize$2$specifiedType(object.disabledUpstream, B.FullType_MtR), "balance", serializers.serialize$2$specifiedType(object.balance, B.FullType_MME), "currency", serializers.serialize$2$specifiedType(object.currency, B.FullType_h8g), "created_at", serializers.serialize$2$specifiedType(object.createdAt, B.FullType_kjq), "updated_at", serializers.serialize$2$specifiedType(object.updatedAt, B.FullType_kjq), "archived_at", serializers.serialize$2$specifiedType(object.archivedAt, B.FullType_kjq), "id", serializers.serialize$2$specifiedType(object.id, B.FullType_h8g)], type$.JSArray_legacy_Object),
value = object.isChanged;
if (value != null) {
result.push("isChanged");
@ -314592,9 +314597,10 @@
return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false);
},
deserialize$3$specifiedType(serializers, serialized, specifiedType) {
var key, value, t1,
result = new A.BankAccountEntityBuilder(),
iterator = J.get$iterator$ax(serialized);
var iterator, key, value, t1,
result = new A.BankAccountEntityBuilder();
result.get$_bank_account_model$_$this()._disabledUpstream = false;
iterator = J.get$iterator$ax(serialized);
for (; iterator.moveNext$0();) {
key = A._asStringS(iterator.get$current(iterator));
iterator.moveNext$0();
@ -314616,6 +314622,10 @@
t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g));
result.get$_bank_account_model$_$this()._provider = t1;
break;
case "disabled_upstream":
t1 = A._asBoolS(serializers.deserialize$2$specifiedType(value, B.FullType_MtR));
result.get$_bank_account_model$_$this()._disabledUpstream = t1;
break;
case "balance":
t1 = A._asDoubleS(serializers.deserialize$2$specifiedType(value, B.FullType_MME));
result.get$_bank_account_model$_$this()._bank_account_model$_balance = t1;
@ -314765,13 +314775,19 @@
if ($$v != null) {
t1 = $$v.data;
t2 = new A.BankAccountEntityBuilder();
t2.get$_bank_account_model$_$this()._disabledUpstream = false;
A.ArgumentError_checkNotNull(t1, "other");
t2._bank_account_model$_$v = t1;
_this._bank_account_model$_data = t2;
_this._bank_account_model$_$v = null;
}
t1 = _this._bank_account_model$_data;
return t1 == null ? _this._bank_account_model$_data = new A.BankAccountEntityBuilder() : t1;
if (t1 == null) {
t1 = new A.BankAccountEntityBuilder();
t1.get$_bank_account_model$_$this()._disabledUpstream = false;
_this._bank_account_model$_data = t1;
}
return t1;
},
build$0() {
var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null;
@ -314801,6 +314817,7 @@
A._$BankAccountEntity.prototype = {
rebuild$1(updates) {
var t1 = new A.BankAccountEntityBuilder();
t1.get$_bank_account_model$_$this()._disabledUpstream = false;
A.ArgumentError_checkNotNull(this, "other");
t1._bank_account_model$_$v = this;
updates.call$1(t1);
@ -314812,12 +314829,12 @@
return false;
if (other === _this)
return true;
return other instanceof A.BankAccountEntity && _this.name === other.name && _this.status === other.status && _this.type === other.type && _this.provider === other.provider && _this.balance === other.balance && _this.currency === other.currency && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id;
return other instanceof A.BankAccountEntity && _this.name === other.name && _this.status === other.status && _this.type === other.type && _this.provider === other.provider && _this.disabledUpstream === other.disabledUpstream && _this.balance === other.balance && _this.currency === other.currency && _this.isChanged == other.isChanged && _this.createdAt === other.createdAt && _this.updatedAt === other.updatedAt && _this.archivedAt === other.archivedAt && _this.isDeleted == other.isDeleted && _this.createdUserId == other.createdUserId && _this.assignedUserId == other.assignedUserId && _this.id === other.id;
},
get$hashCode(_) {
var _this = this,
t1 = _this._bank_account_model$__hashCode;
return t1 == null ? _this._bank_account_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.status)), B.JSString_methods.get$hashCode(_this.type)), B.JSString_methods.get$hashCode(_this.provider)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSString_methods.get$hashCode(_this.currency)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1;
return t1 == null ? _this._bank_account_model$__hashCode = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.name)), B.JSString_methods.get$hashCode(_this.status)), B.JSString_methods.get$hashCode(_this.type)), B.JSString_methods.get$hashCode(_this.provider)), B.JSBool_methods.get$hashCode(_this.disabledUpstream)), B.JSNumber_methods.get$hashCode(_this.balance)), B.JSString_methods.get$hashCode(_this.currency)), J.get$hashCode$(_this.isChanged)), B.JSInt_methods.get$hashCode(_this.createdAt)), B.JSInt_methods.get$hashCode(_this.updatedAt)), B.JSInt_methods.get$hashCode(_this.archivedAt)), J.get$hashCode$(_this.isDeleted)), J.get$hashCode$(_this.createdUserId)), J.get$hashCode$(_this.assignedUserId)), B.JSString_methods.get$hashCode(_this.id))) : t1;
},
toString$0(_) {
var _this = this,
@ -314827,6 +314844,7 @@
t2.add$2(t1, "status", _this.status);
t2.add$2(t1, "type", _this.type);
t2.add$2(t1, "provider", _this.provider);
t2.add$2(t1, "disabledUpstream", _this.disabledUpstream);
t2.add$2(t1, "balance", _this.balance);
t2.add$2(t1, "currency", _this.currency);
t2.add$2(t1, "isChanged", _this.isChanged);
@ -314873,6 +314891,7 @@
_this._status = $$v.status;
_this._bank_account_model$_type = $$v.type;
_this._provider = $$v.provider;
_this._disabledUpstream = $$v.disabledUpstream;
_this._bank_account_model$_balance = $$v.balance;
_this._currency = $$v.currency;
_this._bank_account_model$_isChanged = $$v.isChanged;
@ -314888,7 +314907,7 @@
return _this;
},
build$0() {
var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, _this = this,
var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this,
_s17_ = "BankAccountEntity",
_$result = _this._bank_account_model$_$v;
if (_$result == null) {
@ -314904,29 +314923,32 @@
t4 = _this.get$_bank_account_model$_$this()._provider;
if (t4 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "provider"));
t5 = _this.get$_bank_account_model$_$this()._bank_account_model$_balance;
t5 = _this.get$_bank_account_model$_$this()._disabledUpstream;
if (t5 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "balance"));
t6 = _this.get$_bank_account_model$_$this()._currency;
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "disabledUpstream"));
t6 = _this.get$_bank_account_model$_$this()._bank_account_model$_balance;
if (t6 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "balance"));
t7 = _this.get$_bank_account_model$_$this()._currency;
if (t7 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "currency"));
t7 = _this.get$_bank_account_model$_$this()._bank_account_model$_isChanged;
t8 = _this.get$_bank_account_model$_$this()._bank_account_model$_createdAt;
if (t8 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "createdAt"));
t9 = _this.get$_bank_account_model$_$this()._bank_account_model$_updatedAt;
t8 = _this.get$_bank_account_model$_$this()._bank_account_model$_isChanged;
t9 = _this.get$_bank_account_model$_$this()._bank_account_model$_createdAt;
if (t9 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "updatedAt"));
t10 = _this.get$_bank_account_model$_$this()._bank_account_model$_archivedAt;
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "createdAt"));
t10 = _this.get$_bank_account_model$_$this()._bank_account_model$_updatedAt;
if (t10 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "updatedAt"));
t11 = _this.get$_bank_account_model$_$this()._bank_account_model$_archivedAt;
if (t11 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "archivedAt"));
t11 = _this.get$_bank_account_model$_$this()._bank_account_model$_isDeleted;
t12 = _this.get$_bank_account_model$_$this()._bank_account_model$_createdUserId;
t13 = _this.get$_bank_account_model$_$this()._bank_account_model$_assignedUserId;
t14 = _this.get$_bank_account_model$_$this()._bank_account_model$_id;
if (t14 == null)
t12 = _this.get$_bank_account_model$_$this()._bank_account_model$_isDeleted;
t13 = _this.get$_bank_account_model$_$this()._bank_account_model$_createdUserId;
t14 = _this.get$_bank_account_model$_$this()._bank_account_model$_assignedUserId;
t15 = _this.get$_bank_account_model$_$this()._bank_account_model$_id;
if (t15 == null)
A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "id"));
_$result = A._$BankAccountEntity$_(t10, t13, t5, t8, t12, t6, t14, t7, t11, t1, t4, t2, t3, t9);
_$result = A._$BankAccountEntity$_(t11, t14, t6, t9, t13, t7, t5, t15, t8, t12, t1, t4, t2, t3, t10);
}
A.ArgumentError_checkNotNull(_$result, "other");
return _this._bank_account_model$_$v = _$result;
@ -336590,7 +336612,8 @@
};
A.SettingsEntity_setFieldsForSection_closure.prototype = {
call$1(b) {
b.get$pdfVariables().replace$1(0, A.LinkedHashMap_LinkedHashMap$_literal([this.section, this.fields], type$.legacy_String, type$.legacy_List_legacy_String));
var t1 = type$.legacy_String;
b.get$pdfVariables().replace$1(0, A.LinkedHashMap_LinkedHashMap$_literal([this.section, A.BuiltList_BuiltList$from(this.fields, t1)], t1, type$.legacy_BuiltList_legacy_String));
return b;
},
$signature: 13
@ -363334,7 +363357,13 @@
case "editing":
t3 = result.get$_bank_account_state$_$this();
t4 = t3._bank_account_state$_editing;
t3 = t4 == null ? t3._bank_account_state$_editing = new A.BankAccountEntityBuilder() : t4;
if (t4 == null) {
t4 = new A.BankAccountEntityBuilder();
t4.get$_bank_account_model$_$this()._disabledUpstream = false;
t3._bank_account_state$_editing = t4;
t3 = t4;
} else
t3 = t4;
t4 = t2._as(serializers.deserialize$2$specifiedType(value, B.FullType_FKj));
if (t4 == null)
A.throwExpression(A.ArgumentError$notNull("other"));
@ -363530,7 +363559,14 @@
get$editing() {
var t1 = this.get$_bank_account_state$_$this(),
t2 = t1._bank_account_state$_editing;
return t2 == null ? t1._bank_account_state$_editing = new A.BankAccountEntityBuilder() : t2;
if (t2 == null) {
t2 = new A.BankAccountEntityBuilder();
t2.get$_bank_account_model$_$this()._disabledUpstream = false;
t1._bank_account_state$_editing = t2;
t1 = t2;
} else
t1 = t2;
return t1;
},
get$listUIState() {
var t1 = this.get$_bank_account_state$_$this(),
@ -363546,6 +363582,7 @@
t1 = null;
else {
t2 = new A.BankAccountEntityBuilder();
t2.get$_bank_account_model$_$this()._disabledUpstream = false;
A.ArgumentError_checkNotNull(t1, "other");
t2._bank_account_model$_$v = t1;
t1 = t2;
@ -430559,23 +430596,25 @@
};
A.BankAccountListItem.prototype = {
build$1(context) {
var uiState, bankAccountUIState, t2, t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = A.StoreProvider_of(context, type$.legacy_AppState).__Store__state_A;
t1 === $ && A.throwUnnamedLateFieldNI();
uiState = t1.uiState;
var uiState, bankAccountUIState, t3, t4, t5, t6, t7, t8, t9, _this = this, _null = null,
t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
t2 = A.StoreProvider_of(context, type$.legacy_AppState).__Store__state_A;
t2 === $ && A.throwUnnamedLateFieldNI();
uiState = t2.uiState;
bankAccountUIState = uiState.bankAccountUIState;
t2 = bankAccountUIState.listUIState.selectedIds;
t1 = t1.userCompanyStates;
t3 = uiState.selectedCompanyIndex;
t3 = t1._list[t3].userCompany;
t1 = _this.bankAccount;
t4 = t1.id;
t5 = uiState.get$isEditing() ? bankAccountUIState.editing.id : bankAccountUIState.selectedId;
t2 = t2 != null ? new A.IgnorePointer(true, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.BankAccountListItem_build_closure(_this), _null, _null, false, _this.isChecked), _null) : _null;
t6 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data;
t7 = type$.JSArray_legacy_Widget;
t6 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t1.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(t1.balance, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t6.size._dx);
return new A.DismissibleEntity(t3, t1, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.BankAccountListItem_build_closure0(_this), new A.BankAccountListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([A.Text$(A.toTitleCase(t1.type), _null, _null, _null, _null, _null, _null, _null, _null, _null), new A.EntityStateLabel(t1, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null);
t3 = bankAccountUIState.listUIState.selectedIds;
t2 = t2.userCompanyStates;
t4 = uiState.selectedCompanyIndex;
t4 = t2._list[t4].userCompany;
t2 = _this.bankAccount;
t5 = t2.id;
t6 = uiState.get$isEditing() ? bankAccountUIState.editing.id : bankAccountUIState.selectedId;
t3 = t3 != null ? new A.IgnorePointer(true, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.BankAccountListItem_build_closure(_this), _null, _null, false, _this.isChecked), _null) : _null;
t7 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data;
t8 = type$.JSArray_legacy_Widget;
t7 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(t2.balance, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t8), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t7.size._dx);
t9 = A.toTitleCase(t2.type);
return new A.DismissibleEntity(t4, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t3, new A.BankAccountListItem_build_closure0(_this), new A.BankAccountListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([A.Text$(t9 + (t2.disabledUpstream ? " \u2022 " + t1.get$disabled(t1) : ""), _null, _null, _null, _null, _null, _null, _null, _null, _null), new A.EntityStateLabel(t2, _null)], t8), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t7, _null, _null), t5 === t6, true, true, _null);
},
get$user(receiver) {
return this.user;
@ -466294,46 +466333,48 @@
B.JSArray_methods.addAll$1(t8, A._setArrayType([new A.Padding(B.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([t7, new A.SizedBox(16, _null, _null, _null), A.Expanded$(new A.AppButton(_null, t11, t10.toUpperCase(), new A._AccountOverview_build_closure7(_this, context, t1), _null, _null), 1)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), new A.Padding(B.EdgeInsets_16_16_16_0, new A.ListDivider(_null), _null)], t9));
}
if (!(!state.get$isHosted() || t3[t4].userCompany.account.plan === "enterprise" || t3[t4].userCompany.account.plan === "pro"))
t3 = state.get$isHosted() && t3[t4].userCompany.account.trialDaysLeft > 0;
t7 = state.get$isHosted() && t3[t4].userCompany.account.trialDaysLeft > 0;
else
t3 = true;
if (t3) {
t3 = J.$index$asx(t5.$index(0, t6), "api_tokens");
t7 = true;
if (t7) {
t7 = J.$index$asx(t5.$index(0, t6), "api_tokens");
if (t7 == null)
t7 = "";
t10 = A.getLayout(context) === B.AppLayout_mobile ? _null : A.getEntityIcon(B.EntityType_token);
t7 = A.Expanded$(new A.AppButton(_null, t10, t7.toUpperCase(), new A._AccountOverview_build_closure8(store), _null, _null), 1);
t10 = J.$index$asx(t5.$index(0, t6), "api_webhooks");
if (t10 == null)
t10 = "";
t11 = A.getLayout(context) === B.AppLayout_mobile ? _null : A.getEntityIcon(B.EntityType_webhook);
t8.push(new A.Padding(B.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([t7, new A.SizedBox(16, _null, _null, _null), A.Expanded$(new A.AppButton(_null, t11, t10.toUpperCase(), new A._AccountOverview_build_closure9(store), _null, _null), 1)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null));
}
t7 = J.$index$asx(t5.$index(0, t6), "api_docs");
if (t7 == null)
t7 = "";
t10 = A.getLayout(context) === B.AppLayout_mobile ? _null : B._MdiIconData_uXI;
t7 = A.Expanded$(new A.AppButton(_null, t10, t7.toUpperCase(), new A._AccountOverview_build_closure10(), _null, _null), 1);
t10 = A.getLayout(context) === B.AppLayout_mobile ? _null : B._MdiIconData_Qa6;
t8.push(new A.Padding(B.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([t7, new A.SizedBox(16, _null, _null, _null), A.Expanded$(new A.AppButton(_null, t10, "Zapier", new A._AccountOverview_build_closure11(), _null, _null), 1)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null));
if (t3[t4].userCompany.isOwner) {
t3 = J.$index$asx(t5.$index(0, t6), "purge_data");
if (t3 == null)
t3 = "";
t4 = A.getLayout(context) === B.AppLayout_mobile ? _null : A.getEntityIcon(B.EntityType_token);
t3 = A.Expanded$(new A.AppButton(_null, t4, t3.toUpperCase(), new A._AccountOverview_build_closure8(store), _null, _null), 1);
t4 = J.$index$asx(t5.$index(0, t6), "api_webhooks");
if (t4 == null)
t4 = "";
t7 = A.getLayout(context) === B.AppLayout_mobile ? _null : A.getEntityIcon(B.EntityType_webhook);
t8.push(new A.Padding(B.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([t3, new A.SizedBox(16, _null, _null, _null), A.Expanded$(new A.AppButton(_null, t7, t4.toUpperCase(), new A._AccountOverview_build_closure9(store), _null, _null), 1)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null));
t4 = A.getLayout(context) === B.AppLayout_mobile ? _null : B.IconData_57785_MaterialIcons_null_false;
t3 = A.Expanded$(new A.AppButton(B.MaterialColor_Map_JNc9P_4294198070, t4, t3.toUpperCase(), new A._AccountOverview_build_closure12(_this, context, t1, t2), _null, _null), 1);
if (companies.length === 1) {
t4 = J.$index$asx(t5.$index(0, t6), "cancel_account");
if (t4 == null)
t4 = "";
t4 = t4.toUpperCase();
} else {
t4 = J.$index$asx(t5.$index(0, t6), "delete_company");
if (t4 == null)
t4 = "";
t4 = t4.toUpperCase();
}
t5 = A.getLayout(context) === B.AppLayout_mobile ? _null : B.IconData_57785_MaterialIcons_null_false;
B.JSArray_methods.addAll$1(t8, A._setArrayType([new A.Padding(B.EdgeInsets_16_16_16_0, new A.ListDivider(_null), _null), new A.Padding(B.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([t3, new A.SizedBox(16, _null, _null, _null), A.Expanded$(new A.AppButton(B.MaterialColor_Map_JNc9P_4294198070, t5, t4, new A._AccountOverview_build_closure13(_this, companies, t1, company, t2, context), _null, _null), 1)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null)], t9));
}
t3 = J.$index$asx(t5.$index(0, t6), "api_docs");
if (t3 == null)
t3 = "";
t4 = A.getLayout(context) === B.AppLayout_mobile ? _null : B._MdiIconData_uXI;
t3 = A.Expanded$(new A.AppButton(_null, t4, t3.toUpperCase(), new A._AccountOverview_build_closure10(), _null, _null), 1);
t4 = A.getLayout(context) === B.AppLayout_mobile ? _null : B._MdiIconData_Qa6;
t8.push(new A.Padding(B.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([t3, new A.SizedBox(16, _null, _null, _null), A.Expanded$(new A.AppButton(_null, t4, "Zapier", new A._AccountOverview_build_closure11(), _null, _null), 1)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null));
t8.push(new A.Padding(B.EdgeInsets_16_16_16_0, new A.ListDivider(_null), _null));
t4 = J.$index$asx(t5.$index(0, t6), "purge_data");
t3 = t4 == null ? "" : t4;
t4 = A.getLayout(context) === B.AppLayout_mobile ? _null : B.IconData_57785_MaterialIcons_null_false;
t3 = A.Expanded$(new A.AppButton(B.MaterialColor_Map_JNc9P_4294198070, t4, t3.toUpperCase(), new A._AccountOverview_build_closure12(_this, context, t1, t2), _null, _null), 1);
if (companies.length === 1) {
t4 = J.$index$asx(t5.$index(0, t6), "cancel_account");
if (t4 == null)
t4 = "";
t4 = t4.toUpperCase();
} else {
t4 = J.$index$asx(t5.$index(0, t6), "delete_company");
if (t4 == null)
t4 = "";
t4 = t4.toUpperCase();
}
t5 = A.getLayout(context) === B.AppLayout_mobile ? _null : B.IconData_57785_MaterialIcons_null_false;
t8.push(new A.Padding(B.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([t3, new A.SizedBox(16, _null, _null, _null), A.Expanded$(new A.AppButton(B.MaterialColor_Map_JNc9P_4294198070, t5, t4, new A._AccountOverview_build_closure13(_this, companies, t1, company, t2, context), _null, _null), 1)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null));
return new A.ScrollableListView(t8, _null, _null, _null, false, _null);
}
};
@ -472533,54 +472574,60 @@
t3 = t2.settingsUIState,
t4 = t3.entityType === B.EntityType_company,
t5 = t1.get$invoiceDesign();
t3 = t3.updatedAt;
if (!t4)
t3 = _null;
else {
t3 = t3.updatedAt;
t6 = _this._invoice_design$_controller;
t7 = $.$get$LocalizationsProvider__localizedValues();
t8 = t1.localeCode;
t9 = J.$index$asx(t7.$index(0, t8), "general_settings");
t9 = A.Tab$(_null, t9 == null ? "" : t9);
t10 = J.$index$asx(t7.$index(0, t8), _s14_);
t10 = A.Tab$(_null, t10 == null ? "" : t10);
t11 = A.Tab$(_null, t1.get$companyDetails());
t12 = J.$index$asx(t7.$index(0, t8), _s15_);
t9 = A._setArrayType([t9, t10, t11, A.Tab$(_null, t12 == null ? "" : t12)], type$.JSArray_legacy_Widget);
if (company.isModuleEnabled$1(B.EntityType_invoice)) {
t10 = J.$index$asx(t7.$index(0, t8), _s15_0);
t9.push(A.Tab$(_null, t10 == null ? "" : t10));
}
if (company.isModuleEnabled$1(B.EntityType_quote)) {
t10 = J.$index$asx(t7.$index(0, t8), _s13_);
t9.push(A.Tab$(_null, t10 == null ? "" : t10));
}
if (company.isModuleEnabled$1(B.EntityType_credit)) {
t10 = J.$index$asx(t7.$index(0, t8), _s14_0);
t9.push(A.Tab$(_null, t10 == null ? "" : t10));
}
if (company.isModuleEnabled$1(B.EntityType_vendor)) {
t10 = J.$index$asx(t7.$index(0, t8), _s14_1);
t9.push(A.Tab$(_null, t10 == null ? J.$index$asx(t7.$index(0, _s2_), _s14_1) : t10));
}
if (company.isModuleEnabled$1(B.EntityType_purchaseOrder)) {
t10 = J.$index$asx(t7.$index(0, t8), _s22_);
t9.push(A.Tab$(_null, t10 == null ? J.$index$asx(t7.$index(0, _s2_), _s22_) : t10));
}
t10 = J.$index$asx(t7.$index(0, t8), _s15_1);
t9.push(A.Tab$(_null, t10 == null ? "" : t10));
if (company.isModuleEnabled$1(B.EntityType_task)) {
t10 = J.$index$asx(t7.$index(0, t8), _s12_);
t9.push(A.Tab$(_null, t10 == null ? "" : t10));
}
t7 = J.$index$asx(t7.$index(0, t8), "total_fields");
t9.push(A.Tab$(_null, t7 == null ? "" : t7));
t3 = A.TabBar$(t6, _null, true, new A.ValueKey(t3, type$.ValueKey_legacy_int), _null, t9);
}
t6 = _this._invoice_design$_controller;
t7 = $.$get$LocalizationsProvider__localizedValues();
t8 = t1.localeCode;
t9 = J.$index$asx(t7.$index(0, t8), "general_settings");
t9 = A.Tab$(_null, t9 == null ? "" : t9);
t10 = J.$index$asx(t7.$index(0, t8), _s14_);
t10 = A.Tab$(_null, t10 == null ? "" : t10);
t11 = A.Tab$(_null, t1.get$companyDetails());
t12 = J.$index$asx(t7.$index(0, t8), _s15_);
t13 = type$.JSArray_legacy_Widget;
t12 = A._setArrayType([t9, t10, t11, A.Tab$(_null, t12 == null ? "" : t12)], t13);
if (company.isModuleEnabled$1(B.EntityType_invoice)) {
t9 = J.$index$asx(t7.$index(0, t8), _s15_0);
t12.push(A.Tab$(_null, t9 == null ? "" : t9));
}
if (company.isModuleEnabled$1(B.EntityType_quote)) {
t9 = J.$index$asx(t7.$index(0, t8), _s13_);
t12.push(A.Tab$(_null, t9 == null ? "" : t9));
}
if (company.isModuleEnabled$1(B.EntityType_credit)) {
t9 = J.$index$asx(t7.$index(0, t8), _s14_0);
t12.push(A.Tab$(_null, t9 == null ? "" : t9));
}
if (company.isModuleEnabled$1(B.EntityType_vendor)) {
t9 = J.$index$asx(t7.$index(0, t8), _s14_1);
t12.push(A.Tab$(_null, t9 == null ? J.$index$asx(t7.$index(0, _s2_), _s14_1) : t9));
}
if (company.isModuleEnabled$1(B.EntityType_purchaseOrder)) {
t9 = J.$index$asx(t7.$index(0, t8), _s22_);
t12.push(A.Tab$(_null, t9 == null ? J.$index$asx(t7.$index(0, _s2_), _s22_) : t9));
}
t9 = J.$index$asx(t7.$index(0, t8), _s15_1);
t12.push(A.Tab$(_null, t9 == null ? "" : t9));
if (company.isModuleEnabled$1(B.EntityType_task)) {
t9 = J.$index$asx(t7.$index(0, t8), _s12_);
t12.push(A.Tab$(_null, t9 == null ? "" : t9));
}
t9 = J.$index$asx(t7.$index(0, t8), "total_fields");
t12.push(A.Tab$(_null, t9 == null ? "" : t9));
t3 = A.TabBar$(t6, _null, true, new A.ValueKey(t3, type$.ValueKey_legacy_int), _null, t12);
t6 = _this._invoice_design$_controller;
t9 = $.$get$_InvoiceDesignState__formKey();
t10 = _this._invoice_design$_focusNode;
t11 = J.$index$asx(t7.$index(0, t8), "customize_and_preview");
t7 = $.$get$_InvoiceDesignState__formKey();
t8 = _this._invoice_design$_focusNode;
t9 = $.$get$LocalizationsProvider__localizedValues();
t10 = t1.localeCode;
t11 = J.$index$asx(t9.$index(0, t10), "customize_and_preview");
if (t11 == null)
t11 = "";
t12 = A._setArrayType([], t13);
t12 = type$.JSArray_legacy_Widget;
t13 = A._setArrayType([], t12);
if (state.get$isHosted()) {
t14 = state.userCompanyStates;
t15 = t2.selectedCompanyIndex;
@ -472606,9 +472653,9 @@
else
t14 = true;
if (t14) {
t14 = A._setArrayType([], t13);
t14 = A._setArrayType([], t12);
if (company.isModuleEnabled$1(B.EntityType_invoice)) {
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure(_this, viewModel, settings), t1.get$invoiceDesign(), settings.defaultInvoiceDesignId, _null)], t13);
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure(_this, viewModel, settings), t1.get$invoiceDesign(), settings.defaultInvoiceDesignId, _null)], t12);
if (t4)
if (_this._wasInvoiceDesignChanged) {
t16 = state.userCompanyStates;
@ -472624,7 +472671,7 @@
B.JSArray_methods.addAll$1(t14, t15);
}
if (company.isModuleEnabled$1(B.EntityType_quote)) {
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure1(_this, viewModel, settings), t1.get$quoteDesign(), settings.defaultQuoteDesignId, _null)], t13);
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure1(_this, viewModel, settings), t1.get$quoteDesign(), settings.defaultQuoteDesignId, _null)], t12);
if (t4)
if (_this._wasQuoteDesignChanged) {
t16 = state.userCompanyStates;
@ -472640,7 +472687,7 @@
B.JSArray_methods.addAll$1(t14, t15);
}
if (company.isModuleEnabled$1(B.EntityType_credit)) {
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure3(_this, viewModel, settings), t1.get$creditDesign(), settings.defaultCreditDesignId, _null)], t13);
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure3(_this, viewModel, settings), t1.get$creditDesign(), settings.defaultCreditDesignId, _null)], t12);
if (t4)
if (_this._wasCreditDesignChanged) {
t16 = state.userCompanyStates;
@ -472656,10 +472703,10 @@
B.JSArray_methods.addAll$1(t14, t15);
}
if (company.isModuleEnabled$1(B.EntityType_purchaseOrder)) {
t15 = J.$index$asx(t7.$index(0, t8), _s21_);
t15 = J.$index$asx(t9.$index(0, t10), _s21_);
if (t15 == null)
t15 = J.$index$asx(t7.$index(0, _s2_), _s21_);
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure5(_this, viewModel, settings), t15, settings.defaultPurchaseOrderDesignId, _null)], t13);
t15 = J.$index$asx(t9.$index(0, _s2_), _s21_);
t15 = A._setArrayType([new A.DesignPicker(new A._InvoiceDesignState_build_closure5(_this, viewModel, settings), t15, settings.defaultPurchaseOrderDesignId, _null)], t12);
if (t4)
if (_this._wasPurchaseOrderDesignChanged) {
t4 = state.userCompanyStates;
@ -472673,30 +472720,30 @@
t15.push(new A.Padding(B.EdgeInsets_0_0_0_8, A.CheckboxListTile$(A.Theme_of(context).colorScheme.secondary, _null, B.ListTileControlAffinity_2, _null, _null, new A._InvoiceDesignState_build_closure6(_this), A.Text$(t1.get$updateAllRecords(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _this._updateAllPurchaseOrderDesigns), _null));
B.JSArray_methods.addAll$1(t14, t15);
}
B.JSArray_methods.addAll$1(t12, t14);
B.JSArray_methods.addAll$1(t13, t14);
} else {
t2 = J.$index$asx(t7.$index(0, t8), _s18_);
t2 = J.$index$asx(t9.$index(0, t10), _s18_);
if (t2 == null)
t2 = J.$index$asx(t7.$index(0, _s2_), _s18_);
t12.push(A.OutlinedButton$(A.Text$(t2.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A._InvoiceDesignState_build_closure7(store, state), _null));
t2 = J.$index$asx(t9.$index(0, _s2_), _s18_);
t13.push(A.OutlinedButton$(A.Text$(t2.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A._InvoiceDesignState_build_closure7(store, state), _null));
}
t2 = J.$index$asx(t7.$index(0, t8), "page_layout");
t2 = J.$index$asx(t9.$index(0, t10), "page_layout");
if (t2 == null)
t2 = "";
t4 = settings.pageLayout;
t14 = type$.MappedListIterable_of_legacy_String_and_legacy_DropdownMenuItem_legacy_String;
t15 = t14._eval$1("ListIterable.E");
t16 = type$.legacy_String;
t12.push(A.AppDropdownButton$(_null, "", true, A.List_List$of(new A.MappedListIterable(B.List_portrait_landscape, new A._InvoiceDesignState_build_closure8(t1), t14), true, t15), _null, t2, new A._InvoiceDesignState_build_closure9(viewModel, settings), _null, false, t4, t16));
t13.push(A.AppDropdownButton$(_null, "", true, A.List_List$of(new A.MappedListIterable(B.List_portrait_landscape, new A._InvoiceDesignState_build_closure8(t1), t14), true, t15), _null, t2, new A._InvoiceDesignState_build_closure9(viewModel, settings), _null, false, t4, t16));
t4 = t1.get$pageSize();
t2 = settings.pageSize;
t12.push(A.AppDropdownButton$(_null, "", true, A.List_List$of(new A.MappedListIterable(B.List_mRX, new A._InvoiceDesignState_build_closure10(t1), t14), true, t15), _null, t4, new A._InvoiceDesignState_build_closure11(viewModel, settings), _null, false, t2, t16));
t13.push(A.AppDropdownButton$(_null, "", true, A.List_List$of(new A.MappedListIterable(B.List_mRX, new A._InvoiceDesignState_build_closure10(t1), t14), true, t15), _null, t4, new A._InvoiceDesignState_build_closure11(viewModel, settings), _null, false, t2, t16));
t2 = t1.get$fontSize(t1);
t4 = settings.fontSize;
t4 = t4 == null ? "" : A.S(t4);
t14 = type$.MappedListIterable_of_legacy_int_and_legacy_DropdownMenuItem_legacy_String;
t12.push(A.AppDropdownButton$(_null, "", true, A.List_List$of(new A.MappedListIterable(A._setArrayType([5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], type$.JSArray_legacy_int), new A._InvoiceDesignState_build_closure12(), t14), true, t14._eval$1("ListIterable.E")), _null, t2, new A._InvoiceDesignState_build_closure13(viewModel, settings), _null, false, t4, t16));
t12 = A.FormCard$(_null, t12, _null, B.CrossAxisAlignment_3, false, _null, false, _null);
t13.push(A.AppDropdownButton$(_null, "", true, A.List_List$of(new A.MappedListIterable(A._setArrayType([5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], type$.JSArray_legacy_int), new A._InvoiceDesignState_build_closure12(), t14), true, t14._eval$1("ListIterable.E")), _null, t2, new A._InvoiceDesignState_build_closure13(viewModel, settings), _null, false, t4, t16));
t13 = A.FormCard$(_null, t13, _null, B.CrossAxisAlignment_3, false, _null, false, _null);
t4 = t1.get$primaryFont();
t4 = A.EntityDropdown$(true, false, settings.primaryFont, _null, $.$get$memoizedFontMap().call$1($.kGoogleFonts), B.EntityType_font, B.List_empty1, t4, _null, _null, new A._InvoiceDesignState_build_closure14(viewModel, settings), _null, _null, _null);
t2 = t1.get$secondaryFont();
@ -472704,87 +472751,87 @@
t14 = t1.get$primaryColor();
t14 = A.FormColorPicker$(settings.primaryColor, t14, new A._InvoiceDesignState_build_closure16(viewModel, settings));
t15 = t1.get$secondaryColor();
t15 = A.FormCard$(_null, A._setArrayType([new A.LearnMoreUrl(t4, "https://fonts.google.com", _null, _null), t2, t14, A.FormColorPicker$(settings.secondaryColor, t15, new A._InvoiceDesignState_build_closure17(viewModel, settings))], t13), _null, B.CrossAxisAlignment_0, false, _null, true, _null);
t14 = J.$index$asx(t7.$index(0, t8), "empty_columns");
t15 = A.FormCard$(_null, A._setArrayType([new A.LearnMoreUrl(t4, "https://fonts.google.com", _null, _null), t2, t14, A.FormColorPicker$(settings.secondaryColor, t15, new A._InvoiceDesignState_build_closure17(viewModel, settings))], t12), _null, B.CrossAxisAlignment_0, false, _null, true, _null);
t14 = J.$index$asx(t9.$index(0, t10), "empty_columns");
t2 = t14 == null ? "" : t14;
t4 = settings.hideEmptyColumnsOnPdf;
t14 = t1.get$show(t1);
t4 = A.BoolDropdownButton$(t1.get$hide(), t14, _null, B._MdiIconData_Qa60, t2, _null, new A._InvoiceDesignState_build_closure18(viewModel, settings), t4 !== true);
t2 = J.$index$asx(t7.$index(0, t8), _s14_2);
t2 = J.$index$asx(t9.$index(0, t10), _s14_2);
if (t2 == null)
t2 = J.$index$asx(t7.$index(0, _s2_), _s14_2);
t2 = J.$index$asx(t9.$index(0, _s2_), _s14_2);
t14 = settings.pageNumbering;
t17 = t1.get$show(t1);
t14 = A.BoolDropdownButton$(t1.get$hide(), t17, _null, B.IconData_58041_MaterialIcons_null_false, t2, _null, new A._InvoiceDesignState_build_closure19(viewModel, settings), t14 === true);
t2 = J.$index$asx(t7.$index(0, t8), _s24_);
t2 = J.$index$asx(t9.$index(0, t10), _s24_);
if (t2 == null)
t2 = J.$index$asx(t7.$index(0, _s2_), _s24_);
t2 = J.$index$asx(t9.$index(0, _s2_), _s24_);
t17 = settings.pageNumberingAlignment;
t18 = J.$index$asx(t7.$index(0, t8), "left");
t18 = A.DropdownMenuItem$(A.Text$(t18 == null ? J.$index$asx(t7.$index(0, _s2_), "left") : t18, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, "L", t16);
t19 = J.$index$asx(t7.$index(0, t8), "center");
t19 = A.DropdownMenuItem$(A.Text$(t19 == null ? J.$index$asx(t7.$index(0, _s2_), "center") : t19, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, "C", t16);
t8 = J.$index$asx(t7.$index(0, t8), "right");
t2 = A._setArrayType([new A.Padding(B.EdgeInsets_16_0_16_10, new A.AppButton(_null, B.IconData_58751_MaterialIcons_null_false, t11.toUpperCase(), new A._InvoiceDesignState_build_closure20(state, context, store), _null, _null), _null), t12, t15, A.FormCard$(_null, A._setArrayType([t4, t14, A.AppDropdownButton$(_null, "", true, A._setArrayType([t18, t19, A.DropdownMenuItem$(A.Text$(t8 == null ? J.$index$asx(t7.$index(0, _s2_), "right") : t8, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, "R", t16)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, t2, new A._InvoiceDesignState_build_closure21(viewModel, settings), _null, false, t17, t16)], t13), _null, _null, false, _null, false, _null)], t13);
t18 = J.$index$asx(t9.$index(0, t10), "left");
t18 = A.DropdownMenuItem$(A.Text$(t18 == null ? J.$index$asx(t9.$index(0, _s2_), "left") : t18, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, "L", t16);
t19 = J.$index$asx(t9.$index(0, t10), "center");
t19 = A.DropdownMenuItem$(A.Text$(t19 == null ? J.$index$asx(t9.$index(0, _s2_), "center") : t19, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, "C", t16);
t10 = J.$index$asx(t9.$index(0, t10), "right");
t2 = A._setArrayType([new A.Padding(B.EdgeInsets_16_0_16_10, new A.AppButton(_null, B.IconData_58751_MaterialIcons_null_false, t11.toUpperCase(), new A._InvoiceDesignState_build_closure20(state, context, store), _null, _null), _null), t13, t15, A.FormCard$(_null, A._setArrayType([t4, t14, A.AppDropdownButton$(_null, "", true, A._setArrayType([t18, t19, A.DropdownMenuItem$(A.Text$(t10 == null ? J.$index$asx(t9.$index(0, _s2_), "right") : t10, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, "R", t16)], type$.JSArray_legacy_DropdownMenuItem_legacy_String), _null, t2, new A._InvoiceDesignState_build_closure21(viewModel, settings), _null, false, t17, t16)], t12), _null, _null, false, _null, false, _null)], t12);
t4 = type$.JSArray_legacy_String;
t7 = type$.MappedListIterable_of_legacy_String_and_legacy_String;
t8 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "id_number", "vat_number", "website", "phone", "address1", "address2", _s17_, _s17_0, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure22(), t7), true, t16);
B.JSArray_methods.addAll$1(t8, new A.MappedListIterable(A._setArrayType(["full_name", "email", "phone", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure23(), t7));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "vat_number", "address1", "address2", _s17_, "country", "phone"], t4), new A._InvoiceDesignState_build_closure24(), t7), true, t16);
B.JSArray_methods.addAll$1(t11, new A.MappedListIterable(A._setArrayType(["email"], t4), new A._InvoiceDesignState_build_closure25(), t7));
t12 = settings.getFieldsForSection$1(_s14_);
t12 = A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure26(viewModel, settings), t8, "client", t12), _null, _null, _null, false, _null, true, _null);
t8 = t7._eval$1("ListIterable.E");
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "id_number", "vat_number", "website", "email", "phone", "address1", "address2", _s17_, _s17_0, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure27(), t7), true, t8);
t14 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "id_number", "vat_number", "website", "email", "phone"], t4), new A._InvoiceDesignState_build_closure28(), t7), true, t8);
t9 = type$.MappedListIterable_of_legacy_String_and_legacy_String;
t10 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "id_number", "vat_number", "website", "phone", "address1", "address2", _s17_, _s17_0, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure22(), t9), true, t16);
B.JSArray_methods.addAll$1(t10, new A.MappedListIterable(A._setArrayType(["full_name", "email", "phone", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure23(), t9));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "vat_number", "address1", "address2", _s17_, "country", "phone"], t4), new A._InvoiceDesignState_build_closure24(), t9), true, t16);
B.JSArray_methods.addAll$1(t11, new A.MappedListIterable(A._setArrayType(["email"], t4), new A._InvoiceDesignState_build_closure25(), t9));
t13 = settings.getFieldsForSection$1(_s14_);
t13 = A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure26(viewModel, settings), t10, "client", t13), _null, _null, _null, false, _null, true, _null);
t10 = t9._eval$1("ListIterable.E");
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "id_number", "vat_number", "website", "email", "phone", "address1", "address2", _s17_, _s17_0, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure27(), t9), true, t10);
t14 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "id_number", "vat_number", "website", "email", "phone"], t4), new A._InvoiceDesignState_build_closure28(), t9), true, t10);
t15 = settings.getFieldsForSection$1("company_details");
t15 = A.FormCard$(A.MultiSelectList$(t1.get$addField(), t14, false, true, new A._InvoiceDesignState_build_closure29(viewModel, settings), t11, "company", t15), _null, _null, _null, false, _null, true, _null);
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "id_number", "vat_number", "website", "email", "phone", "address1", "address2", _s17_, _s17_0, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure30(), t7), true, t8);
t14 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["address1", "address2", _s17_, "country"], t4), new A._InvoiceDesignState_build_closure31(), t7), true, t8);
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "id_number", "vat_number", "website", "email", "phone", "address1", "address2", _s17_, _s17_0, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure30(), t9), true, t10);
t14 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["address1", "address2", _s17_, "country"], t4), new A._InvoiceDesignState_build_closure31(), t9), true, t10);
t17 = settings.getFieldsForSection$1(_s15_);
t13 = A._setArrayType([new A.ScrollableListView(t2, _null, _null, _null, false, _null), t12, t15, A.FormCard$(A.MultiSelectList$(t1.get$addField(), t14, false, true, new A._InvoiceDesignState_build_closure32(viewModel, settings), t11, "company", t17), _null, _null, _null, false, _null, true, _null)], t13);
t12 = A._setArrayType([new A.ScrollableListView(t2, _null, _null, _null, false, _null), t13, t15, A.FormCard$(A.MultiSelectList$(t1.get$addField(), t14, false, true, new A._InvoiceDesignState_build_closure32(viewModel, settings), t11, "company", t17), _null, _null, _null, false, _null, true, _null)], t12);
if (company.isModuleEnabled$1(B.EntityType_invoice)) {
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "due_date", "amount", "balance", "balance_due", "custom1", "custom2", "custom3", "custom4", "project", "vendor"], t4), new A._InvoiceDesignState_build_closure33(), t7), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["balance"], t4), new A._InvoiceDesignState_build_closure34(), t7));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "due_date", "total", "balance_due"], t4), new A._InvoiceDesignState_build_closure35(), t7), true, t8);
t12 = settings.getFieldsForSection$1(_s15_0);
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure36(viewModel, settings), t2, "invoice", t12), _null, _null, _null, false, _null, true, _null));
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "due_date", "amount", "balance", "balance_due", "custom1", "custom2", "custom3", "custom4", "project", "vendor"], t4), new A._InvoiceDesignState_build_closure33(), t9), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["balance"], t4), new A._InvoiceDesignState_build_closure34(), t9));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "due_date", "total", "balance_due"], t4), new A._InvoiceDesignState_build_closure35(), t9), true, t10);
t13 = settings.getFieldsForSection$1(_s15_0);
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure36(viewModel, settings), t2, "invoice", t13), _null, _null, _null, false, _null, true, _null));
}
if (company.isModuleEnabled$1(B.EntityType_quote)) {
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "valid_until", "total", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure37(), t7), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["balance"], t4), new A._InvoiceDesignState_build_closure38(), t7));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "valid_until", "total"], t4), new A._InvoiceDesignState_build_closure39(), t7), true, t8);
t12 = settings.getFieldsForSection$1(_s13_);
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure40(viewModel, settings), t2, "quote", t12), _null, _null, _null, false, _null, true, _null));
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "valid_until", "total", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure37(), t9), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["balance"], t4), new A._InvoiceDesignState_build_closure38(), t9));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "valid_until", "total"], t4), new A._InvoiceDesignState_build_closure39(), t9), true, t10);
t13 = settings.getFieldsForSection$1(_s13_);
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure40(viewModel, settings), t2, "quote", t13), _null, _null, _null, false, _null, true, _null));
}
if (company.isModuleEnabled$1(B.EntityType_credit)) {
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "total", "balance", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure41(), t7), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["balance"], t4), new A._InvoiceDesignState_build_closure42(), t7));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "balance", "total"], t4), new A._InvoiceDesignState_build_closure43(), t7), true, t8);
t12 = settings.getFieldsForSection$1(_s14_0);
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure44(viewModel, settings), t2, "credit", t12), _null, _null, _null, false, _null, true, _null));
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "total", "balance", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure41(), t9), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["balance"], t4), new A._InvoiceDesignState_build_closure42(), t9));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "po_number", "date", "balance", "total"], t4), new A._InvoiceDesignState_build_closure43(), t9), true, t10);
t13 = settings.getFieldsForSection$1(_s14_0);
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure44(viewModel, settings), t2, "credit", t13), _null, _null, _null, false, _null, true, _null));
}
if (company.isModuleEnabled$1(B.EntityType_vendor)) {
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "vat_number", "address1", "address2", _s17_, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure45(), t7), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["email"], t4), new A._InvoiceDesignState_build_closure46(), t7));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "vat_number", "address1", "address2", _s17_], t4), new A._InvoiceDesignState_build_closure47(), t7), true, t16);
B.JSArray_methods.addAll$1(t11, new A.MappedListIterable(A._setArrayType(["email"], t4), new A._InvoiceDesignState_build_closure48(), t7));
t12 = settings.getFieldsForSection$1(_s14_1);
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure49(viewModel, settings), t2, "vendor", t12), _null, _null, _null, false, _null, true, _null));
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "vat_number", "address1", "address2", _s17_, "country", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure45(), t9), true, t16);
B.JSArray_methods.addAll$1(t2, new A.MappedListIterable(A._setArrayType(["email"], t4), new A._InvoiceDesignState_build_closure46(), t9));
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["name", "number", "vat_number", "address1", "address2", _s17_], t4), new A._InvoiceDesignState_build_closure47(), t9), true, t16);
B.JSArray_methods.addAll$1(t11, new A.MappedListIterable(A._setArrayType(["email"], t4), new A._InvoiceDesignState_build_closure48(), t9));
t13 = settings.getFieldsForSection$1(_s14_1);
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure49(viewModel, settings), t2, "vendor", t13), _null, _null, _null, false, _null, true, _null));
}
if (company.isModuleEnabled$1(B.EntityType_purchaseOrder)) {
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "date", "due_date", "total", "balance_due", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure50(), t7), true, t16);
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "date", "due_date", "total", "balance_due"], t4), new A._InvoiceDesignState_build_closure51(), t7), true, t8);
t12 = settings.getFieldsForSection$1(_s22_);
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure52(viewModel, settings), t2, "purchase_order", t12), _null, _null, _null, false, _null, true, _null));
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "date", "due_date", "total", "balance_due", "custom1", "custom2", "custom3", "custom4"], t4), new A._InvoiceDesignState_build_closure50(), t9), true, t16);
t11 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["number", "date", "due_date", "total", "balance_due"], t4), new A._InvoiceDesignState_build_closure51(), t9), true, t10);
t13 = settings.getFieldsForSection$1(_s22_);
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure52(viewModel, settings), t2, "purchase_order", t13), _null, _null, _null, false, _null, true, _null));
}
t2 = A._setArrayType(["item", "description"], t4);
t11 = company.enableProductQuantity;
if (t11)
t2.push(_s8_);
t2.push("unit_cost");
t12 = company.numberOfItemTaxRates > 0;
if (t12)
t13 = company.numberOfItemTaxRates > 0;
if (t13)
t2.push(_s3_);
t14 = company.enableProductDiscount;
if (t14)
@ -472795,21 +472842,21 @@
t2.push("product3");
t2.push("product4");
t2.push(_s16_);
t2 = A.List_List$of(new A.MappedListIterable(t2, new A._InvoiceDesignState_build_closure53(), t7), true, t8);
t2 = A.List_List$of(new A.MappedListIterable(t2, new A._InvoiceDesignState_build_closure53(), t9), true, t10);
t15 = A._setArrayType(["item", "description", "unit_cost"], t4);
if (t11)
t15.push(_s8_);
if (t14)
t15.push(_s8_0);
if (t12)
if (t13)
t15.push(_s3_);
t15.push(_s10_);
t11 = A.List_List$of(new A.MappedListIterable(t15, new A._InvoiceDesignState_build_closure54(), t7), true, t8);
t11 = A.List_List$of(new A.MappedListIterable(t15, new A._InvoiceDesignState_build_closure54(), t9), true, t10);
t15 = settings.getFieldsForSection$1(_s15_1);
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure55(viewModel, settings), t2, "product", t15), _null, _null, _null, false, _null, true, _null));
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure55(viewModel, settings), t2, "product", t15), _null, _null, _null, false, _null, true, _null));
if (company.isModuleEnabled$1(B.EntityType_task)) {
t2 = A._setArrayType(["service", "description", "hours", "rate"], t4);
if (t12)
if (t13)
t2.push(_s3_);
if (t14)
t2.push(_s8_0);
@ -472819,22 +472866,22 @@
t2.push("task3");
t2.push("task4");
t2.push(_s16_);
t2 = A.List_List$of(new A.MappedListIterable(t2, new A._InvoiceDesignState_build_closure56(), t7), true, t8);
t2 = A.List_List$of(new A.MappedListIterable(t2, new A._InvoiceDesignState_build_closure56(), t9), true, t10);
t11 = A._setArrayType(["service", "description", "rate", "hours"], t4);
if (t14)
t11.push(_s8_0);
if (t12)
if (t13)
t11.push(_s3_);
t11.push(_s10_);
t11 = A.List_List$of(new A.MappedListIterable(t11, new A._InvoiceDesignState_build_closure57(), t7), true, t8);
t12 = settings.getFieldsForSection$1(_s12_);
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure58(viewModel, settings), t2, "task", t12), _null, _null, _null, false, _null, true, _null));
t11 = A.List_List$of(new A.MappedListIterable(t11, new A._InvoiceDesignState_build_closure57(), t9), true, t10);
t13 = settings.getFieldsForSection$1(_s12_);
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t11, false, true, new A._InvoiceDesignState_build_closure58(viewModel, settings), t2, "task", t13), _null, _null, _null, false, _null, true, _null));
}
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["subtotal", "net_subtotal", "discount", "line_taxes", "total_taxes", _s17_1, _s17_2, _s17_3, _s17_4, "paid_to_date", "total", "outstanding"], t4), new A._InvoiceDesignState_build_closure59(), t7), true, t8);
t8 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["subtotal", "discount", _s17_1, _s17_2, _s17_3, _s17_4, "total_taxes", "line_taxes", "total", "paid_to_date", "outstanding"], t4), new A._InvoiceDesignState_build_closure60(), t7), true, t8);
t7 = settings.getFieldsForSection$1("total_columns");
t13.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t8, false, true, new A._InvoiceDesignState_build_closure61(viewModel, settings), t2, "total", t7), _null, _null, _null, false, _null, true, _null));
return A.EditScaffold$(_null, t3, new A.AppTabForm(t10, t9, t13, t6, _null, _null), _null, _null, _null, false, _null, _null, new A._InvoiceDesignState_build_closure62(_this, viewModel), _null, t5);
t2 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["subtotal", "net_subtotal", "discount", "line_taxes", "total_taxes", _s17_1, _s17_2, _s17_3, _s17_4, "paid_to_date", "total", "outstanding"], t4), new A._InvoiceDesignState_build_closure59(), t9), true, t10);
t10 = A.List_List$of(new A.MappedListIterable(A._setArrayType(["subtotal", "discount", _s17_1, _s17_2, _s17_3, _s17_4, "total_taxes", "line_taxes", "total", "paid_to_date", "outstanding"], t4), new A._InvoiceDesignState_build_closure60(), t9), true, t10);
t9 = settings.getFieldsForSection$1("total_columns");
t12.push(A.FormCard$(A.MultiSelectList$(t1.get$addField(), t10, false, true, new A._InvoiceDesignState_build_closure61(viewModel, settings), t2, "total", t9), _null, _null, _null, false, _null, true, _null));
return A.EditScaffold$(_null, t3, new A.AppTabForm(t8, t7, t12, t6, _null, _null), _null, _null, _null, false, _null, _null, new A._InvoiceDesignState_build_closure62(_this, viewModel), _null, t5);
}
};
A._InvoiceDesignState_initState_closure.prototype = {
@ -474869,7 +474916,7 @@
t7.push(new A.SettingsListTile("import_export", _this._widget.viewModel, _null));
if (showAll)
t7.push(new A.SettingsListTile(_s15_, _this._widget.viewModel, _null));
if (showAll && t4[t2].userCompany.isOwner)
if (showAll && t4[t2].userCompany.isAdmin)
t7.push(new A.SettingsListTile("account_management", _this._widget.viewModel, _null));
t2 = A.Theme_of(context).backgroundColor;
t1 = J.$index$asx(t8.$index(0, t1), "advanced_settings");