feat: tweak mail notifications content

This commit is contained in:
Ahmed Bouhuolia
2023-12-24 23:41:04 +02:00
parent 6356cb5e63
commit 657400c671
6 changed files with 46 additions and 36 deletions

View File

@@ -87,9 +87,9 @@ export class SendPaymentReceiveMailNotification {
return formatSmsMessage(text, {
CompanyName: organization.metadata.name,
CustomerName: payment.customer.displayName,
PaymentNumber: payment.invoiceNo,
PaymentDate: payment.dueAmountFormatted,
PaymentAmount: payment.dueAmountFormatted,
PaymentNumber: payment.payment_receive_no,
PaymentDate: payment.formattedPaymentDate,
PaymentAmount: payment.formattedAmount,
});
};