fix: word case
This commit is contained in:
parent
9612e71a88
commit
1b84f345e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}, {});
|
}, {});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue