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

@@ -61,11 +61,10 @@ export class SendSaleEstimateMail {
);
return formatSmsMessage(text, {
CustomerName: estimate.customer.displayName,
EstimateNumber: estimate.estimateNo,
EstimateDate: estimate.estimateDateFormatted,
EstimateAmount: estimate.totalFormatted,
EstimateDueDate: estimate.dueDateFormatted,
EstimateDueAmount: estimate.dueAmountFormatted,
EstimateNumber: estimate.estimateNumber,
EstimateDate: estimate.formattedEstimateDate,
EstimateAmount: estimate.formattedAmount,
EstimateExpirationDate: estimate.formattedExpirationDate,
});
};