mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
refactor(FE): Format zero transport per item as currency
This commit is contained in:
@@ -565,7 +565,7 @@ const PurchaseOrderDetail = ({
|
|||||||
accessorKey: 'transport_per_item',
|
accessorKey: 'transport_per_item',
|
||||||
cell: (props) => {
|
cell: (props) => {
|
||||||
const value = props.row.original.transport_per_item;
|
const value = props.row.original.transport_per_item;
|
||||||
return value ? formatCurrency(value) : '-';
|
return value ? formatCurrency(value) : formatCurrency(0);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user