mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
refactor(FE): Show age as days and weeks in table
This commit is contained in:
@@ -119,7 +119,9 @@ 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 ? `${formatNumber(age)} (Minggu ke-${week})` : '-';
|
return age && week
|
||||||
|
? `${formatNumber(age)} hari (${week} minggu)`
|
||||||
|
: '-';
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user