<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Title
    |--------------------------------------------------------------------------
    |
    | Here you can change the default title of your admin panel.
    |
    | For detailed instructions you can look the title section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'title' => 'IPRS',
    'title_prefix' => '',
    'title_postfix' => '',
    'title_icon' => [
        'enabled' => true,
        'img' => [
            'path' => 'images/coat-of-arms.png',
            'alt' => 'Coat of Arms',
        ],
        ],


    /*
    |--------------------------------------------------------------------------
    | Favicon
    |--------------------------------------------------------------------------
    |
    | Here you can activate the favicon.
    |
    | For detailed instructions you can look the favicon section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'use_ico_only' => false,
    'use_full_favicon' => true,

    /*
    |--------------------------------------------------------------------------
    | Google Fonts
    |--------------------------------------------------------------------------
    |
    | Here you can allow or not the use of external google fonts. Disabling the
    | google fonts may be useful if your admin panel internet access is
    | restricted somehow.
    |
    | For detailed instructions you can look the google fonts section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'google_fonts' => [
        'allowed' => true,
    ],

    /*
    |--------------------------------------------------------------------------
    | Admin Panel Logo
    |--------------------------------------------------------------------------
    |
    | Here you can change the logo of your admin panel.
    |
    | For detailed instructions you can look the logo section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'logo' => '<b>IPRS</b>',
    'logo_img' => 'images/coat-of-arms.png',
    'logo_img_class' => 'brand-image img-circle elevation-3',
    'logo_img_xl' => null,
    'logo_img_xl_class' => 'brand-image-xs',
    'logo_img_alt' => 'IPRS Logo',
    'logo-img-width' => 20,
    'logo-img-height' => 20,

    /*
    |--------------------------------------------------------------------------
    | Authentication Logo
    |--------------------------------------------------------------------------
    |
    | Here you can setup an alternative logo to use on your login and register
    | screens. When disabled, the admin panel logo will be used instead.
    |
    | For detailed instructions you can look the auth logo section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'auth_logo' => [
        'enabled' => false,
        'img' => [
            'path' => 'vendor/adminlte/dist/img/coat-of-arms.png',
            'alt' => 'IPRS Logo',
            'class' => '',
            'width' => 50,
            'height' => 50,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Preloader Animation
    |--------------------------------------------------------------------------
    |
    | Here you can change the preloader animation configuration. Currently, two
    | modes are supported: 'fullscreen' for a fullscreen preloader animation
    | and 'cwrapper' to attach the preloader animation into the content-wrapper
    | element and avoid overlapping it with the sidebars and the top navbar.
    |
    | For detailed instructions you can look the preloader section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'preloader' => [
        'enabled' => true,
        'mode' => 'fullscreen',
        'img' => [
            'path' => 'images/coat-of-arms.png',
            'alt' => 'Coat of Arms',
            'effect' => 'animation__wobble',
            'width' => 160,
            'height' => 160,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | User Menu
    |--------------------------------------------------------------------------
    |
    | Here you can activate and change the user menu.
    |
    | For detailed instructions you can look the user menu section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'usermenu_enabled' => true,
    'usermenu_header' => true,
    'usermenu_header_class' => 'bg-success',
    'usermenu_image' => true,
    'usermenu_desc' => true,
    'usermenu_profile_url' => true,

    /*
    |--------------------------------------------------------------------------
    | Layout
    |--------------------------------------------------------------------------
    |
    | Here we change the layout of your admin panel.
    |
    | For detailed instructions you can look the layout section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'layout_topnav' => true,
    'layout_boxed' => null,
    'layout_fixed_sidebar' => null,
    'layout_fixed_navbar' => null,
    'layout_fixed_footer' => null,
    'layout_dark_mode' => null,

    /*
    |--------------------------------------------------------------------------
    | Authentication Views Classes
    |--------------------------------------------------------------------------
    |
    | Here you can change the look and behavior of the authentication views.
    |
    | For detailed instructions you can look the auth classes section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'classes_auth_card' => 'card-outline card-primary',
    'classes_auth_header' => '',
    'classes_auth_body' => '',
    'classes_auth_footer' => '',
    'classes_auth_icon' => '',
    'classes_auth_btn' => '',

    /*
    |--------------------------------------------------------------------------
    | Admin Panel Classes
    |--------------------------------------------------------------------------
    |
    | Here you can change the look and behavior of the admin panel.
    |
    | For detailed instructions you can look the admin panel classes here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'classes_body' => '',
    'classes_brand' => '',
    'classes_brand_text' => '',
    'classes_content_wrapper' => '',
    'classes_content_header' => '',
    'classes_content' => '',
    'classes_sidebar' => 'sidebar-dark-primary elevation-4',
    'classes_sidebar_nav' => '',
    'classes_topnav' => 'navbar-white navbar-light',
    'classes_topnav_nav' => 'navbar navbar-expand-lg d-flex flex-column p-0',
    'classes_topnav_container' => 'container',

    /*
    |--------------------------------------------------------------------------
    | Sidebar
    |--------------------------------------------------------------------------
    |
    | Here we can modify the sidebar of the admin panel.
    |
    | For detailed instructions you can look the sidebar section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'sidebar_mini' => 'lg',
    'sidebar_collapse' => false,
    'sidebar_collapse_auto_size' => false,
    'sidebar_collapse_remember' => false,
    'sidebar_collapse_remember_no_transition' => true,
    'sidebar_scrollbar_theme' => 'os-theme-light',
    'sidebar_scrollbar_auto_hide' => 'l',
    'sidebar_nav_accordion' => true,
    'sidebar_nav_animation_speed' => 300,

    /*
    |--------------------------------------------------------------------------
    | Control Sidebar (Right Sidebar)
    |--------------------------------------------------------------------------
    |
    | Here we can modify the right sidebar aka control sidebar of the admin panel.
    |
    | For detailed instructions you can look the right sidebar section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration
    |
    */

    'right_sidebar' => false,
    'right_sidebar_icon' => 'fas fa-cogs',
    'right_sidebar_theme' => 'dark',
    'right_sidebar_slide' => true,
    'right_sidebar_push' => true,
    'right_sidebar_scrollbar_theme' => 'os-theme-light',
    'right_sidebar_scrollbar_auto_hide' => 'l',

    /*
    |--------------------------------------------------------------------------
    | URLs
    |--------------------------------------------------------------------------
    |
    | Here we can modify the url settings of the admin panel.
    |
    | For detailed instructions you can look the urls section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Basic-Configuration
    |
    */

    'use_route_url' => false,
    'dashboard_url' => '',
    'logout_url' => 'logout',
    'login_url' => 'login',
    // 'register_url' => 'register', // Disable register route
    'password_reset_url' => 'password/reset',
    'password_email_url' => 'password/email',
    'profile_url' => 'account',

    /*
    |--------------------------------------------------------------------------
    | Laravel Mix
    |--------------------------------------------------------------------------
    |
    | Here we can enable the Laravel Mix option for the admin panel.
    |
    | For detailed instructions you can look the laravel mix section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
    |
    */

    'enabled_laravel_mix' => false,
    'laravel_mix_css_path' => 'css/app.css',
    'laravel_mix_js_path' => 'js/app.js',

    /*
    |--------------------------------------------------------------------------
    | Menu Items
    |--------------------------------------------------------------------------
    |
    | Here we can modify the sidebar/top navigation of the admin panel.
    |
    | For detailed instructions you can look here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration
    |
    */

    'menu' => [
        // Navbar items:
        [
            'type' => 'navbar-search',
            'text' => 'search',
            'topnav_right' => false,
        ],
        [
            'type' => 'fullscreen-widget',
            'topnav_right' => false,
        ],
        /*[
            'type' => 'navbar-notification',
            'id' => 'Messages',            // An ID attribute (required).
            'icon' => 'fas fa-envelope',              // A font awesome icon (required).
            'icon_color' => 'primary',                // The initial icon color (optional).
            // 'label' => 0,                             // The initial label for the badge (optional).
            'label_color' => 'success',                // The initial badge color (optional).
            'url' => 'messages/shows',            // The url to access all notifications/elements (required).
            'topnav_right' => true,                   // Or "topnav => true" to place on the left (required).
            'dropdown_mode' => true,                  // Enables the dropdown mode (optional).
            'dropdown_flabel' => 'All Messages'
        ],
        [
            'type' => 'navbar-notification',
            'id' => 'notifications',
            'icon' => 'fas fa-bell',
            'icon_color' => 'warning',
            'label' => 1,
            'label_color' => 'success',
            'url' => 'notifications/show',
            'topnav_right' => true,
            'dropdown_mode' => true,
            'dropdown_flabel' => 'All Notifications'
        ],*/

        [
            'type' => 'navbar-notification',
            'id' => 'my-notification',                // An ID attribute (required).
            'icon' => 'fas fa-bell',                  // A font awesome icon (required).
            'icon_color' => 'warning',                // The initial icon color (optional).
            'label' => 0,                             // The initial label for the badge (optional).
            'label_color' => 'danger',                // The initial badge color (optional).
            'url' => 'notifications/all',            // The url to access all notifications/elements (required).
            'topnav_right' => true,                   // Or "topnav => true" to place on the left (required).
            'dropdown_mode' => true,                  // Enables the dropdown mode (optional).
            'dropdown_flabel' => 'All notifications', // The label for the dropdown footer link (optional).
            'update_cfg' => [
                'url' => 'notifications/get',         // The url to periodically fetch new data (optional).
                'period' => 30,                       // The update period for get new data (in seconds, optional).
            ],
        ],

        // Sidebar items:
        // [
        //     'type' => 'sidebar-menu-search',
        //     'text' => 'search',
        // ],

        // [
        //     'text' => 'blog',
        //     'url' => 'admin/blog',
        //     'can' => 'manage-blog',
        // ],

        [
            'text' => 'Dashboard',
            'url' => 'dashboard',
            'icon' => 'fas fa-fw fa-asterisk',
            'can' => 'isAdmin',
            'wire:navigate',
        ],

        [
            'text' => 'Home',
            'url' => 'home',
            'icon' => 'fas fa-home',
            'can' => 'isClient'
        ],

        [
            'text' => 'Basic Search',
            'url' => 'meta/search',
            'icon' => 'fas fa-fw fa-search',
            'can'=> 'basicSearch'
        ],

        [
            'text' => 'Advanced Search',
            'icon' => 'fas fa-bolt',
            'can' => 'advanceSearch',
            'submenu' => [
                [
                    'text' => 'Search in Docums',
                    'url' => 'meta/adv/search',
                    'can'=> ['advanceSearch','isAdmin']
                ],
                [
                    'text' => 'Phonetic Search',
                    'url' => '#',
                    'can'=> ['advanceSearch','isAdmin']
                ],
                [
                    'text' => 'Demographic Search',
                    'url' => '#',
                    'can'=> ['advanceSearch','isAdmin']
                ],
                [
                    'text' => 'Family Relations',
                    'url' => '#',
                    'can'=> ['advanceSearch','isAdmin']
                ],
            ]
        ],

        [
            'text' => 'Account',
            'route' => 'account.index',
            'icon' => 'far fa-fw fa-address-card',
            'can'=> 'isClient'
        ],

        [
            'text' => 'Billing',
            'icon' => 'far fa-credit-card',
            'can'=> 'isAdmin',
            'submenu' => [
                [
                    'text' => 'Administration of Invoices',
                    'url' => '#',
                    'can'=> 'isAdmin'
                ],
                [
                    'text' => 'Balances',
                    'url' => '#',
                    'can'=> 'isClient'
                ],
                [
                    'text' => 'Billing Reports',
                    'url' => '#',
                    'can'=> 'isClient'
                ],
                [
                    'text' => 'Pay Management',
                    'url' => '#',
                    'can'=> 'isClient'
                ],
                [
                    'text' => 'Payments Report',
                    'url' => '#',
                    'can'=> 'isClient'
                ],
                [
                    'text' => 'Prices',
                    'url' => '#',
                    'can'=> 'isAdmin'
                ],
                [
                    'text' => 'Rates Managemnet',
                    'url' => '#',
                    'can'=> 'isAdmin'
                ],
                [
                    'text' => 'Settlements Report',
                    'url' => '#',
                    'can'=> 'isAdmin'
                ],
                [
                    'text' => 'User Statistics',
                    'url' => '#',
                    'can'=> 'isClient'
                ],
            ]
        ],

        // [
        //     'text' => 'Onboarding',
        //     'icon' => 'fas fa-fw fa-plus',
        //     'url' => 'admin/client/onboarding',
        //     'can'=> 'isAdmin'
        // ],

        [
            'text' => 'Administration',
            'icon' => 'fa fa-users-cog',
            'submenu' => [
                [
                    'text' => 'Onboarding',
                    // 'icon' => 'fas fa-fw fa-plus',
                    'url' => 'admin/client/onboarding',
                    'can'=> 'isAdmin'
                ],

                [
                    'text' => 'Clients',
                    'route'=> 'client.index',
                    'can'=> 'isAdmin'
                ],
                [
                    'text' => 'Subscriptions',
                    'route' => 'contract.index',
                    'can'=> 'isAdmin'
                ],

                [
                    'text' => 'Users',
                    'route' => 'user.index',
                    'can'=> 'isAdmin'
                ],

                [
                    'text' => 'Permissions',
                    'route' => 'permission.index',
                    'can' => 'isAdmin'
                ],

                [
                    'text' => 'Roles',
                    'route' => 'role.index',
                    'can'=> 'isAdmin'
                ],

                // [
                //     'text' => 'Services',
                //     'route' => 'service.index',
                //     'can'=> 'isAdmin'
                // ],
            ]
        ],

        // [
        //     'text' => 'Users',
        //     'icon' => 'fa fa-user',
        //     'submenu' => [
        //         [
        //             'text' => 'Users',
        //             'route' => 'user.index',
        //             'can'=> 'isAdmin'
        //         ],
        //         [
        //             'text' => 'Permissions',
        //             'route' => 'permission.index',
        //             'can' => 'isAdmin'
        //         ],
        //         [
        //             'text' => 'Roles',
        //             'route' => 'role.index',
        //             'can'=> 'isAdmin'
        //         ],
        //     ]
        // ],

        [
            'text' => 'Reports',
            'icon' => 'fas fa-chart-pie',
            'submenu' => [
                [
                    'text' => 'Dictionaries',
                    'url' => '#',
                    'can'=> 'isAdmin'
                ],
                [
                    'text' => 'Doubles',
                    'url' => '#',
                    'can'=> 'isAdmin'
                ],
                [
                    'text' => 'System Configuration',
                    'url' => '#',
                    'can'=> 'isSuperAdmin'
                ],

                [
                    'text' => 'Audit Trails',
                    'url' => '#',
                    'can'=> 'isSuperAdmin'
                ],

                [
                    'text' => 'Logged Users',
                    'url' => '#',
                    'can'=> 'isSuperAdmin'
                ],
            ]
        ],

        // [
        //     'text' => 'Performance',
        //     'icon' => 'fa fa-cog',
        //     'submenu' => [
        //         [
        //             'text' => 'Audit Trails',
        //             'url' => '#',
        //             'can'=> 'isAdmin'
        //         ],
        //         [
        //             'text' => 'Logged Users',
        //             'url' => '#',
        //             'can'=> 'isAdmin'
        //         ]
        //     ]

        // ],
        [
            'key' => 'organization',
            'text' => 'Manage Organization',
            'url' => '#',
            'icon' => 'fa fa-fw fa-briefcase',
            'can' => 'isContractAdmin',
            'submenu' => [
                [
                    'text' => 'Billing',
                    'url' => '#',
                    'can' => 'isContractAdmin',
                ],
                [
                    'text' => 'Contracts',
                    'route' => 'sub-contracts.index',
                    'can' => 'isContractAdmin',
                ],
                [
                    'text' => 'Users',
                    'url' => 'sub-account',
                    'can' => 'isContractAdmin',
                ]
            ]
        ]
        // [
        //     'text' => 'Reports',
        //     'url' => '#',
        //     'icon' => 'fas fa-print',
        // ],
        // [
        //     'text' => 'Logout',
        //     'url' => '/logout',
        //     'icon' => 'fas fa-sign-out-alt',
        // ],

    ],

    /*
    |--------------------------------------------------------------------------
    | Menu Filters
    |--------------------------------------------------------------------------
    |
    | Here we can modify the menu filters of the admin panel.
    |
    | For detailed instructions you can look the menu filters section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration
    |
    */

    'filters' => [
        JeroenNoten\LaravelAdminLte\Menu\Filters\GateFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\HrefFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\SearchFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\ActiveFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\ClassesFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\LangFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\DataFilter::class,
    ],

    /*
    |--------------------------------------------------------------------------
    | Plugins Initialization
    |--------------------------------------------------------------------------
    |
    | Here we can modify the plugins used inside the admin panel.
    |
    | For detailed instructions you can look the plugins section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Plugins-Configuration
    |
    */

    'plugins' => [
        'Datatables' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js',
                ],
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js',
                ],
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css',
                ],
            ],
        ],
        'Select2' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => true,
                    'location' => 'vendor/select2/js/select2.full.min.js',
                ],
                [
                    'type' => 'css',
                    'asset' => true,
                    'location' => 'vendor/select2/css/select2.min.css',
                ],
                [
                    'type' => 'css',
                    'asset' => true,
                    'location' => 'vendor/select2-bootstrap4-theme/select2-bootstrap4.min.css',
                ],
            ],
        ],
        'iCheck' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'css',
                    'asset' => true,
                    'location' => 'vendor/icheck-bootstrap/icheck-bootstrap.min.css',
                ]
            ],
        ],
        'Chartjs' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.bundle.min.js',
                ],
            ],
        ],
        'Sweetalert2' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdn.jsdelivr.net/npm/sweetalert2@8',
                ],
            ],
        ],
        'Pace' => [
            'active' => false,
            'files' => [
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/blue/pace-theme-center-radar.min.css',
                ],
                [
                    'type' => 'js',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js',
                ],
            ],
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | IFrame
    |--------------------------------------------------------------------------
    |
    | Here we change the IFrame mode configuration. Note these changes will
    | only apply to the view that extends and enable the IFrame mode.
    |
    | For detailed instructions you can look the iframe mode section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/IFrame-Mode-Configuration
    |
    */

    'iframe' => [
        'default_tab' => [
            'url' => null,
            'title' => null,
        ],
        'buttons' => [
            'close' => true,
            'close_all' => true,
            'close_all_other' => true,
            'scroll_left' => true,
            'scroll_right' => true,
            'fullscreen' => true,
        ],
        'options' => [
            'loading_screen' => 1000,
            'auto_show_new_tab' => true,
            'use_navbar_items' => true,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Livewire
    |--------------------------------------------------------------------------
    |
    | Here we can enable the Livewire support.
    |
    | For detailed instructions you can look the livewire here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
    |
    */

    'livewire' => false,
];
