update: change the danak services fetch to another route and accept category id "

query for that
This commit is contained in:
mahyargdz
2025-03-02 15:19:55 +03:30
parent af9f365bc7
commit 4d0344c376
9 changed files with 99 additions and 25 deletions
@@ -199,6 +199,7 @@ export class InvoicesService {
dueDate,
items: invoiceItems,
});
await queryRunner.manager.save(Invoice, invoice);
await this.notificationsService.createInvoiceCreationNotification(
user.id,
@@ -214,7 +215,6 @@ export class InvoicesService {
queryRunner,
);
//
await queryRunner.manager.save(Invoice, invoice);
return invoice;
}