



<?php $__env->startSection('title',__('All Menus')); ?>

<?php $__env->startSection('content'); ?>

<br>

<style>

    @media(max-width: 425px){

        .three{

            flex-direction: column !important;

        }

        .three a{

            width: 100%;

        } }

</style>

  <main>



            <div class="container">





                <div class="page-title-container">

                    <div class="row">

                        <!-- Title Start -->

                        <div class="col-12 col-md-7">

                            <h1 class="mb-0 pb-0 display-4" id="title"><?php echo app('translator')->get('All Menus'); ?></h1>

                            <nav class="breadcrumb-container d-inline-block" aria-label="breadcrumb">

                <ul class="breadcrumb pt-0">

                                    <li class="breadcrumb-item"><a href="<?php echo e(route('admin:home')); ?>"><?php echo app('translator')->get('Home'); ?></a></li>

                                    <li class="breadcrumb-item"><a href="<?php echo e(route('admin:menyus.index')); ?>"><?php echo app('translator')->get('Menus'); ?></a></li>

                            </ul>

            </nav>

                        </div>



                        <div class="col-12 col-md-5 d-flex align-items-start justify-content-end three">

                            <a href="<?php echo e(route('admin:menuCategories.index')); ?>" class="mb-1">

                                <button type="button" class="btn btn-outline-primary btn-icon btn-icon-start w-100 w-md-auto">

                                    <i data-acorn-icon="leaf" class="me-2" data-acorn-size="17"></i>

                                    <span><?php echo app('translator')->get('All Categories'); ?></span>

                                </button>

                            </a>

                            <a href="<?php echo e(route('admin:menyus.create')); ?>" class="mb-1">

                                <button type="button" class="btn btn-outline-primary btn-icon btn-icon-start w-100 w-md-auto">

                                    <i data-acorn-icon="plus" class="me-2" data-acorn-size="17"></i>

                                    <span><?php echo app('translator')->get('Create new Menu'); ?></span>

                                </button>

                            </a>

                            <div class="ms-1">

                                <button type="button" class="btn btn-outline-primary btn-icon btn-icon-only" data-bs-offset="0,3" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-submenu="">

                                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="acorn-icons acorn-icons-more-horizontal undefined"><path d="M9 10C9 9.44772 9.44772 9 10 9V9C10.5523 9 11 9.44772 11 10V10C11 10.5523 10.5523 11 10 11V11C9.44772 11 9 10.5523 9 10V10zM2 10C2 9.44772 2.44772 9 3 9V9C3.55228 9 4 9.44772 4 10V10C4 10.5523 3.55228 11 3 11V11C2.44772 11 2 10.5523 2 10V10zM16 10C16 9.44772 16.4477 9 17 9V9C17.5523 9 18 9.44772 18 10V10C18 10.5523 17.5523 11 17 11V11C16.4477 11 16 10.5523 16 10V10z"></path></svg>

                                </button>
                                <div class="dropdown-menu dropdown-menu-end">
                                    <a href="<?php echo e(route('admin:menyus.index')); ?>">
                                        <button class="dropdown-item" type="button"><?php echo app('translator')->get('All Menus'); ?></button>
                                    </a>
                                    <?php $__currentLoopData = $menuCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menuCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <a href="<?php echo e(route('admin:menyus.index',['category_id' =>$menuCategory->id])); ?>">
                                            <button class="dropdown-item" type="button"><?php echo e($menuCategory->menu_category()); ?></button>
                                        </a>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                </div>

                            </div>

                        </div>

                    </div>

                </div>



                <h2 class="small-title"><?php echo app('translator')->get('All Menus'); ?></h2>

                <div class="row g-4 mb-5">

                    <?php $__currentLoopData = $menyus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menyu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                        <div class="col-sm-6 col-lg-3 col-xxl-3 sh-40">

                            <div class="card h-100">

                                <img src="<?php echo e($menyu->image()); ?>" class="card-img-top sh-22" alt="<?php echo e($menyu->title()); ?>" />

                                <div class="card-body pb-0 d-flex" style="justify-content: space-between">

                                        <div class="mb-0 lh-1-5 sh-8 sh-md-6 clamp-line" ><?php echo e($menyu->title()); ?></div>

                                        <div class="mb-0 lh-1-5 sh-8 sh-md-6 clamp-line" >   ₼ <?php echo e($menyu->getAttribute('price')); ?> </div>

                                </div>

                                <div class="card-footer border-0 pt-0">

                                    <div class="row g-0">

                                <div class="btn-group btn-group-xl mb-1" role="group" aria-label="Basic example -lg">



                                        <a href="<?php echo e(route('admin:menyus.edit',$menyu->getAttribute('id'))); ?>">

                                            <button type="button" class="btn btn-secondary">

                                                <i data-acorn-icon="pen" class="text-primary me-1" data-acorn-size="15"></i>

                                            </button>

                                        </a>

                                        <a href="<?php echo e(route('admin:menyus.destroy',$menyu->getAttribute('id'))); ?>">

                                            <button type="button" class="btn btn-secondary">

                                                 <i data-acorn-icon="bin" class="text-primary me-1" data-acorn-size="15"></i>

                                            </button>

                                        </a>

                                </div>

                                    </div>

                                </div>

                            </div>

                        </div>

                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </div>

                </div>

        </main>

<?php $__env->stopSection(); ?>






<?php echo $__env->make('app.admin.layout.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/menyum/durrem.menyum.az/resources/views/app/admin/pages/menus/all-menus.blade.php ENDPATH**/ ?>