Merge branch 'main' into refactoring
This commit is contained in:
commit
27ecafea5f
|
|
@ -252,7 +252,7 @@ function renderInvoiceRow(invoice) {
|
|||
|
||||
// Mark Sent button (right side) — only when open, not paid/partial
|
||||
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>`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue