Admin Portal - Profile

This commit is contained in:
hillelcoren 2021-11-09 08:25:23 +00:00
parent 57e82809f9
commit dcceba909a

View File

@ -280565,26 +280565,30 @@
return t1; return t1;
}, },
get$calculatedStatusId: function() { get$calculatedStatusId: function() {
var t1, t2, _this = this; var _this = this,
if (_this.get$isPastDue()) { t1 = type$.JSArray_legacy_EntityType,
t1 = _this.statusId; t2 = _this.entityType;
t1 = !(t1 === "5" || t1 === "6"); if (C.JSArray_methods.contains$1(H.setRuntimeTypeInfo([C.EntityType_recurringInvoice], t1), t2)) {
} else if (C.JSArray_methods.contains$1(H.setRuntimeTypeInfo([C.EntityType_recurringInvoice], t1), t2))
t1 = false; if (_this.statusId === "2")
if (t1) t1 = _this.lastSentDate.length === 0;
return "-1"; else
t1 = _this.entityType; t1 = false;
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 else
t2 = false; t1 = false;
else if (t1)
t2 = false; return "-1";
if (t2) } else {
return "-1"; if (_this.get$isPastDue()) {
if (_this.get$isViewed() && _this.get$isUnpaid()) t1 = _this.statusId;
return t1 === C.EntityType_invoice ? "-3" : "-2"; t1 = !(t1 === "5" || t1 === "6");
} else
t1 = false;
if (t1)
return "-1";
if (_this.get$isViewed() && _this.get$isUnpaid())
return t2 === C.EntityType_invoice ? "-3" : "-2";
}
return _this.statusId; return _this.statusId;
}, },
get$isPastDue: function() { get$isPastDue: function() {