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