mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
wip
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user