.
This commit is contained in:
parent
132408ac23
commit
91212e8e90
@ -153,6 +153,7 @@ export class ProformaRepository
|
|||||||
where: {
|
where: {
|
||||||
id: id.toString(),
|
id: id.toString(),
|
||||||
company_id: companyId.toString(),
|
company_id: companyId.toString(),
|
||||||
|
is_proforma: true,
|
||||||
...(options.where ?? {}),
|
...(options.where ?? {}),
|
||||||
},
|
},
|
||||||
transaction,
|
transaction,
|
||||||
@ -277,7 +278,7 @@ export class ProformaRepository
|
|||||||
where: {
|
where: {
|
||||||
...(options.where ?? {}),
|
...(options.where ?? {}),
|
||||||
id: id.toString(),
|
id: id.toString(),
|
||||||
is_proforma: false,
|
is_proforma: true,
|
||||||
company_id: companyId.toString(),
|
company_id: companyId.toString(),
|
||||||
},
|
},
|
||||||
order: [
|
order: [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user