.
This commit is contained in:
parent
132408ac23
commit
91212e8e90
@ -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: [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user