refactor(FE): Refine Purchases per Supplier styles and page size

This commit is contained in:
rstubryan
2026-01-28 11:10:37 +07:00
parent c20b1c5942
commit e68e5a6d51
@@ -880,18 +880,25 @@ const PurchasesPerSupplierTab = () => {
key={supplierReport.supplier.id}
title={supplierReport.supplier.name}
subtitle={`Total Pembelian: ${formatCurrency(totalPurchase)}`}
className={{ wrapper: 'w-full' }}
className={{
wrapper: 'w-full rounded-2xl',
body: 'p-0',
title:
'py-1.5 px-3 bg-primary text-white text-lg font-normal',
subtitle:
'px-3 pb-1 bg-primary text-white text-sm font-normal',
}}
variant='bordered'
collapsible={true}
>
<Table
data={supplierReport.rows}
columns={tableColumns}
pageSize={10}
pageSize={supplierReport.rows.length}
renderFooter={supplierReport.rows.length > 0}
className={{
containerClassName: 'w-full',
tableWrapperClassName: 'overflow-x-auto mt-4',
containerClassName: 'w-full mb-0!',
tableWrapperClassName: 'overflow-x-auto',
tableClassName: 'w-full table-auto text-sm',
headerRowClassName: 'border-b border-b-gray-200 bg-gray-50',
headerColumnClassName: