Merge branch 'feat/FE/US-304/permission-guard' into feat/FE/US-304/permission-guard-master-data

This commit is contained in:
ValdiANS
2025-12-23 15:53:05 +07:00
62 changed files with 8071 additions and 776 deletions
+4 -4
View File
@@ -16,10 +16,10 @@ export const PROJECT_FLOCK_APPROVAL_LINE: ApprovalLine = [
] as const;
export const PROJECT_FLOCK_KANDANGS_APPROVAL_LINE: ApprovalLine = [
{
step_number: 1,
step_name: 'Pengajuan',
},
// {
// step_number: 1,
// step_name: 'Pengajuan',
// },
{
step_number: 2,
step_name: 'Disetujui',
+46 -1
View File
@@ -54,6 +54,25 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
icon: 'heroicons-outline:presentation-chart-bar',
permission: ['lti.closing.list'],
},
{
text: 'Laporan',
link: '/report',
icon: 'mdi:chart-box-outline',
submenu: [
{
text: 'Logistik & Persediaan',
link: '/report/logistic-stock',
},
{
text: 'Biaya Operasional',
link: '/report/expense',
},
{
text: 'Penjualan',
link: '/report/marketing',
},
],
},
{
text: 'Persediaan',
link: '/inventory',
@@ -65,7 +84,7 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
],
submenu: [
{
text: 'Produk',
text: 'Stok Produk',
link: '/inventory/product',
permission: ['lti.inventory.product_stock.list'],
},
@@ -296,3 +315,29 @@ export const ACCEPTED_FILE_TYPE = {
'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',
},
];