This commit is contained in:
Andreas Knuth 2026-02-24 17:39:23 -06:00
parent 73b869e2d9
commit 503dd4051f
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ function renderInvoiceRow(invoice) {
if (hasQbo && !paid) { if (hasQbo && !paid) {
const isSent = invoice.email_status === 'sent'; const isSent = invoice.email_status === 'sent';
if (isSent) { if (isSent) {
sendBtn = `<button onclick="window.invoiceView.setEmailStatus(${invoice.id}, 'open')" class="text-gray-400 hover:text-gray-600 text-xs" title="Mark as not sent">✉️ Sent</button>`; sendBtn = `<span class="text-green-600 text-xs" title="Marked as sent">✉️ Sent</span>`;
} else { } else {
sendBtn = `<button onclick="window.invoiceView.setEmailStatus(${invoice.id}, 'sent')" class="text-indigo-600 hover:text-indigo-800 text-xs" 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" title="Mark as sent to customer">📤 Mark Sent</button>`;
} }