feat(server): contact mail notification service

This commit is contained in:
Ahmed Bouhuolia
2023-12-29 17:35:34 +02:00
parent 2a85fe2f3c
commit 0d15c16d40
17 changed files with 441 additions and 310 deletions

View File

@@ -191,12 +191,12 @@ export class SaleReceiptApplication {
/**
* Retrieves the default mail options of the given sale receipt.
* @param {number} tenantId
* @param {number} saleReceiptId
* @returns
* @param {number} tenantId
* @param {number} saleReceiptId
* @returns
*/
public getSaleReceiptMail(tenantId: number, saleReceiptId: number) {
return this.saleReceiptNotifyByMailService.getDefaultMailOpts(
return this.saleReceiptNotifyByMailService.getMailOptions(
tenantId,
saleReceiptId
);