This commit is contained in:
Andreas Knuth 2026-02-24 18:22:03 -06:00
parent 731ac9f5d9
commit 13f931978a
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-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