mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 15:25:46 +00:00
Merge branch 'development' into fix/project-flock
This commit is contained in:
@@ -5,6 +5,7 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
|
||||
text: 'Dashboard',
|
||||
link: '/dashboard',
|
||||
icon: 'heroicons-outline:chart-bar-square',
|
||||
permission: ['lti.dashboard.list'],
|
||||
},
|
||||
{
|
||||
text: 'Daily Checklist',
|
||||
@@ -81,6 +82,8 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
|
||||
permission: [
|
||||
'lti.production.project_flocks.list',
|
||||
'lti.production.recording.list',
|
||||
'lti.production.transfer_to_laying.list',
|
||||
'lti.production.uniformity.list',
|
||||
],
|
||||
submenu: [
|
||||
{
|
||||
@@ -96,6 +99,7 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
|
||||
{
|
||||
text: 'Transfer ke Laying',
|
||||
link: '/production/transfer-to-laying',
|
||||
permission: ['lti.production.transfer_to_laying.list'],
|
||||
},
|
||||
{
|
||||
text: 'Uniformity',
|
||||
@@ -114,11 +118,13 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
|
||||
text: 'Penjualan',
|
||||
link: '/marketing',
|
||||
icon: 'heroicons-outline:currency-dollar',
|
||||
permission: ['lti.marketing.delivery_order.list'],
|
||||
},
|
||||
{
|
||||
text: 'Keuangan',
|
||||
link: '/finance',
|
||||
icon: 'heroicons-outline:banknotes',
|
||||
permission: ['lti.finance.transactions.list'],
|
||||
},
|
||||
{
|
||||
text: 'Biaya',
|
||||
@@ -136,26 +142,46 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
|
||||
text: 'Laporan',
|
||||
link: '/report',
|
||||
icon: 'mdi:chart-box-outline',
|
||||
permission: [
|
||||
'lti.repport.debtsupplier.list',
|
||||
'lti.repport.customerpayment.list',
|
||||
'lti.repport.purchasesupplier.list',
|
||||
'lti.repport.expense.list',
|
||||
'lti.repport.delivery.list',
|
||||
'lti.repport.gethppperkandang.list',
|
||||
'lti.repport.production_result.list',
|
||||
],
|
||||
submenu: [
|
||||
{
|
||||
text: 'Keuangan',
|
||||
link: '/report/finance',
|
||||
permission: [
|
||||
'lti.repport.debtsupplier.list',
|
||||
'lti.repport.customerpayment.list',
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Logistik & Persediaan',
|
||||
link: '/report/logistic-stock',
|
||||
permission: ['lti.repport.purchasesupplier.list'],
|
||||
},
|
||||
{
|
||||
text: 'Biaya Operasional',
|
||||
link: '/report/expense',
|
||||
permission: ['lti.repport.expense.list'],
|
||||
},
|
||||
{
|
||||
text: 'Penjualan',
|
||||
link: '/report/marketing',
|
||||
permission: [
|
||||
'lti.repport.delivery.list',
|
||||
'lti.repport.gethppperkandang.list',
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Hasil Produksi',
|
||||
link: '/report/production-result',
|
||||
permission: ['lti.repport.production_result.list'],
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -204,6 +230,7 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
|
||||
'lti.master.suppliers.list',
|
||||
'lti.master.uoms.list',
|
||||
'lti.master.warehouses.list',
|
||||
'lti.master.production_standards.list',
|
||||
],
|
||||
submenu: [
|
||||
{
|
||||
@@ -274,6 +301,7 @@ export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [
|
||||
{
|
||||
text: 'Standar Produksi',
|
||||
link: '/master-data/production-standard',
|
||||
permission: ['lti.master.production_standards.list'],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -116,7 +116,10 @@ export const ROUTE_PERMISSIONS: Record<string, string[]> = {
|
||||
// Report
|
||||
'/report/logistic-stock/': ['lti.repport.purchasesupplier.list'],
|
||||
'/report/expense/': ['lti.repport.expense.list'],
|
||||
'/report/marketing/': ['lti.repport.delivery.list'],
|
||||
'/report/marketing/': [
|
||||
'lti.repport.delivery.list',
|
||||
'lti.repport.gethppperkandang.list',
|
||||
],
|
||||
'/report/production-result/': ['lti.repport.production_result.list'],
|
||||
'/report/finance/': [
|
||||
'lti.repport.finance.list',
|
||||
|
||||
Reference in New Issue
Block a user