diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 4ff523b..45afdc1 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -174,7 +174,7 @@ export class QuotationController extends Controller { }); return result.reduce>((a, c) => { - a[c.payCondition] = c._count; + a[c.payCondition.charAt(0).toLowerCase() + c.payCondition.slice(1)] = c._count; return a; }, {}); }