Modified PTP Amount Format

This commit is contained in:
Ashish Deo
2023-10-23 14:43:57 +05:30
parent f4a6e7c917
commit ab3a2cc8a5
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ _${sanitizeString(dateFormat(new Date(feedbackItem?.createdAt), 'DD MMM, YYYY |
(amount) => amount.questionName === 'Amount Promised'
);
if (ptpAmount.length > 0) {
message += '*PTP Amount*: ₹' + ptpAmount[0].inputAmount + '\n\n';
message += '*PTP Amount*: ₹' + getSanitizedCommaAmount(ptpAmount[0].inputAmount) + '\n\n';
}
message += '*Remarks*: ';

View File

@@ -120,7 +120,7 @@ _${sanitizeString(dateFormat(new Date(feedbackItem?.createdAt), 'DD MMM, YYYY |
(amount) => amount.questionName === 'Amount Promised'
);
if (ptpAmount.length > 0) {
message += '*PTP Amount*: ₹' + ptpAmount[0].inputAmount + '\n\n';
message += '*PTP Amount*: ₹' + getSanitizedCommaAmount(ptpAmount[0].inputAmount) + '\n\n';
}
message += '*Remarks*: ';