From 6a39c2fd3f54f927fdf0273c7f8926a72f963a8d Mon Sep 17 00:00:00 2001 From: rstubryan Date: Sat, 22 Nov 2025 10:17:38 +0700 Subject: [PATCH] refactor(FE-208): swap accessor keys for total_qty and sub_qty in PurchaseOrderDetail for accurate data representation --- src/components/pages/purchase/order/PurchaseOrderDetail.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/pages/purchase/order/PurchaseOrderDetail.tsx b/src/components/pages/purchase/order/PurchaseOrderDetail.tsx index 11faab80..2f3bbfb0 100644 --- a/src/components/pages/purchase/order/PurchaseOrderDetail.tsx +++ b/src/components/pages/purchase/order/PurchaseOrderDetail.tsx @@ -526,12 +526,12 @@ const PurchaseOrderDetail = ({ }, { header: 'Jumlah Total', - accessorKey: 'total_qty', + accessorKey: 'sub_qty', cell: (props) => formatNumber(props.getValue() as number), }, { header: 'Jumlah Diterima', - accessorKey: 'sub_qty', + accessorKey: 'total_qty', cell: (props) => formatNumber(props.getValue() as number), }, {