mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-355): Add sale report tabs and marketing layout
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import SuspenseHelper from '@/components/helper/SuspenseHelper';
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) => {
|
||||
return <SuspenseHelper>{children}</SuspenseHelper>;
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
@@ -0,0 +1,7 @@
|
||||
import SaleReportTabs from '@/components/pages/report/sale/SaleReportTabs';
|
||||
|
||||
const SaleReport = () => {
|
||||
return <SaleReportTabs />;
|
||||
};
|
||||
|
||||
export default SaleReport;
|
||||
@@ -0,0 +1,37 @@
|
||||
'use client';
|
||||
|
||||
import Tabs from '@/components/Tabs';
|
||||
import { HppPerKandangTab } from '@/components/pages/report/sale/tab/HppPerKandangTab';
|
||||
|
||||
const SaleReportTabs = () => {
|
||||
const tabs = [
|
||||
{
|
||||
id: '1',
|
||||
label: 'Penjualan Harian',
|
||||
content: 'Penjualan Harian Tab',
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
label: 'Transaksi Penjualan DO',
|
||||
content: 'Transaksi Penjualan DO Tab',
|
||||
},
|
||||
{
|
||||
id: '3',
|
||||
label: 'Perbandingan HPP Per Rentang BW',
|
||||
content: 'Perbandingan HPP Per Rentang BW Tab',
|
||||
},
|
||||
{
|
||||
id: '4',
|
||||
label: 'HPP Harian Kandang',
|
||||
content: <HppPerKandangTab />,
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<section className='w-full p-4'>
|
||||
<Tabs tabs={tabs} variant='lifted' />
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default SaleReportTabs;
|
||||
@@ -0,0 +1,3 @@
|
||||
export const HppPerKandangTab = () => {
|
||||
return <div>HPP Per Kandang Tab</div>;
|
||||
};
|
||||
Reference in New Issue
Block a user