diff --git a/src/app/report/logistic-stock/page.tsx b/src/app/report/logistic-stock/page.tsx index a0c8bd23..77ba31ed 100644 --- a/src/app/report/logistic-stock/page.tsx +++ b/src/app/report/logistic-stock/page.tsx @@ -1,32 +1,7 @@ -'use client'; - -import Tabs from '@/components/Tabs'; -import PurchasesPerSupplierTab from '@/components/pages/report/logistic-stock/PurchasesPerSupplierTab'; +import LogisticStockTabs from '@/components/pages/report/logistic-stock/LogisticStockTabs'; const LogisticStock = () => { - const tabs = [ - { - id: '1', - label: 'Rekapitulasi Pembelian Per Supplier', - content: , - }, - { - id: '2', - label: 'Rekapitulasi Pemakaian Barang', - content: , - }, - { - id: '3', - label: 'Rekapitulasi Stock Persediaan Barang', - content: , - }, - ]; - - return ( -
- -
- ); + return ; }; export default LogisticStock; diff --git a/src/components/pages/report/logistic-stock/LogisticStockTabs.tsx b/src/components/pages/report/logistic-stock/LogisticStockTabs.tsx new file mode 100644 index 00000000..0664189f --- /dev/null +++ b/src/components/pages/report/logistic-stock/LogisticStockTabs.tsx @@ -0,0 +1,32 @@ +'use client'; + +import Tabs from '@/components/Tabs'; +import PurchasesPerSupplierTab from '@/components/pages/report/logistic-stock/PurchasesPerSupplierTab'; + +const LogisticStockTabs = () => { + const tabs = [ + { + id: '1', + label: 'Rekapitulasi Pembelian Per Supplier', + content: , + }, + { + id: '2', + label: 'Rekapitulasi Pemakaian Barang', + content: , + }, + { + id: '3', + label: 'Rekapitulasi Stock Persediaan Barang', + content: , + }, + ]; + + return ( +
+ +
+ ); +}; + +export default LogisticStockTabs;