<?php

return [
    'roles' => [
        'owner' => 'Owner',
        'admin_cabang' => 'Admin Cabang',
        'manager' => 'Manager',
        'kasir' => 'Kasir',
    ],

    'permissions' => [
        'dashboard' => ['label' => 'Dashboard', 'group' => 'Umum'],
        'pos' => ['label' => 'POS Kasir', 'group' => 'Transaksi'],
        'mobile_intake' => ['label' => 'Mobile Intake', 'group' => 'Transaksi'],
        'orders' => ['label' => 'Lihat Pesanan', 'group' => 'Pesanan'],
        'orders_update' => ['label' => 'Update Status/Progress Pesanan', 'group' => 'Pesanan'],
        'payments' => ['label' => 'Input Pembayaran', 'group' => 'Pesanan'],
        'digital_forms' => ['label' => 'Form Pemeriksaan & Evidence', 'group' => 'Pesanan'],
        'inventory' => ['label' => 'Inventory', 'group' => 'Stok'],
        'stock_transfers' => ['label' => 'Transfer Stok', 'group' => 'Stok'],
        'stock_transfer_approval' => ['label' => 'Approval Transfer Stok', 'group' => 'Stok'],
        'customer_requests' => ['label' => 'Request Pelanggan', 'group' => 'Pelanggan'],
        'portal_preview' => ['label' => 'Preview Portal Pelanggan', 'group' => 'Pelanggan'],
        'expenses' => ['label' => 'Input Biaya Operasional', 'group' => 'Laporan'],
        'reports' => ['label' => 'Laporan', 'group' => 'Laporan'],
        'leaderboards' => ['label' => 'Leaderboard', 'group' => 'Laporan'],
        'bonuses' => ['label' => 'Bonus Karyawan', 'group' => 'Laporan'],
        'bonus_disbursement' => ['label' => 'Pencairan Bonus', 'group' => 'Laporan'],
        'master_data' => ['label' => 'Master Data', 'group' => 'Administrasi'],
        'settings' => ['label' => 'Pengaturan Aplikasi', 'group' => 'Administrasi'],
        'permissions' => ['label' => 'Permission Matrix', 'group' => 'Administrasi'],
    ],

    'defaults' => [
        'owner' => ['*'],
        'admin_cabang' => [
            'dashboard',
            'pos',
            'mobile_intake',
            'orders',
            'orders_update',
            'payments',
            'digital_forms',
            'inventory',
            'stock_transfers',
            'stock_transfer_approval',
            'customer_requests',
            'portal_preview',
            'expenses',
            'reports',
            'leaderboards',
            'bonuses',
            'master_data',
            'settings',
        ],
        'manager' => [
            'dashboard',
            'pos',
            'mobile_intake',
            'orders',
            'orders_update',
            'payments',
            'digital_forms',
            'inventory',
            'stock_transfers',
            'customer_requests',
            'portal_preview',
            'expenses',
            'reports',
            'leaderboards',
            'bonuses',
            'master_data',
        ],
        'kasir' => [
            'dashboard',
            'pos',
            'mobile_intake',
            'orders',
            'orders_update',
            'payments',
            'digital_forms',
            'customer_requests',
            'bonuses',
        ],
    ],
];
