<div id="kt_app_sidebar" class="app-sidebar flex-column" data-kt-drawer="true" data-kt-drawer-name="app-sidebar" data-kt-drawer-activate="{default: true, lg: false}" data-kt-drawer-overlay="true" data-kt-drawer-width="225px" data-kt-drawer-direction="start" data-kt-drawer-toggle="#kt_app_sidebar_mobile_toggle">
    <!--begin::Logo-->
    <div class="app-sidebar-logo px-6" id="kt_app_sidebar_logo">
        <!--begin::Logo image-->
        <a href="<?php echo e(route ('admin.dashboard')); ?>">
            <img alt="Logo" src="<?php echo e(asset('storage/logos/PARVUZ_LOGO_hd_white-trans.png')); ?>" class="h-25px app-sidebar-logo-default">
            <img alt="Logo" src="<?php echo e(asset('storage/logos/logo_without_word_white_trans.png')); ?>" class="h-20px app-sidebar-logo-minimize">
        </a>
        <!--end::Logo image-->
        <!--begin::Sidebar toggle-->

        <div id="kt_app_sidebar_toggle" class="app-sidebar-toggle btn btn-icon btn-shadow btn-sm btn-color-muted btn-active-color-primary h-30px w-30px position-absolute top-50 start-100 translate-middle rotate" data-kt-toggle="true" data-kt-toggle-state="active" data-kt-toggle-target="body" data-kt-toggle-name="app-sidebar-minimize">
            <i class="ki-duotone ki-black-left-line fs-3 rotate-180">
                <span class="path1"></span>
                <span class="path2"></span>
            </i>
        </div>
        <!--end::Sidebar toggle-->
    </div>
    <!--end::Logo-->
    <!--begin::sidebar menu-->
    <div class="app-sidebar-menu overflow-hidden flex-column-fluid">
        <!--begin::Menu wrapper-->
        <div id="kt_app_sidebar_menu_wrapper" class="app-sidebar-wrapper">
            <!--begin::Scroll wrapper-->
            <div id="kt_app_sidebar_menu_scroll" class="scroll-y my-5 mx-3" data-kt-scroll="true" data-kt-scroll-activate="true" data-kt-scroll-height="auto" data-kt-scroll-dependencies="#kt_app_sidebar_logo, #kt_app_sidebar_footer" data-kt-scroll-wrappers="#kt_app_sidebar_menu" data-kt-scroll-offset="5px" data-kt-scroll-save-state="true" style="height: 700px;">
                <!--begin::Menu-->
                <div class="menu menu-column menu-rounded menu-sub-indention fw-semibold fs-6" id="#kt_app_sidebar_menu" data-kt-menu="true" data-kt-menu-expand="false">

                    <div class="menu-item menu-accordion">
                        <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.dashboard') === 0) ? 'active' : ''); ?>"  href="<?php echo e(route('admin.dashboard')); ?>">
                            <span class="menu-icon">
                                <i class="ki-duotone ki-element-11 fs-2">
                                    <span class="path1"></span>
                                    <span class="path2"></span>
                                    <span class="path3"></span>
                                    <span class="path4"></span>
                                </i>
                            </span>
                            <span class="menu-title"><?php echo e(__('Dashboard')); ?></span>
                        </a>
                    </div>
                    <!--begin:Menu item-->
                    <div class="menu-item pt-5">
                        <div class="menu-content">
                            <span class="menu-heading fw-bold text-uppercase fs-7">Pages</span>
                        </div>
                    </div>
                    <!--end:Menu item-->

                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['user-view','role-add'])): ?>
                    <div class="menu-item menu-accordion" x-data="{ open: <?php echo e((strpos(Route::currentRouteName(), 'admin.users') === 0 || strpos(Route::currentRouteName(), 'admin.roles') === 0) ? 'true' : 'false'); ?> }">
                        <div class="menu-link " @click="open = !open" :class="{ 'active': open }">
                            <span class="menu-icon">
                                <i class="ki-duotone ki-color-swatch fs-2">
                                    <span class="path1"></span>
                                    <span class="path2"></span>
                                    <span class="path3"></span>
                                    <span class="path4"></span>
                                    <span class="path5"></span>
                                    <span class="path6"></span>
                                    <span class="path7"></span>
                                    <span class="path8"></span>
                                    <span class="path9"></span>
                                    <span class="path10"></span>
                                    <span class="path11"></span>
                                    <span class="path12"></span>
                                    <span class="path13"></span>
                                    <span class="path14"></span>
                                    <span class="path15"></span>
                                    <span class="path16"></span>
                                    <span class="path17"></span>
                                    <span class="path18"></span>
                                    <span class="path19"></span>
                                    <span class="path20"></span>
                                    <span class="path21"></span>
                                </i>
                            </span>
                            <span class="menu-title"><?php echo e(__('User Management')); ?></span>
                            <span class="menu-arrow"></span>
                        </div>

                        <div x-show="open">
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user-view')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.users') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.users.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('Users')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role-view')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.roles') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.roles.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('Roles')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                        </div>
                    </div>
                    <?php endif; ?>

                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['invoice-view','invoice-add','invoice-delete'])): ?>
                    <div class="menu-item menu-accordion" x-data="{ open: <?php echo e((strpos(Route::currentRouteName(), 'admin.invoice.index') === 0 || strpos(Route::currentRouteName(), 'admin.invoice.create') === 0) ? 'true' : 'false'); ?> }">
                        <div class="menu-link " @click="open = !open" :class="{ 'active': open }">
                            <span class="menu-icon">
                                <i class="ki-duotone ki-color-swatch fs-2">
                                    <span class="path1"></span>
                                    <span class="path2"></span>
                                    <span class="path3"></span>
                                    <span class="path4"></span>
                                    <span class="path5"></span>
                                    <span class="path6"></span>
                                    <span class="path7"></span>
                                    <span class="path8"></span>
                                    <span class="path9"></span>
                                    <span class="path10"></span>
                                    <span class="path11"></span>
                                    <span class="path12"></span>
                                    <span class="path13"></span>
                                    <span class="path14"></span>
                                    <span class="path15"></span>
                                    <span class="path16"></span>
                                    <span class="path17"></span>
                                    <span class="path18"></span>
                                    <span class="path19"></span>
                                    <span class="path20"></span>
                                    <span class="path21"></span>
                                </i>
                            </span>
                            <span class="menu-title"><?php echo e(__('KPB Invoice')); ?></span>
                            <span class="menu-arrow"></span>
                        </div>
                        <div x-show="open">
                            <div class="menu-item">
                                <div class="menu-content">
                                    <span class="menu-heading fw-bold text-uppercase fs-7">Color Invoice</span>
                                </div>
                            </div>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('invoice-view')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.invoice.index') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.invoice.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('View Color Invoice')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('invoice-add')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.invoice.create') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.invoice.create')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('Create Color Invoice')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                        </div>
                        <div x-show="open">
                            <div class="menu-item">
                                <div class="menu-content">
                                    <span class="menu-heading fw-bold text-uppercase fs-7">Gerai Invoice</span>
                                </div>
                            </div>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('invoice-view')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.gerai.index') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.gerai.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('View Gerai Invoice')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('invoice-add')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.gerai.create') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.gerai.create')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('Create Gerai Invoice')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                        </div>
                    </div>
                    <?php endif; ?>

                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['daily-view','daily-add','daily-delete'])): ?>
                    <div class="menu-item menu-accordion" x-data="{ open: <?php echo e((strpos(Route::currentRouteName(), 'admin.daily.index') === 0 || strpos(Route::currentRouteName(), 'admin.daily.create') === 0) ? 'true' : 'false'); ?> }">
                        <div class="menu-link " @click="open = !open" :class="{ 'active': open }">
                            <span class="menu-icon">
                                <i class="ki-duotone ki-color-swatch fs-2">
                                    <span class="path1"></span>
                                    <span class="path2"></span>
                                    <span class="path3"></span>
                                    <span class="path4"></span>
                                    <span class="path5"></span>
                                    <span class="path6"></span>
                                    <span class="path7"></span>
                                    <span class="path8"></span>
                                    <span class="path9"></span>
                                    <span class="path10"></span>
                                    <span class="path11"></span>
                                    <span class="path12"></span>
                                    <span class="path13"></span>
                                    <span class="path14"></span>
                                    <span class="path15"></span>
                                    <span class="path16"></span>
                                    <span class="path17"></span>
                                    <span class="path18"></span>
                                    <span class="path19"></span>
                                    <span class="path20"></span>
                                    <span class="path21"></span>
                                </i>
                            </span>
                            <span class="menu-title"><?php echo e(__('KPB Daily Distribution')); ?></span>
                            <span class="menu-arrow"></span>
                        </div>

                        <div x-show="open">
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('daily-view')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.daily.index') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.daily.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('View Distribution')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('daily-add')): ?>
                            <div class="menu-item menu-accordion">
                                <a class="menu-link <?php echo e((strpos(Route::currentRouteName(), 'admin.daily.create') === 0) ? 'active' : ''); ?>" href="<?php echo e(route('admin.daily.create')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('Create Distribution')); ?></span>
                                </a>
                            </div>
                            <?php endif; ?>
                            
                        </div>
                    </div>
                    <?php endif; ?>

                    

                </div>
                <!--end::Menu-->
            </div>
            <!--end::Scroll wrapper-->
        </div>
        <!--end::Menu wrapper-->
    </div>
    <!--end::sidebar menu-->
</div>
<!--end::Sidebar-->
<?php /**PATH C:\xampp\htdocs\local.kpb\resources\views/layouts/sidebar.blade.php ENDPATH**/ ?>