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
ac83e9db4c
commit
ab68e962da
36
public/main.profile.dart.js
vendored
36
public/main.profile.dart.js
vendored
@ -268430,7 +268430,7 @@
|
|||||||
return this.getActions$4$client$includeEdit$multiselect$userCompany(null, false, false, userCompany);
|
return this.getActions$4$client$includeEdit$multiselect$userCompany(null, false, false, userCompany);
|
||||||
},
|
},
|
||||||
compareTo$9: function(_, expense, sortField, sortAscending, clientMap, userMap, vendorMap, invoiceMap, expenseCategoryMap, staticState) {
|
compareTo$9: function(_, expense, sortField, sortAscending, clientMap, userMap, vendorMap, invoiceMap, expenseCategoryMap, staticState) {
|
||||||
var response, t1, t2, t3, userA, userB, clientA, clientB, vendorA, vendorB, stateA, stateB, currencyMap, _null = null,
|
var response, t1, t2, t3, userA, userB, clientA, clientB, vendorA, vendorB, stateA, stateB, currencyMap, currencyA, currencyB, categoryA, categoryB, invoiceA, invoiceB, _null = null,
|
||||||
_s8_ = "archived",
|
_s8_ = "archived",
|
||||||
expenseA = sortAscending ? this : expense,
|
expenseA = sortAscending ? this : expense,
|
||||||
expenseB = sortAscending ? expense : this;
|
expenseB = sortAscending ? expense : this;
|
||||||
@ -268551,14 +268551,26 @@
|
|||||||
t1 = expenseA.currencyId;
|
t1 = expenseA.currencyId;
|
||||||
t2 = currencyMap._map$_map;
|
t2 = currencyMap._map$_map;
|
||||||
t3 = J.getInterceptor$asx(t2);
|
t3 = J.getInterceptor$asx(t2);
|
||||||
response = C.JSString_methods.compareTo$1(t3.$index(t2, t1).name, t3.$index(t2, expenseB.currencyId).name);
|
currencyA = t3.$index(t2, t1);
|
||||||
|
if (currencyA == null)
|
||||||
|
currencyA = O.CurrencyEntity_CurrencyEntity();
|
||||||
|
currencyB = t3.$index(t2, expenseB.currencyId);
|
||||||
|
if (currencyB == null)
|
||||||
|
currencyB = O.CurrencyEntity_CurrencyEntity();
|
||||||
|
response = C.JSString_methods.compareTo$1(currencyA.name.toLowerCase(), currencyB.name.toLowerCase());
|
||||||
break;
|
break;
|
||||||
case "category_id":
|
case "category_id":
|
||||||
case "category":
|
case "category":
|
||||||
t1 = expenseA.categoryId;
|
t1 = expenseA.categoryId;
|
||||||
t2 = expenseCategoryMap._map$_map;
|
t2 = expenseCategoryMap._map$_map;
|
||||||
t3 = J.getInterceptor$asx(t2);
|
t3 = J.getInterceptor$asx(t2);
|
||||||
response = C.JSString_methods.compareTo$1(t3.$index(t2, t1).name, t3.$index(t2, expenseB.categoryId).name);
|
categoryA = t3.$index(t2, t1);
|
||||||
|
if (categoryA == null)
|
||||||
|
categoryA = R.ExpenseCategoryEntity_ExpenseCategoryEntity(_null, _null);
|
||||||
|
categoryB = t3.$index(t2, expenseB.categoryId);
|
||||||
|
if (categoryB == null)
|
||||||
|
categoryB = R.ExpenseCategoryEntity_ExpenseCategoryEntity(_null, _null);
|
||||||
|
response = C.JSString_methods.compareTo$1(categoryA.name.toLowerCase(), categoryB.name.toLowerCase());
|
||||||
break;
|
break;
|
||||||
case "exchange_rate":
|
case "exchange_rate":
|
||||||
response = C.JSNumber_methods.compareTo$1(expenseA.exchangeRate, expenseB.exchangeRate);
|
response = C.JSNumber_methods.compareTo$1(expenseA.exchangeRate, expenseB.exchangeRate);
|
||||||
@ -268568,7 +268580,13 @@
|
|||||||
t1 = expenseA.invoiceCurrencyId;
|
t1 = expenseA.invoiceCurrencyId;
|
||||||
t2 = currencyMap._map$_map;
|
t2 = currencyMap._map$_map;
|
||||||
t3 = J.getInterceptor$asx(t2);
|
t3 = J.getInterceptor$asx(t2);
|
||||||
response = C.JSString_methods.compareTo$1(t3.$index(t2, t1).name, t3.$index(t2, expenseB.invoiceCurrencyId).name);
|
currencyA = t3.$index(t2, t1);
|
||||||
|
if (currencyA == null)
|
||||||
|
currencyA = O.CurrencyEntity_CurrencyEntity();
|
||||||
|
currencyB = t3.$index(t2, expenseB.invoiceCurrencyId);
|
||||||
|
if (currencyB == null)
|
||||||
|
currencyB = O.CurrencyEntity_CurrencyEntity();
|
||||||
|
response = C.JSString_methods.compareTo$1(currencyA.name.toLowerCase(), currencyB.name.toLowerCase());
|
||||||
break;
|
break;
|
||||||
case "tax_name1":
|
case "tax_name1":
|
||||||
response = C.JSString_methods.compareTo$1(expenseA.taxName1, expenseB.taxName1);
|
response = C.JSString_methods.compareTo$1(expenseA.taxName1, expenseB.taxName1);
|
||||||
@ -268586,9 +268604,13 @@
|
|||||||
t1 = expenseA.invoiceId;
|
t1 = expenseA.invoiceId;
|
||||||
t2 = invoiceMap._map$_map;
|
t2 = invoiceMap._map$_map;
|
||||||
t3 = J.getInterceptor$asx(t2);
|
t3 = J.getInterceptor$asx(t2);
|
||||||
t1 = t3.$index(t2, t1).number;
|
invoiceA = t3.$index(t2, t1);
|
||||||
t2 = t3.$index(t2, expenseB.invoiceId).number;
|
if (invoiceA == null)
|
||||||
response = C.JSString_methods.compareTo$1(t1, t2);
|
invoiceA = Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null);
|
||||||
|
invoiceB = t3.$index(t2, expenseB.invoiceId);
|
||||||
|
if (invoiceB == null)
|
||||||
|
invoiceB = Q.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null);
|
||||||
|
response = C.JSString_methods.compareTo$1(invoiceA.number, invoiceB.number);
|
||||||
break;
|
break;
|
||||||
case "custom1":
|
case "custom1":
|
||||||
response = C.JSString_methods.compareTo$1(expenseA.customValue1, expenseB.customValue1);
|
response = C.JSString_methods.compareTo$1(expenseA.customValue1, expenseB.customValue1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user