Skip to content

Commit

Permalink
fix: ORV2-1345 Fix resend fax functionality (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
praju-aot authored Jul 18, 2024
1 parent a73c702 commit 146bf81
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -732,10 +732,13 @@ export class PermitService {
NotificationType.EMAIL_RECEIPT,
)
) {
const faxEmailList = createNotificationDto.fax?.map((fax) =>
generateFaxEmail(fax),
);
notificationDocument = {
templateName: NotificationTemplate.PAYMENT_RECEIPT,
to: validateEmailandFaxList(createNotificationDto.to),
fax: validateEmailandFaxList(createNotificationDto.fax),
fax: validateEmailandFaxList(faxEmailList),
subject: `onRouteBC Permit Receipt - ${receipt?.receiptNumber}`,
documentIds: [receipt?.receiptDocumentId],
};
Expand Down

0 comments on commit 146bf81

Please sign in to comment.