colors
This commit is contained in:
parent
0750fd86b4
commit
a8b82783b1
|
|
@ -192,9 +192,9 @@ function renderInvoiceRow(invoice) {
|
|||
} 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>`;
|
||||
} else if (hasQbo && invoice.email_status === 'sent') {
|
||||
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-amber-300 text-amber-800">Sent</span>`;
|
||||
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-teal-300 text-teal-800">Sent</span>`;
|
||||
} else if (hasQbo) {
|
||||
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-purple-300 text-purple-800">Open</span>`;
|
||||
statusBadge = `<span class="inline-block px-2 py-0.5 text-xs font-semibold rounded-full bg-rose-300 text-rose-800">Open</span>`;
|
||||
}
|
||||
|
||||
// Send Date
|
||||
|
|
|
|||
Loading…
Reference in New Issue