fix issue

This commit is contained in:
yaschalew
2026-07-02 11:28:56 +03:00
parent 8b8a993953
commit 54b2114e7f
5 changed files with 73 additions and 6 deletions

View File

@@ -344,6 +344,7 @@ export class BillingService {
input: GenerateInvoiceInput,
manager?: EntityManager,
): Promise<Invoice & { lines: InvoiceLine[] }> {
console.log("oooooooooo", input);
const run = (mg: EntityManager) => this.createInvoice(input, mg);
return manager ? run(manager) : this.dataSource.transaction(run);
}