mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
refactor(FE): Display zero and negative aging days
This commit is contained in:
@@ -340,7 +340,9 @@ const CustomerPaymentTab = () => {
|
|||||||
const value = props.row.original.aging_day;
|
const value = props.row.original.aging_day;
|
||||||
return (
|
return (
|
||||||
<div className='text-center'>
|
<div className='text-center'>
|
||||||
{value && value > 0 ? `${formatNumber(value)} hari` : '-'}
|
{value !== null && value !== undefined
|
||||||
|
? `${formatNumber(value)} hari`
|
||||||
|
: '-'}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user