refactor(FE): Display raw age instead of using formatNumber

This commit is contained in:
rstubryan
2026-01-22 11:36:02 +07:00
parent 1e421e4230
commit eca8bd7026
@@ -119,9 +119,7 @@ const SalesReportTable = ({
cell: (props) => { cell: (props) => {
const age = props.row.original.age; const age = props.row.original.age;
const week = props.row.original.week; const week = props.row.original.week;
return age && week return age && week ? `${age} hari (${week} minggu)` : '-';
? `${formatNumber(age)} hari (${week} minggu)`
: '-';
}, },
}, },
{ {