mark sent for partial
This commit is contained in:
parent
198126c13e
commit
6d0f4c49be
|
|
@ -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>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue