feat: add laporan menu, FILTER_TYPE_OPTIONS, and MARKETING_TYPE_OPTIONS

This commit is contained in:
ValdiANS
2025-12-18 16:11:59 +07:00
parent c9cf33f1ad
commit d9b41a6760
+37
View File
@@ -45,6 +45,17 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
link: '/closing', link: '/closing',
icon: 'heroicons-outline:presentation-chart-bar', icon: 'heroicons-outline:presentation-chart-bar',
}, },
{
text: 'Laporan',
link: '/report',
icon: 'heroicons-outline:document-text',
submenu: [
{
text: 'Penjualan',
link: '/report/marketing',
},
],
},
{ {
text: 'Persediaan', text: 'Persediaan',
link: '/inventory', link: '/inventory',
@@ -251,3 +262,29 @@ export const ACCEPTED_FILE_TYPE = {
'image/*': [], 'image/*': [],
}, },
}; };
export const FILTER_TYPE_OPTIONS = [
{
label: 'Tanggal Realisasi',
value: 'REALIZATION_DATE',
},
{
label: 'Tanggal DO',
value: 'DO_DATE',
},
];
export const MARKETING_TYPE_OPTIONS = [
{
label: 'Ayam',
value: 'ayam',
},
{
label: 'Telur',
value: 'telur',
},
{
label: 'Trading',
value: 'trading',
},
];