refactor(FE-208): restructure goods receipt table columns in PurchaseOrderDetail

This commit is contained in:
rstubryan
2025-11-17 13:51:32 +07:00
parent c8f1ea0e4f
commit 6467af35bc
@@ -612,6 +612,9 @@ const PurchaseOrderDetail = ({
]; ];
const goodsReceiptColumns: ColumnDef<PurchaseItem>[] = [ const goodsReceiptColumns: ColumnDef<PurchaseItem>[] = [
{
header: 'Header Placeholder untuk tiap Produk Penerimaan Barang',
columns: [
{ {
header: 'No', header: 'No',
cell: (props) => props.row.index + 1, cell: (props) => props.row.index + 1,
@@ -695,6 +698,8 @@ const PurchaseOrderDetail = ({
header: 'Transport Total', header: 'Transport Total',
cell: (props) => formatCurrency(props.getValue() as number), cell: (props) => formatCurrency(props.getValue() as number),
}, },
],
},
]; ];
const summaryData = [ const summaryData = [