diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 9eb8c73..65b36ec 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -230,6 +230,7 @@ export class QuotationController extends Controller { include: { service: { include: { + productGroup: true, work: { include: { productOnWork: { @@ -242,7 +243,9 @@ export class QuotationController extends Controller { }, }, work: true, - product: true, + product: { + include: { productGroup: true }, + }, worker: true, }, @@ -404,9 +407,26 @@ export class QuotationController extends Controller { include: { productServiceList: { include: { - product: true, + service: { + include: { + productGroup: true, + work: { + include: { + productOnWork: { + include: { + product: true, + }, + }, + }, + }, + }, + }, work: true, - service: true, + product: { + include: { productGroup: true }, + }, + + worker: true, }, }, paySplit: true, @@ -608,9 +628,26 @@ export class QuotationController extends Controller { include: { productServiceList: { include: { - product: true, + service: { + include: { + productGroup: true, + work: { + include: { + productOnWork: { + include: { + product: true, + }, + }, + }, + }, + }, + }, work: true, - service: true, + product: { + include: { productGroup: true }, + }, + + worker: true, }, }, paySplit: true,