feat: also return customer

This commit is contained in:
Methapon2001 2024-12-18 15:02:00 +07:00
parent 9d8771d43a
commit c69ac0db51

View file

@ -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" },