badge
This commit is contained in:
parent
73b869e2d9
commit
503dd4051f
|
|
@ -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>`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue