import { SidebarMenuItem } from '@/components/molecules/SidebarMenu'; export const MAIN_DRAWER_LINKS: SidebarMenuItem[] = [ { text: 'Dashboard', link: '/dashboard', icon: 'heroicons-outline:chart-bar-square', }, { text: 'Produksi', link: '/production', icon: 'heroicons-outline:wrench-screwdriver', submenu: [ { text: 'Daftar Flock', link: '/production/project-flock', }, { text: 'Recording', link: '/production/recording', }, { text: 'Transfer to Laying', link: '/production/transfer-to-laying', }, ], }, { text: 'Pembelian', link: '/purchase', icon: 'heroicons-outline:shopping-cart', }, { text: 'Penjualan', link: '/marketing', icon: 'heroicons-outline:currency-dollar', }, { text: 'Biaya Operasional', link: '/expense', icon: 'heroicons:wallet', }, { text: 'Closing', link: '/closing', icon: 'heroicons-outline:presentation-chart-bar', }, { text: 'Persediaan', link: '/inventory', icon: 'heroicons-outline:folder', submenu: [ { text: 'Produk', link: '/inventory/product', }, { text: 'Penyesuaian Stok', link: '/inventory/adjustment', }, { text: 'Transfer Stok', link: '/inventory/movement', }, ], }, { text: 'Master Data', link: '/master-data', icon: 'heroicons-outline:circle-stack', submenu: [ { text: 'Produk', link: '/master-data/product', }, { text: 'Kategori Produk', link: '/master-data/product-category', }, { text: 'Bank', link: '/master-data/bank', }, { text: 'Area', link: '/master-data/area', }, { text: 'Lokasi', link: '/master-data/location', }, { text: 'Kandang', link: '/master-data/kandang', }, { text: 'Warehouse', link: '/master-data/warehouse', }, { text: 'Customer', link: '/master-data/customer', }, { text: 'UOM', link: '/master-data/uom', }, { text: 'Non-Stock', link: '/master-data/nonstock', }, { text: 'FCR', link: '/master-data/fcr', }, { text: 'Supplier', link: '/master-data/supplier', }, { text: 'Flock', link: '/master-data/flock', }, ], }, ] as const; export const ROWS_OPTIONS = [ { label: '10', value: 10, }, { label: '20', value: 20, }, { label: '50', value: 50, }, { label: '100', value: 100, }, ]; export const WAREHOUSE_TYPE_OPTIONS = [ { label: 'AREA', value: 'AREA', }, { label: 'LOKASI', value: 'LOKASI', }, { label: 'KANDANG', value: 'KANDANG', }, ]; export const TYPE_OPTIONS = [ { label: 'INDIVIDUAL', value: 'INDIVIDUAL', }, { label: 'BISNIS', value: 'BISNIS', }, ]; export const CATEGORY_OPTIONS = [ { label: 'BOP', value: 'BOP', }, { label: 'SAPRONAK', value: 'SAPRONAK', }, ]; export const FLOCK_CATEGORY_OPTIONS = [ { label: 'GROWING', value: 'GROWING', }, { label: 'LAYING', value: 'LAYING', }, ]; export const PRODUCT_FLAG_OPTIONS = [ { label: 'DOC', value: 'DOC' }, { label: 'PAKAN', value: 'PAKAN' }, { label: 'PRE-STARTER', value: 'PRE-STARTER' }, { label: 'STARTER', value: 'STARTER' }, { label: 'FINISHER', value: 'FINISHER' }, { label: 'OVK', value: 'OVK' }, { label: 'OBAT', value: 'OBAT' }, { label: 'VITAMIN', value: 'VITAMIN' }, { label: 'KIMIA', value: 'KIMIA' }, ]; export const SUPPLIER_FLAG_OPTIONS = [ { label: 'EKSPEDISI', value: 'EKSPEDISI' }, ]; export const RECORDING_FLAG_OPTIONS = [ { label: 'Ayam Afkir', value: 'Ayam Afkir' }, { label: 'Ayam Culling', value: 'Ayam Culling' }, { label: 'Ayam Mati', value: 'Ayam Mati' }, ]; export const APPROVAL_WORKFLOWS = [ { key: 'PROJECT_FLOCKS', steps: [ { step_number: 1, step_name: 'Pengajuan', }, { step_number: 2, step_name: 'Aktif', }, ], }, { key: 'RECORDINGS', steps: [ { step_number: 1, step_name: 'Grading-Telur', }, { step_number: 2, step_name: 'Pengajuan', }, { step_number: 3, step_name: 'Disetujui', }, ], }, ]; export const ACCEPTED_FILE_TYPE = { PDF: { 'application/pdf': ['.pdf'], }, IMAGE: { 'image/*': [], }, };