refactor(FE): Hide 'hari' for zero or negative aging days

This commit is contained in:
rstubryan
2026-01-14 17:55:38 +07:00
parent efde742518
commit 4137683d05
@@ -334,7 +334,7 @@ const CustomerPaymentTab = () => {
const value = props.row.original.aging_day;
return (
<div className='text-center'>
{value ? formatNumber(value) : '-'} hari
{value && value > 0 ? `${formatNumber(value)} hari` : '-'}
</div>
);
},