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
c62049378f
commit
c8d18df2e3
8
public/main.profile.dart.js
vendored
8
public/main.profile.dart.js
vendored
@ -444569,19 +444569,21 @@
|
|||||||
};
|
};
|
||||||
A.InvoiceEditFooter.prototype = {
|
A.InvoiceEditFooter.prototype = {
|
||||||
build$1(context) {
|
build$1(context) {
|
||||||
var t3, total, useSidebarEditor, showLayoutToggle, title, t4, t5, _null = null,
|
var t3, t4, t5, total, useSidebarEditor, showLayoutToggle, title, _null = null,
|
||||||
t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
|
t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
|
||||||
store = A.StoreProvider_of(context, type$.legacy_AppState),
|
store = A.StoreProvider_of(context, type$.legacy_AppState),
|
||||||
t2 = store.__Store__state_A;
|
t2 = store.__Store__state_A;
|
||||||
t2 === $ && A.throwUnnamedLateFieldNI();
|
t2 === $ && A.throwUnnamedLateFieldNI();
|
||||||
t3 = this.invoice;
|
t3 = this.invoice;
|
||||||
total = A.formatNumber(t3.calculateTotal$1$precision(A.precisionForInvoice(t2, t3)), context, t3.clientId, _null, B.FormatNumberType_0, true, _null, false);
|
t4 = t3.calculateTotal$1$precision(A.precisionForInvoice(t2, t3));
|
||||||
|
t5 = t3.entityType;
|
||||||
|
total = A.formatNumber(t4, context, t5 === B.EntityType_purchaseOrder ? _null : t3.clientId, _null, B.FormatNumberType_0, true, _null, false);
|
||||||
t2 = t2.prefState;
|
t2 = t2.prefState;
|
||||||
useSidebarEditor = t2.useSidebarEditor._map$_map.$index(0, B.EntityType_invoice);
|
useSidebarEditor = t2.useSidebarEditor._map$_map.$index(0, B.EntityType_invoice);
|
||||||
if (useSidebarEditor == null)
|
if (useSidebarEditor == null)
|
||||||
useSidebarEditor = false;
|
useSidebarEditor = false;
|
||||||
showLayoutToggle = A.getLayout(context) === B.AppLayout_desktop;
|
showLayoutToggle = A.getLayout(context) === B.AppLayout_desktop;
|
||||||
title = A.S(t1.lookup$1(A.toSnakeCase(t3.entityType.name) + "_total")) + ": " + A.S(total);
|
title = A.S(t1.lookup$1(A.toSnakeCase(t5.name) + "_total")) + ": " + A.S(total);
|
||||||
t4 = A.Theme_of(context).cardColor;
|
t4 = A.Theme_of(context).cardColor;
|
||||||
t5 = A._setArrayType([], type$.JSArray_legacy_Widget);
|
t5 = A._setArrayType([], type$.JSArray_legacy_Widget);
|
||||||
if (showLayoutToggle) {
|
if (showLayoutToggle) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user