This commit is contained in:
Andreas Knuth 2026-02-24 18:26:39 -06:00
parent 0750fd86b4
commit a8b82783b1
1 changed files with 2 additions and 2 deletions

View File

@ -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-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) { } 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 // Send Date