<?php

return [
    'modules' => [
        'pos' => [
            'label' => 'Point of Sale',
            'icon' => 'fas fa-cash-register',
            'permissions' => [
                'access-pos' => 'Access POS Terminal',
                'view-sales' => 'View Sales Records',
                'create-sales' => 'Create New Sales',
                'edit-sales' => 'Edit Sales',
                'delete-sales' => 'Delete Sales',
                'process-returns' => 'Process Returns',
            ],
        ],
        'products' => [
            'label' => 'Products & Inventory',
            'icon' => 'fas fa-boxes',
            'permissions' => [
                'view-products' => 'View Products',
                'create-products' => 'Create Products',
                'edit-products' => 'Edit Products',
                'delete-products' => 'Delete Products',
                'manage-inventory' => 'Manage Inventory',
                'adjust-inventory' => 'Adjust Stock Levels',
            ],
        ],
        'purchases' => [
            'label' => 'Purchases',
            'icon' => 'fas fa-truck',
            'permissions' => [
                'view-purchases' => 'View Purchase Orders',
                'create-purchases' => 'Create Purchase Orders',
                'edit-purchases' => 'Edit Purchase Orders',
                'delete-purchases' => 'Delete Purchase Orders',
                'approve-purchases' => 'Approve Purchase Orders',
            ],
        ],
        'partners' => [
            'label' => 'Partners (Customers/Suppliers)',
            'icon' => 'fas fa-handshake',
            'permissions' => [
                'view-partners' => 'View Partners',
                'create-partners' => 'Create Partners',
                'edit-partners' => 'Edit Partners',
                'delete-partners' => 'Delete Partners',
            ],
        ],
        'accounting' => [
            'label' => 'Accounting & Finance',
            'icon' => 'fas fa-calculator',
            'permissions' => [
                'view-accounting' => 'View Accounting Data',
                'manage-accounting' => 'Manage Accounting',
                'review-sessions' => 'Review POS Sessions',
                'manage-journal-entries' => 'Manage Journal Entries',
                'view-reports' => 'View Financial Reports',
                'export-reports' => 'Export Reports',
            ],
        ],
        'users' => [
            'label' => 'Users & Roles',
            'icon' => 'fas fa-users',
            'permissions' => [
                'view-users' => 'View Users',
                'create-users' => 'Create Users',
                'edit-users' => 'Edit Users',
                'delete-users' => 'Delete Users',
                'manage-roles' => 'Manage Roles & Permissions',
                'assign-roles' => 'Assign Roles to Users',
            ],
        ],
        'settings' => [
            'label' => 'Settings',
            'icon' => 'fas fa-cog',
            'permissions' => [
                'view-settings' => 'View Settings',
                'manage-general-settings' => 'Manage General Settings',
                'manage-branches' => 'Manage Branches',
                'manage-payment-methods' => 'Manage Payment Methods',
                'manage-accounting-settings' => 'Manage Accounting Settings',
            ],
        ],
    ],
];
