refactor(FE-361): Hide unused logistic tabs and adjust card

This commit is contained in:
rstubryan
2025-12-18 11:31:05 +07:00
parent 7c9f68d3a3
commit 1de98db4ba
2 changed files with 12 additions and 11 deletions
@@ -10,16 +10,16 @@ const LogisticStockTabs = () => {
label: 'Rekapitulasi Pembelian Per Supplier',
content: <PurchasesPerSupplierTab />,
},
{
id: '2',
label: 'Rekapitulasi Pemakaian Barang',
content: 'Rekapitulasi Pemakaian Barang Tab',
},
{
id: '3',
label: 'Rekapitulasi Stock Persediaan Barang',
content: 'Rekapitulasi Stock Persediaan Barang Tab',
},
// {
// id: '2',
// label: 'Rekapitulasi Pemakaian Barang',
// content: 'Rekapitulasi Pemakaian Barang Tab',
// },
// {
// id: '3',
// label: 'Rekapitulasi Stock Persediaan Barang',
// content: 'Rekapitulasi Stock Persediaan Barang Tab',
// },
];
return (
@@ -895,7 +895,8 @@ const PurchasesPerSupplierTab = () => {
key={supplier.id}
title={supplier.supplier.name}
subtitle={`Total Pembelian: ${formatCurrency(totalPurchase)}`}
className={{ wrapper: 'w-full', body: 'py-6! p-0' }}
className={{ wrapper: 'w-full' }}
variant='bordered'
collapsible={true}
>
<Table