refactor(FE): Rename price to unit_price in customer payments

This commit is contained in:
rstubryan
2026-01-17 16:16:34 +07:00
parent 9ae5bdd969
commit a82c5e5593
4 changed files with 10 additions and 10 deletions
@@ -405,12 +405,12 @@ const CustomerPaymentTab = () => {
),
},
{
id: 'price',
header: 'Harga Awal',
accessorKey: 'price',
id: 'unit_price',
header: 'Harga/Unit',
accessorKey: 'unit_price',
enableSorting: false,
cell: (props) => {
const value = props.row.original.price;
const value = props.row.original.unit_price;
return <div className='text-right'>{formatCurrency(value)}</div>;
},
footer: () => (