remove commented-out subtotal and shipping rows from invoice email template

This commit is contained in:
Alaguraj0361 2026-05-20 13:01:08 +05:30
parent 59bc47f7ad
commit d848ac1462

View File

@ -158,14 +158,6 @@ const sendEmailWithAttachment = async (toEmail, orderData, pdfBuffer) => {
<tr> <tr>
<td style="padding: 20px 0 30px 0;"> <td style="padding: 20px 0 30px 0;">
<table border="0" cellpadding="0" cellspacing="0" align="right" width="240" style="width: 240px;"> <table border="0" cellpadding="0" cellspacing="0" align="right" width="240" style="width: 240px;">
// <tr>
// <td style="padding: 4px 0; font-family: Helvetica, Arial, sans-serif; font-size: 13px; color: #64748b;">Subtotal</td>
// <td style="padding: 4px 0; text-align: right; font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-weight: bold; color: #1e293b;">${currencySymbol}${subtotal}</td>
// </tr>
// <tr>
// <td style="padding: 4px 0; font-family: Helvetica, Arial, sans-serif; font-size: 13px; color: #64748b;">Shipping</td>
// <td style="padding: 4px 0; text-align: right; font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-weight: bold; color: #1e293b;">${currencySymbol}${shipping}</td>
// </tr>
${taxRow} ${taxRow}
<tr style="border-top: 1px solid #e2e8f0;"> <tr style="border-top: 1px solid #e2e8f0;">
<td style="padding: 15px 0 0 0; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; color: #475569;">Total</td> <td style="padding: 15px 0 0 0; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; color: #475569;">Total</td>