mark sent for partial

This commit is contained in:
Andreas Knuth 2026-03-02 10:53:45 -06:00
parent 198126c13e
commit 6d0f4c49be
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,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 && !overdue && invoice.email_status !== 'sent') { if (hasQbo && !paid && !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>`;
} }