diff --git a/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx b/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx index ac0f3359..0762352a 100644 --- a/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx +++ b/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx @@ -14,7 +14,7 @@ import { ProductCategoryApi } from '@/services/api/master-data'; import { LogisticApi } from '@/services/api/logistic'; import Table from '@/components/Table'; import { ColumnDef } from '@tanstack/react-table'; -import { formatCurrency, formatDate } from '@/lib/helper'; +import { formatCurrency, formatDate, formatNumber } from '@/lib/helper'; import { LogisticPurchasePerSupplierReport } from '@/types/api/report/logistic-stock'; import { isResponseSuccess } from '@/lib/api-helper'; import { useTableFilter } from '@/services/hooks/useTableFilter'; @@ -482,11 +482,11 @@ const PurchasesPerSupplierTab = () => { accessorKey: 'qty', cell: (props) => { const value = props.row.original.qty; - return
{value.toLocaleString()}
; + return
{formatNumber(value)}
; }, footer: () => (
- {totals.totalQty.toLocaleString()} + {formatNumber(totals.totalQty)}
), },