feat: also return customer
This commit is contained in:
parent
9d8771d43a
commit
c69ac0db51
1 changed files with 7 additions and 1 deletions
|
|
@ -63,7 +63,13 @@ export class InvoiceController extends Controller {
|
|||
where,
|
||||
include: {
|
||||
installments: true,
|
||||
quotation: true,
|
||||
quotation: {
|
||||
include: {
|
||||
customerBranch: {
|
||||
include: { customer: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
createdBy: true,
|
||||
},
|
||||
orderBy: { createdAt: "asc" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue