colors
This commit is contained in:
parent
731ac9f5d9
commit
13f931978a
|
|
@ -192,9 +192,9 @@ function renderInvoiceRow(invoice) {
|
||||||
} else if (overdue) {
|
} else if (overdue) {
|
||||||
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-red-100 text-red-800" title="${daysSince(invoice.invoice_date)} days">Overdue</span>`;
|
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-red-100 text-red-800" title="${daysSince(invoice.invoice_date)} days">Overdue</span>`;
|
||||||
} else if (hasQbo && invoice.email_status === 'sent') {
|
} else if (hasQbo && invoice.email_status === 'sent') {
|
||||||
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-green-100 text-green-800">Sent</span>`;
|
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-amber-500 text-green-800">Sent</span>`;
|
||||||
} else if (hasQbo) {
|
} else if (hasQbo) {
|
||||||
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-sky-100 text-sky-800">Open</span>`;
|
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-purple-500 text-sky-800">Open</span>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send Date
|
// Send Date
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue