<section class="sidemenu">
    <div class="logo">
        <img src="<?php echo e(asset('/assets/logo.svg')); ?>" alt="">
    </div>

    <ul class="sidemenu-links">
        <li class="<?php echo e($activeMenu[""] ?? ''); ?>">
            <a href="<?php echo e(url('/storeDashboard')); ?>"> <i class="fas fa-chart-line"></i> <span><?php echo e(__('dashboard.dashboard')); ?></span></a>
        </li>
        
        <?php if(store()): ?>
        <li class="<?php echo e($activeMenu[""] ?? ''); ?>">
            <a href="<?php echo e(url('/storeDashboard/profile')); ?>"> <i class="fas fa-chart-line"></i> <span><?php echo e(__('web.profile')); ?></span></a>
        </li>
       <li class="linkGroup">
                    <a href="javascript:void" class="linkItem-head"> <i class="fab fa-servicestack"></i> <span> <?php echo e(__('services.head')); ?> </span></a>
                    <ul class="linkItem-body">
                        <li>
                            <a href="<?php echo e(url(getCurrentLocale().'/storeDashboard/service')); ?>"><?php echo e(__('services.head')); ?></a>
                        </li>
                        <li>
                                                            <a href="<?php echo e(url(getCurrentLocale().'/storeDashboard/service/create')); ?>"><?php echo e(__('services.new')); ?></a>
                                                    </li>

                    </ul>
                </li>
                <li class="linkGroup">
                    <a href="javascript:void" class="linkItem-head"> <i class="fas fa-barcode"></i> <span> <?php echo e(__('cobons.head')); ?> </span></a>
                    <ul class="linkItem-body">
                        <li>
                            <a href="<?php echo e(url(getCurrentLocale().'/storeDashboard/cobon')); ?>"><?php echo e(__('cobons.head')); ?></a>
                        </li>
                        <li>
                                                            <a href="<?php echo e(url(getCurrentLocale().'/storeDashboard/cobon/create')); ?>"><?php echo e(__('cobons.new')); ?></a>
                                                    </li>

                    </ul>
                </li>
                <li class="linkGroup">
                    <a href="javascript:void" class="linkItem-head"> <i class="fas fa-code-branch"></i> <span> <?php echo e(__('branches.head')); ?> </span></a>
                    <ul class="linkItem-body">
                        <li>
                            <a href="<?php echo e(url(getCurrentLocale().'/storeDashboard/branch')); ?>"><?php echo e(__('branches.head')); ?></a>
                        </li>
                        <li>
                                                            <a href="<?php echo e(url(getCurrentLocale().'/storeDashboard/branch/create')); ?>"><?php echo e(__('branches.new')); ?></a>
                                                    </li>

                    </ul>
                </li>
                <li class="<?php echo e($activeMenu[""] ?? ''); ?>">
            <a href="<?php echo e(url('/storeDashboard/notification')); ?>"> <i class="fas fa-bell"></i> <span> <?php echo e(__('notifications.head')); ?> </span></a>
        </li>
        <?php endif; ?>
        <li>
            <a data-toggle="modal" data-target="#logout" href="<?php echo e(route('store_logout')); ?>" ><i class="fas fa-sign-out-alt"></i> <span> <?php echo e(__('dashboard.Logout')); ?> </span></a>
        </li>
    </ul>
</section>





<!-- Modal -->
<div class="modal fade" id="logout" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel"><?php echo e(__('dashboard.Logoutcons')); ?></h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <h3><?php echo e(__('dashboard.sure')); ?> <i class="fa fa-exclamation-circle text-danger"></i></h3>
                <form id="logout-form-side" action="<?php echo e(route('store_logout')); ?>" method="POST" style="display: none;">
                    <?php echo csrf_field(); ?>
                </form>
            </div>
            <div class="modal-footer justify-content-between">
                <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(__('dashboard.close')); ?></button>
                <button onclick="document.getElementById('logout-form-side').submit()" type="button" class="btn btn-primary"><?php echo e(__('dashboard.Logout')); ?></button>
            </div>
        </div>
    </div>
</div>


<?php /**PATH /home/omaralyomhost/public_html/4u/resources/views/store/layouts/menu.blade.php ENDPATH**/ ?>