feat: response customer along with receipt
This commit is contained in:
parent
129c3d5737
commit
527de34377
1 changed files with 7 additions and 1 deletions
|
|
@ -38,7 +38,13 @@ export class ReceiptController extends Controller {
|
||||||
invoice: {
|
invoice: {
|
||||||
include: {
|
include: {
|
||||||
installments: true,
|
installments: true,
|
||||||
quotation: true,
|
quotation: {
|
||||||
|
include: {
|
||||||
|
customerBranch: {
|
||||||
|
include: { customer: true },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
createdBy: true,
|
createdBy: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue