fix: word case

This commit is contained in:
Methapon Metanipat 2024-10-07 17:04:53 +07:00
parent 9612e71a88
commit 1b84f345e7

View file

@ -174,7 +174,7 @@ export class QuotationController extends Controller {
}); });
return result.reduce<Record<string, number>>((a, c) => { return result.reduce<Record<string, number>>((a, c) => {
a[c.payCondition] = c._count; a[c.payCondition.charAt(0).toLowerCase() + c.payCondition.slice(1)] = c._count;
return a; return a;
}, {}); }, {});
} }