Viewing file: 6f5ed844ac582d206e9f63068fb0b5d634373ae0.php (3.13 KB) -rwxrwxr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<ul class="metismenu sidebar-height" id="menu"> <?php if(isset(auth()->user()->type) && auth()->user()->type=='customer'): ?> <li><a class="ai-icon" href="<?php echo e(route('dashboard')); ?>" aria-expanded="false"> <i class="flaticon-381-networking"></i> <span class="nav-text"><?php echo e(trans('layout.dashboard')); ?></span> </a> </li> <?php endif; ?>
<?php if(auth()->check()): ?> <?php $menu= \App\Models\Menu::where('user_id',auth()->user()->id)->orderBy('created_at','desc')->limit(1)->get(); ?> <?php if(isset($menu[0]) && $menu[0]): ?> <li><a class="has-arrow ai-icon" href="javascript:void(0)" aria-expanded="false"> <i class="flaticon-381-add"></i> <span class="nav-text"><?php echo e(trans('layout.menu')); ?></span> </a> <ul aria-expanded="false"> <?php $__currentLoopData = $rest_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><a data-id="<?php echo e($cat->id); ?>" class="ai-icon item-category" href="javascript:void(0)" aria-expanded="false"> <i class="flaticon-381-networking"></i> <span class="nav-text"><?php echo e($cat->name); ?></span> </a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </li> <?php endif; ?> <?php endif; ?>
<?php if(auth()->check()): ?> <?php $modules = modules_status('MultiRestaurant'); ?> <?php if($modules && $restaurant->on_multi_restaurant == 'publish'): ?> <?php if(auth()->user()->type == 'customer'): ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reservation')): ?> <li class=" active-no-child"> <a class="ai-icon" href="<?php echo e(route('multirestaurant::restaurant', $restaurant->id)); ?>" aria-expanded="false" target="_blank"> <i class="flaticon-381-notepad "></i> <span class="nav-text"><?php echo e(trans('layout.reservations')); ?></span> </a> </li> <?php endif; ?> <?php endif; ?> <?php endif; ?> <?php endif; ?>
<?php if(!auth()->check()): ?> <li><a class="ai-icon" href="<?php echo e(route('registration',['type'=>'customer','restaurant'=>request()->get('id'),'slug'=>request()->segment(2)])); ?>" aria-expanded="false"> <i class="flaticon-381-add"></i> <span class="nav-text"><?php echo e(trans('layout.signup')); ?></span> </a> </li> <?php endif; ?> </ul>
<div class="copyright mt-4"> <p><strong><?php echo e(json_decode(get_settings('site_setting'))->name); ?> </strong> © <?php echo e(date('Y')); ?> All Rights Reserved</p> </div> <?php /**PATH /home/picotech/domains/qr.picotech.app/public_html/resources/views/layouts/includes/restaurant_sidebar.blade.php ENDPATH**/ ?>
|