template fix

This commit is contained in:
Andreas Knuth 2026-02-27 11:00:29 -06:00
parent 5c86bd56aa
commit 10380f26c4
1 changed files with 2 additions and 2 deletions

View File

@ -1375,7 +1375,7 @@ app.get('/api/invoices/:id/pdf', async (req, res) => {
itemsHTML += ` itemsHTML += `
<tr class="footer-row"> <tr class="footer-row">
<td colspan="3" class="downpayment-label" style="font-size: 12px; color: #059669;">Downpayment:</td> <td colspan="3" class="downpayment-label" style="font-size: 12px; color: #059669;">Downpayment:</td>
<td class="total-amount" style="font-size: 12px; color: #059669;">-$${amountPaid.toFixed(2)}</td> <td class="total-amount" style="color: #059669;">-$${amountPaid.toFixed(2)}</td>
</tr> </tr>
<tr class="footer-row"> <tr class="footer-row">
<td colspan="3" class="total-label" style="font-weight: bold; font-size: 14px; border-top: 2px solid #333; padding-top: 8px;">BALANCE DUE:</td> <td colspan="3" class="total-label" style="font-weight: bold; font-size: 14px; border-top: 2px solid #333; padding-top: 8px;">BALANCE DUE:</td>
@ -1618,7 +1618,7 @@ app.get('/api/invoices/:id/html', async (req, res) => {
itemsHTML += ` itemsHTML += `
<tr class="footer-row"> <tr class="footer-row">
<td colspan="3" class="downpayment-label" style="font-size: 12px; color: #059669;">Downpayment:</td> <td colspan="3" class="downpayment-label" style="font-size: 12px; color: #059669;">Downpayment:</td>
<td class="total-amount" style="font-size: 12px; color: #059669;">-$${amountPaid.toFixed(2)}</td> <td class="total-amount" style="color: #059669;">-$${amountPaid.toFixed(2)}</td>
</tr> </tr>
<tr class="footer-row"> <tr class="footer-row">
<td colspan="3" class="total-label" style="font-weight: bold; font-size: 14px; border-top: 2px solid #333; padding-top: 8px;">BALANCE DUE:</td> <td colspan="3" class="total-label" style="font-weight: bold; font-size: 14px; border-top: 2px solid #333; padding-top: 8px;">BALANCE DUE:</td>