This commit is contained in:
2026-03-19 17:13:33 -05:00
parent 229e658831
commit fb09a0b7e1

View File

@@ -135,10 +135,10 @@ function renderModalContent() {
} else {
paymentText = 'Our terms are Net 30.';
}
const customerName = currentInvoice.customer_name || 'Valued Customer';
const defaultHtml = `
<p>Good afternoon,</p>
<p>Attached is invoice <strong>#${invoiceNum}</strong> for service performed at your location. The total amount due is <strong>$${totalDue}</strong>. ${paymentText}</p>
<p>Dear ${customerName},</p>
<p>Attached is invoice <strong>#${invoiceNum}</strong> for service performed at your location. The total amount due is <strong>$${totalDue}</strong>, ${paymentText}</p>
<p>Please pay at your earliest convenience. We appreciate your continued business.</p>
<p>If you have any questions about the invoice, feel free to reply to this email.</p>
<p>Best regards,</p>