This commit is contained in:
David Arranz 2026-03-23 15:36:11 +01:00
parent 132408ac23
commit 91212e8e90

View File

@ -153,6 +153,7 @@ export class ProformaRepository
where: {
id: id.toString(),
company_id: companyId.toString(),
is_proforma: true,
...(options.where ?? {}),
},
transaction,
@ -277,7 +278,7 @@ export class ProformaRepository
where: {
...(options.where ?? {}),
id: id.toString(),
is_proforma: false,
is_proforma: true,
company_id: companyId.toString(),
},
order: [