This commit is contained in:
Ahmed Bouhuolia
2025-11-19 23:42:06 +02:00
parent 5eafd23bf8
commit d90b6ffbe7
52 changed files with 161 additions and 261 deletions

View File

@@ -29,7 +29,10 @@ export class ValidateBulkDeleteSaleReceiptsService {
for (const saleReceiptId of saleReceiptIds) {
try {
await this.deleteSaleReceiptService.deleteSaleReceipt(saleReceiptId);
await this.deleteSaleReceiptService.deleteSaleReceipt(
saleReceiptId,
trx,
);
deletableIds.push(saleReceiptId);
} catch (error) {
nonDeletableIds.push(saleReceiptId);