Admin Portal - Profile

This commit is contained in:
hillelcoren 2021-09-14 16:11:20 +00:00
parent 7dfb3a37fb
commit 29857fcec5

View File

@ -310161,13 +310161,9 @@
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = invoice.archivedAt; if (!(invoice.get$isArchived() || invoice.isDeleted)) {
if (t1 === 0) {
t1 = invoice.statusId; t1 = invoice.statusId;
if (!(t1 === "5" || t1 === "6")) t1 = t1 === "5" || t1 === "6" || client.get$isArchived() || client.isDeleted;
t1 = client.archivedAt !== 0;
else
t1 = true;
} else } else
t1 = true; t1 = true;
if (!t1) if (!t1)
@ -310194,13 +310190,9 @@
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = invoice.archivedAt; if (!(invoice.get$isArchived() || invoice.isDeleted)) {
if (t1 === 0) {
t1 = invoice.statusId; t1 = invoice.statusId;
if (!(t1 === "5" || t1 === "6")) t1 = t1 === "5" || t1 === "6" || client.get$isArchived() || client.isDeleted;
t1 = client.archivedAt !== 0;
else
t1 = true;
} else } else
t1 = true; t1 = true;
if (!t1) if (!t1)
@ -310223,19 +310215,15 @@
}; };
A._recentPayments_closure.prototype = { A._recentPayments_closure.prototype = {
call$2: function(index, payment) { call$2: function(index, payment) {
var t2, var t1 = payment.clientId,
t1 = payment.clientId,
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = payment.archivedAt === 0; if (!(payment.get$isArchived() || payment.isDeleted || client.get$isArchived() || client.isDeleted)) {
if (t1) t1 = payment.archivedAt;
t2 = client.archivedAt !== 0; if (t1 === 0 && payment.createdAt > this.threeMonthsAgo)
else
t2 = true;
if (!t2)
if (t1 && payment.createdAt > this.threeMonthsAgo)
this.payments.push(payment); this.payments.push(payment);
}
}, },
$signature: 187 $signature: 187
}; };
@ -310262,12 +310250,7 @@
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = quote.archivedAt; if (!(quote.get$isArchived() || quote.isDeleted || client.get$isArchived() || client.isDeleted))
if (t1 === 0)
t1 = client.archivedAt !== 0;
else
t1 = true;
if (!t1)
if (quote.get$isUpcoming()) if (quote.get$isUpcoming())
this.quotes.push(quote); this.quotes.push(quote);
}, },
@ -310291,12 +310274,7 @@
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = quote.archivedAt; if (!(quote.get$isArchived() || quote.isDeleted || client.get$isArchived() || client.isDeleted))
if (t1 === 0)
t1 = client.archivedAt !== 0;
else
t1 = true;
if (!t1)
if (quote.get$isPastDue()) if (quote.get$isPastDue())
this.quotes.push(quote); this.quotes.push(quote);
}, },
@ -310320,12 +310298,7 @@
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = task.archivedAt; if (!(task.get$isArchived() || task.isDeleted || client.get$isArchived() || client.isDeleted))
if (t1 === 0)
t1 = client.archivedAt !== 0;
else
t1 = true;
if (!t1)
if (task.get$isRunning()) if (task.get$isRunning())
this.tasks.push(task); this.tasks.push(task);
}, },
@ -310354,12 +310327,7 @@
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = task.archivedAt; if (!(task.get$isArchived() || task.isDeleted || client.get$isArchived() || client.isDeleted))
if (t1 === 0)
t1 = client.archivedAt !== 0;
else
t1 = true;
if (!t1)
if (!task.get$isRunning()) if (!task.get$isRunning())
this.tasks.push(task); this.tasks.push(task);
}, },
@ -310388,12 +310356,7 @@
client = J.$index$asx(this.clientMap._map$_map, t1); client = J.$index$asx(this.clientMap._map$_map, t1);
if (client == null) if (client == null)
client = T.ClientEntity_ClientEntity(t1, null, null); client = T.ClientEntity_ClientEntity(t1, null, null);
t1 = expense.archivedAt; if (!(expense.get$isArchived() || expense.isDeleted || client.get$isArchived() || client.isDeleted))
if (t1 === 0)
t1 = client.archivedAt !== 0;
else
t1 = true;
if (!t1)
this.expenses.push(expense); this.expenses.push(expense);
}, },
$signature: 98 $signature: 98