mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 05:22:02 +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) => {
|
||||
const age = props.row.original.age;
|
||||
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