mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
wip
This commit is contained in:
@@ -27,7 +27,10 @@ export class ValidateBulkDeleteSaleInvoicesService {
|
||||
|
||||
for (const saleInvoiceId of saleInvoiceIds) {
|
||||
try {
|
||||
await this.deleteSaleInvoiceService.deleteSaleInvoice(saleInvoiceId);
|
||||
await this.deleteSaleInvoiceService.deleteSaleInvoice(
|
||||
saleInvoiceId,
|
||||
trx,
|
||||
);
|
||||
deletableIds.push(saleInvoiceId);
|
||||
} catch (error) {
|
||||
nonDeletableIds.push(saleInvoiceId);
|
||||
|
||||
Reference in New Issue
Block a user