feat: receipt mail preview

This commit is contained in:
Ahmed Bouhuolia
2024-11-26 11:36:08 +02:00
parent 831fb9180c
commit 7b5f0d3930
7 changed files with 351 additions and 75 deletions

View File

@@ -524,7 +524,7 @@ export default class SalesReceiptsController extends BaseController {
const { id: receiptId } = req.params;
try {
const data = await this.saleReceiptsApplication.getSaleReceiptMail(
const data = await this.saleReceiptsApplication.getSaleReceiptMailState(
tenantId,
receiptId
);