This commit is contained in:
Andreas Knuth 2026-02-24 18:15:22 -06:00
parent b7db400e53
commit 731ac9f5d9
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ function renderInvoiceRow(invoice) {
// Mark Sent button (right side) — only when open, not paid/partial // Mark Sent button (right side) — only when open, not paid/partial
let sendBtn = ''; let sendBtn = '';
if (hasQbo && !paid && !partial && invoice.email_status !== 'sent') { if (hasQbo && !paid && !partial && !overdue && invoice.email_status !== 'sent') {
sendBtn = `<button onclick="window.invoiceView.setEmailStatus(${invoice.id}, 'sent')" class="text-indigo-600 hover:text-indigo-800 text-xs font-medium" title="Mark as sent to customer">📤 Mark Sent</button>`; sendBtn = `<button onclick="window.invoiceView.setEmailStatus(${invoice.id}, 'sent')" class="text-indigo-600 hover:text-indigo-800 text-xs font-medium" title="Mark as sent to customer">📤 Mark Sent</button>`;
} }