fix: change default invoice mail message

This commit is contained in:
Ahmed Bouhuolia
2024-11-03 20:36:52 +02:00
parent 48795748d8
commit f2fcc3a649
2 changed files with 101 additions and 101 deletions

View File

@@ -1,20 +1,19 @@
import config from '@/config'; import config from '@/config';
export const DEFAULT_INVOICE_MAIL_SUBJECT = export const DEFAULT_INVOICE_MAIL_SUBJECT =
'Invoice {Invoice Number} from {Company Name}'; 'Invoice {Invoice Number} from {Company Name} for {Customer Name}';
export const DEFAULT_INVOICE_MAIL_CONTENT = ` export const DEFAULT_INVOICE_MAIL_CONTENT = `Hi {Customer Name},
<p>Dear {Customer Name}</p>
<p>Thank you for your business, You can view or print your invoice from attachements.</p>
<p>
Invoice <strong>#{Invoice Number}</strong><br />
Due Date : <strong>{Invoice Due Date}</strong><br />
Amount : <strong>{Invoice Amount}</strong></br />
</p>
<p> Here's invoice # {Invoice Number} for {Invoice Amount}
<i>Regards</i><br />
<i>{Company Name}</i> The amount outstanding of {Invoice Due Amount} is due on {Invoice Due Date}.
</p>
From your online payment page you can print a PDF or view your outstanding bills.
If you have any questions, please let us know.
Thanks,
{Company Name}
`; `;
export const DEFAULT_INVOICE_REMINDER_MAIL_SUBJECT = export const DEFAULT_INVOICE_REMINDER_MAIL_SUBJECT =

View File

@@ -274,6 +274,7 @@ const invoiceMessageStyle: CSSProperties = {
whiteSpace: 'pre-line', whiteSpace: 'pre-line',
color: '#252A31', color: '#252A31',
margin: '0 0 20px 0', margin: '0 0 20px 0',
lineHeight: '20px',
}; };
const dueAmounLineRowStyle: CSSProperties = { const dueAmounLineRowStyle: CSSProperties = {