diff --git a/src/controllers/04-invoice-controller.ts b/src/controllers/04-invoice-controller.ts index b4ebea3..f747569 100644 --- a/src/controllers/04-invoice-controller.ts +++ b/src/controllers/04-invoice-controller.ts @@ -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" },