mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Admin Portal - Profile
This commit is contained in:
parent
57e82809f9
commit
dcceba909a
28
public/main.profile.dart.js
vendored
28
public/main.profile.dart.js
vendored
@ -280565,7 +280565,20 @@
|
||||
return t1;
|
||||
},
|
||||
get$calculatedStatusId: function() {
|
||||
var t1, t2, _this = this;
|
||||
var _this = this,
|
||||
t1 = type$.JSArray_legacy_EntityType,
|
||||
t2 = _this.entityType;
|
||||
if (C.JSArray_methods.contains$1(H.setRuntimeTypeInfo([C.EntityType_recurringInvoice], t1), t2)) {
|
||||
if (C.JSArray_methods.contains$1(H.setRuntimeTypeInfo([C.EntityType_recurringInvoice], t1), t2))
|
||||
if (_this.statusId === "2")
|
||||
t1 = _this.lastSentDate.length === 0;
|
||||
else
|
||||
t1 = false;
|
||||
else
|
||||
t1 = false;
|
||||
if (t1)
|
||||
return "-1";
|
||||
} else {
|
||||
if (_this.get$isPastDue()) {
|
||||
t1 = _this.statusId;
|
||||
t1 = !(t1 === "5" || t1 === "6");
|
||||
@ -280573,18 +280586,9 @@
|
||||
t1 = false;
|
||||
if (t1)
|
||||
return "-1";
|
||||
t1 = _this.entityType;
|
||||
if (C.JSArray_methods.contains$1(H.setRuntimeTypeInfo([C.EntityType_recurringInvoice], type$.JSArray_legacy_EntityType), t1))
|
||||
if (_this.statusId === "2")
|
||||
t2 = _this.lastSentDate.length === 0;
|
||||
else
|
||||
t2 = false;
|
||||
else
|
||||
t2 = false;
|
||||
if (t2)
|
||||
return "-1";
|
||||
if (_this.get$isViewed() && _this.get$isUnpaid())
|
||||
return t1 === C.EntityType_invoice ? "-3" : "-2";
|
||||
return t2 === C.EntityType_invoice ? "-3" : "-2";
|
||||
}
|
||||
return _this.statusId;
|
||||
},
|
||||
get$isPastDue: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user