refactor(FE): Show dash for missing transport per item

This commit is contained in:
rstubryan
2026-01-20 10:23:40 +07:00
parent 28a32cb6c4
commit 72356917ff
@@ -563,7 +563,10 @@ const PurchaseOrderDetail = ({
{
header: 'Transport /Item',
accessorKey: 'transport_per_item',
cell: (props) => formatCurrency(props.getValue() as number),
cell: (props) => {
const value = props.row.original.transport_per_item;
return value ? formatCurrency(value) : '-';
},
},
];