<?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' => 'Skim Pinjaman Buku Teks',
    'title_prefix' => '',
    'title_postfix' => ' | Skim Pinjaman Buku Teks',

    /*
    |--------------------------------------------------------------------------
    | 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' => false,

    /*
    |--------------------------------------------------------------------------
    | 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' => '<span style="font-size:11px;line-height:1.3;display:inline-block;"><strong style="font-size:10px;letter-spacing:0.3px;">BILIK OPERASI SPBT SEKOLAH (BOSS)</strong></span>',
    'logo_img' => 'image/JAIS-Logo (3).png',
    'logo_img_class' => 'brand-image elevation-3',
    'logo_img_xl' => null,
    'logo_img_xl_class' => 'brand-image-xs',
    'logo_img_alt' => 'JAIS Logo',

    /*
    |--------------------------------------------------------------------------
    | 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/AdminLTELogo.png',
            'alt' => 'Auth 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' => 'image/JAIS-Logo (3).png',
            'alt' => 'JAIS Logo',
            'effect' => 'animation__shake',
            'width' => 60,
            'height' => 60,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | 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' => false,
    'usermenu_header_class' => 'bg-primary',
    'usermenu_image' => false,
    'usermenu_desc' => false,
    'usermenu_profile_url' => false,

    /*
    |--------------------------------------------------------------------------
    | 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' => null,
    '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' => 'btn-flat btn-primary',

    /*
    |--------------------------------------------------------------------------
    | 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-expand',
    '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' => 'home',
    'logout_url' => 'logout',
    'login_url' => 'login',
    'register_url' => 'register',
    'password_reset_url' => 'password/reset',
    'password_email_url' => 'password/email',
    'profile_url' => 'profile',

    /*
    |--------------------------------------------------------------------------
    | Laravel Asset Bundling
    |--------------------------------------------------------------------------
    |
    | Here we can enable the Laravel Asset Bundling option for the admin panel.
    | Currently, the next modes are supported: 'mix', 'vite' and 'vite_js_only'.
    | When using 'vite_js_only', it's expected that your CSS is imported using
    | JavaScript. Typically, in your application's 'resources/js/app.js' file.
    | If you are not using any of these, leave it as 'false'.
    |
    | For detailed instructions you can look the asset bundling section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
    |
    */

    'laravel_asset_bundling' => false,
    'laravel_css_path' => 'css/app.css',
    'laravel_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'         => 'fullscreen-widget',
            'topnav_right' => true,
        ],

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

        // ── ADMIN menu ──
        [
            'text' => 'Dashboard',
            'url'  => 'admin/dashboard',
            'icon' => 'fas fa-fw fa-tachometer-alt',
            'can'  => 'is-admin',
        ],
        ['header' => 'MASTER DATA', 'can' => 'is-admin'],
        [
            'text'    => 'Pengguna',
            'icon'    => 'fas fa-fw fa-users',
            'can'     => 'is-admin',
            'submenu' => [
                [
                    'text' => 'Senarai Pengguna',
                    'url'  => 'admin/pengguna',
                    'icon' => 'fas fa-fw fa-list',
                ],
                [
                    'text' => 'Daftar Pengguna',
                    'url'  => 'admin/pengguna/daftar',
                    'icon' => 'fas fa-fw fa-user-plus',
                ],
            ],
        ],
        [
            'text'    => 'Daftar Maklumat',
            'icon'    => 'fas fa-fw fa-folder-open',
            'can'     => 'is-admin',
            'submenu' => [
                [
                    'text' => 'Jenis Sekolah',
                    'url'  => 'admin/jenis-sekolah',
                    'icon' => 'fas fa-fw fa-school',
                ],
                [
                    'text' => 'Daftar Buku',
                    'url'  => 'admin/buku',
                    'icon' => 'fas fa-fw fa-book',
                ],
                [
                    'text' => 'Daftar Kelas',
                    'url'  => 'admin/darjah',
                    'icon' => 'fas fa-fw fa-chalkboard',
                ],
            ],
        ],
        [
            'text' => 'Iklan',
            'icon' => 'fas fa-fw fa-bullhorn',
            'can'  => 'is-admin',
            'submenu' => [
                [
                    'text' => 'Senarai Iklan',
                    'url'  => 'admin/iklan',
                    'icon' => 'fas fa-fw fa-list',
                ],
                [
                    'text' => 'Background Login',
                    'url'  => 'admin/back-login',
                    'icon' => 'fas fa-fw fa-image',
                ],
            ],
        ],
        [
            'text' => 'Bantuan',
            'url'  => 'admin/bantuan',
            'icon' => 'fas fa-fw fa-question-circle',
            'can'  => 'is-admin',
        ],
        ['header' => 'LAPORAN', 'can' => 'is-admin'],
        [
            'text'    => 'Laporan Sekolah Rendah Negeri',
            'icon'    => 'fas fa-fw fa-file-alt',
            'can'     => 'is-admin',
            'submenu' => [
                [
                    'text' => 'Laporan Pesan Buku',
                    'url'  => 'admin/laporan/pesan-buku',
                    'icon' => 'fas fa-fw fa-book',
                ],
                [
                    'text' => 'Laporan Lebih Buku',
                    'url'  => 'admin/laporan/lebih-buku',
                    'icon' => 'fas fa-fw fa-boxes',
                ],
                [
                    'text' => 'Laporan Buku Rosak',
                    'url'  => 'admin/laporan/buku-rosak',
                    'icon' => 'fas fa-fw fa-book-dead',
                ],
            ],
        ],
        [
            'text'    => 'Laporan Kelas Kafa Menengah',
            'icon'    => 'fas fa-fw fa-mosque',
            'can'     => 'is-admin',
            'submenu' => [
                [
                    'text' => 'Laporan Pesan Buku',
                    'url'  => 'admin/laporan/kkm-pesan-buku',
                    'icon' => 'fas fa-fw fa-book',
                ],
                [
                    'text' => 'Laporan Lebih Buku',
                    'url'  => 'admin/laporan/kkm-lebih-buku',
                    'icon' => 'fas fa-fw fa-boxes',
                ],
                [
                    'text' => 'Laporan Buku Rosak',
                    'url'  => 'admin/laporan/kkm-buku-rosak',
                    'icon' => 'fas fa-fw fa-book-dead',
                ],
            ],
        ],


        // ── SUPERVISOR menu ──
        [
            'text' => 'Dashboard',
            'url'  => 'supervisor/dashboard',
            'icon' => 'fas fa-fw fa-tachometer-alt',
            'can'  => 'is-supervisor',
        ],
        ['header' => 'LAPORAN', 'can' => 'is-supervisor'],
        [
            'text'    => 'Laporan Sekolah Rendah Negeri',
            'icon'    => 'fas fa-fw fa-file-alt',
            'can'     => 'is-supervisor',
            'submenu' => [
                [
                    'text' => 'Laporan Pesan Buku',
                    'url'  => 'supervisor/laporan/buku',
                    'icon' => 'fas fa-fw fa-book',
                ],
                [
                    'text' => 'Laporan Lebih Buku',
                    'url'  => 'supervisor/laporan/pengesahan',
                    'icon' => 'fas fa-fw fa-boxes',
                ],
                [
                    'text' => 'Laporan Buku Rosak',
                    'url'  => 'supervisor/laporan/buku-rosak',
                    'icon' => 'fas fa-fw fa-book-dead',
                ],
            ],
        ],

        [
            'text'    => 'Laporan Kelas Kafa Menengah',
            'icon'    => 'fas fa-fw fa-mosque',
            'can'     => 'is-supervisor',
            'submenu' => [
                [
                    'text' => 'Laporan Pesan Buku',
                    'url'  => 'supervisor/laporan/kkm-buku',
                    'icon' => 'fas fa-fw fa-book',
                ],
                [
                    'text' => 'Laporan Lebih Buku',
                    'url'  => 'supervisor/laporan/kkm-lebih-buku',
                    'icon' => 'fas fa-fw fa-boxes',
                ],
                [
                    'text' => 'Laporan Buku Rosak',
                    'url'  => 'supervisor/laporan/kkm-buku-rosak',
                    'icon' => 'fas fa-fw fa-book-dead',
                ],
            ],
        ],
        [
            'header' => 'TETAPAN',
            'can' => 'is-supervisor',
        ],
        [
            'text' => 'Tetapan',
            'url'  => 'supervisor/tetapan',
            'icon' => 'fas fa-fw fa-cog',
            'can'  => 'is-supervisor',
        ],

        // ── CHECKER menu ──
        [
            'text' => 'Dashboard',
            'url'  => 'checker/dashboard',
            'icon' => 'fas fa-fw fa-tachometer-alt',
            'can'  => 'is-checker',
        ],
        ['header' => 'SEMAKAN', 'can' => 'is-checker'],
        [
            'text' => 'Senarai Semakan',
            'url'  => 'checker/pengesahan',
            'icon' => 'fas fa-fw fa-clipboard-check',
            'can'  => 'is-checker',
        ],
        [
            'text' => 'Sejarah Semakan',
            'url'  => 'checker/sejarah',
            'icon' => 'fas fa-fw fa-history',
            'can'  => 'is-checker',
        ],

        // ── PEMOHON menu ──
        [
            'text' => 'Dashboard',
            'url'  => 'pemohon/dashboard',
            'icon' => 'fas fa-fw fa-tachometer-alt',
            'can'  => 'is-pemohon',
        ],
        ['header' => 'PERMOHONAN', 'can' => 'is-pemohon'],
        [
            'text' => 'Daftar Jumlah Buku',
            'url'  => 'pemohon/jumlah-buku',
            'icon' => 'fas fa-fw fa-book-open',
            'can'  => 'is-pemohon',
            'submenu' => [
                [
                    'text' => 'D1 - Darjah 1',
                    'url'  => 'pemohon/jumlah-buku?darjah=D1',
                    'icon' => 'fas fa-fw fa-circle',
                ],
                [
                    'text' => 'D2 - Darjah 2',
                    'url'  => 'pemohon/jumlah-buku?darjah=D2',
                    'icon' => 'fas fa-fw fa-circle',
                ],
                [
                    'text' => 'D3 - Darjah 3',
                    'url'  => 'pemohon/jumlah-buku?darjah=D3',
                    'icon' => 'fas fa-fw fa-circle',
                ],
                [
                    'text' => 'D4 - Darjah 4',
                    'url'  => 'pemohon/jumlah-buku?darjah=D4',
                    'icon' => 'fas fa-fw fa-circle',
                ],
                [
                    'text' => 'D5 - Darjah 5',
                    'url'  => 'pemohon/jumlah-buku?darjah=D5',
                    'icon' => 'fas fa-fw fa-circle',
                ],
                [
                    'text' => 'D6 - Darjah 6',
                    'url'  => 'pemohon/jumlah-buku?darjah=D6',
                    'icon' => 'fas fa-fw fa-circle',
                ],
                [
                    'text' => 'TING1 - Tingkatan 1',
                    'url'  => 'pemohon/jumlah-buku?darjah=TING1',
                    'icon' => 'fas fa-fw fa-circle',
                    'can'  => 'has-kkm',
                ],
                [
                    'text' => 'TING2 - Tingkatan 2',
                    'url'  => 'pemohon/jumlah-buku?darjah=TING2',
                    'icon' => 'fas fa-fw fa-circle',
                    'can'  => 'has-kkm',
                ],
                [
                    'text' => 'TING3 - Tingkatan 3',
                    'url'  => 'pemohon/jumlah-buku?darjah=TING3',
                    'icon' => 'fas fa-fw fa-circle',
                    'can'  => 'has-kkm',
                ],
                [
                    'text' => 'TING4 - Tingkatan 4',
                    'url'  => 'pemohon/jumlah-buku?darjah=TING4',
                    'icon' => 'fas fa-fw fa-circle',
                    'can'  => 'has-kkm',
                ],
            ],
        ],
        [
            'text'    => 'Pengesahan',
            'icon'    => 'fas fa-fw fa-check-double',
            'can'     => 'is-pemohon',
            'submenu' => [
                [
                    'text' => 'Hantar Pengesahan',
                    'url'  => 'pemohon/pengesahan',
                    'icon' => 'fas fa-fw fa-paper-plane',
                ],
                [
                    'text' => 'Status Pengesahan',
                    'url'  => 'pemohon/pengesahan/status',
                    'icon' => 'fas fa-fw fa-info-circle',
                ],
            ],
        ],

        // ── AKAUN (semua role) ──
        ['header' => 'AKAUN'],
        [
            'text' => 'Profil',
            'url'  => 'profile',
            'icon' => 'fas fa-fw fa-user-edit',
        ],
        [
            'text'   => 'Keluar',
            'url'    => 'logout',
            'icon'   => 'fas fa-fw fa-sign-out-alt',
            'method' => 'POST',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | 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' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js',
                ],
                [
                    'type' => 'css',
                    'asset' => false,
                    'location' => '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.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,
];
