Edit File: e7383b32db03606244df985bec30c2ceb2957976.php
<?php $__env->startSection('css'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/tables/datatable/datatables.min.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/tables/datatable/extensions/dataTables.checkboxes.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/css-rtl/pages/data-list-view.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/css-rtl/core/colors/palette-gradient.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/extensions/sweetalert2.min.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.admin.table','data' => ['filter' => 'true','addbutton' => ''.e(route('admin.stores.create')).'','deletebutton' => ''.e(route('admin.stores.deleteAll')).'']]); ?> <?php $component->withName('admin.table'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['filter' => 'true','addbutton' => ''.e(route('admin.stores.create')).'','deletebutton' => ''.e(route('admin.stores.deleteAll')).'']); ?> <?php $__env->slot('tableHead', null, []); ?> <th> <label class="container-checkbox"> <input type="checkbox" value="value1" name="name1" id="checkedAll"> <span class="checkmark"></span> </label> </th> <th><?php echo e(awtTrans('التاريخ')); ?></th> <th><?php echo e(awtTrans('صوره الايقونة')); ?></th> <th><?php echo e(awtTrans('اسم المتجر')); ?></th> <th><?php echo e(awtTrans('رقم هاتف المستخدم')); ?></th> <th><?php echo e(awtTrans('عرض المنيو')); ?></th> <th><?php echo e(awtTrans('عرض المنتجات')); ?></th> <th><?php echo e(awtTrans('التحكم')); ?></th> <?php $__env->endSlot(); ?> <?php $__env->slot('tableBody', null, []); ?> <?php $__currentLoopData = $rows; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="delete_row"> <td class="text-center"> <label class="container-checkbox"> <input type="checkbox" class="checkSingle" id="<?php echo e($row->id); ?>"> <span class="checkmark"></span> </label> </td> <td><?php echo e(\Carbon\Carbon::parse($row->created_at)->format('d/m/Y')); ?></td> <td><img src="<?php echo e(asset('assets/uploads/stores/'.$row->store->icon)); ?>" width="50px" height="50px" alt=""></td> <td><?php echo e($row->store->name); ?></td> <td><?php echo e($row->phone); ?></td> <td><a class="d-flex font-medium-1" href="<?php echo e(url('admin/stores/menus/' .$row->store->id )); ?>"><?php echo e(awtTrans('عرض')); ?></a></td> <td><a class="d-flex font-medium-1" href="<?php echo e(url('admin/stores-products/' .$row->store->id )); ?>"><?php echo e(awtTrans('عرض')); ?></a></td> <td> <div class="dropdown"> <a href="#" class="dropdown-toggle" id="folder" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></a> <div style="z-index: 100000" class="dropdown-menu dropdown-menu-right" aria-labelledby="folder" x-placement="bottom-end" style="position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(-93px, 22px, 0px);"> <a class="dropdown-item d-flex font-medium-1" href="<?php echo e(url('admin/stores/dates/' .$row->store->id )); ?>"><i class="font-medium-3 feather icon-eye mr-50"></i> <?php echo e($row->store->timings->count() > 0 ? awtTrans('تعديل مواقيت العمل') : awtTrans('اضافة مواقيت العمل ')); ?></a> <a class="dropdown-item d-flex font-medium-1" href="<?php echo e(url('admin/stores/offer/' .$row->store->id )); ?>"><i class="font-medium-3 feather icon-eye mr-50"></i> <?php echo e($row->store->offer == 'true' ? awtTrans('تعديل عرض توصيل') : awtTrans('اضافة عرض توصيل')); ?></a> <a class="dropdown-item d-flex font-medium-1" href="<?php echo e(url('admin/stores/branches/' .$row->store->id )); ?>"><i class="font-medium-3 feather icon-eye mr-50"></i> <?php echo e(awtTrans('عرض الافرع')); ?></a> <a class="dropdown-item d-flex font-medium-1" href="<?php echo e(route('admin.stores.show', ['id' => $row->store->id])); ?>"><i class="font-medium-3 feather icon-eye mr-50"></i> <?php echo e(awtTrans('عرض المتجر')); ?></a> <a class="dropdown-item d-flex font-medium-1" href="<?php echo e(route('admin.stores.edit', ['id' => $row->store->id])); ?>"><i class="font-medium-3 feather icon-edit mr-50"></i> <?php echo e(awtTrans('تعديل')); ?></a> <a class="delete-row dropdown-item d-flex font-medium-1 text-danger" href="#" data-url="<?php echo e(url('admin/stores/' . $row->id)); ?>"><i class="font-medium-3 feather icon-trash mr-50"></i> <?php echo e(awtTrans('حذف')); ?></a> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalaeba0e9d2ab357f67dded170d71cf83d5ff8ac27 = $component; } ?> <?php $component = $__env->getContainer()->make(App\View\Components\Admin\NotifyAll::class, ['route' => ''.e(route('admin.clients.notify')).'']); ?> <?php $component->withName('admin.NotifyAll'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalaeba0e9d2ab357f67dded170d71cf83d5ff8ac27)): ?> <?php $component = $__componentOriginalaeba0e9d2ab357f67dded170d71cf83d5ff8ac27; ?> <?php unset($__componentOriginalaeba0e9d2ab357f67dded170d71cf83d5ff8ac27); ?> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <script src="<?php echo e(asset('admin/app-assets/vendors/js/tables/datatable/datatables.min.js')); ?>"> </script> <script src="<?php echo e(asset('admin/app-assets/vendors/js/tables/datatable/datatables.bootstrap4.min.js')); ?>"> </script> <script src="<?php echo e(asset('admin/app-assets/js/scripts/ui/data-list-view.js')); ?>"></script> <script src="<?php echo e(asset('admin/app-assets/vendors/js/extensions/sweetalert2.all.min.js')); ?>"> </script> <script src="<?php echo e(asset('admin/app-assets/js/scripts/extensions/sweet-alerts.js')); ?>"> </script> <script> $(document).on('click' , '.accept_company', function (e) { e.preventDefault() $.ajax({ type: "post", url: "<?php echo e(url('admin/stores/accept-refuse')); ?>", data: {status : $(this).data('status') , id : $(this).data('id')}, dataType: "json", success: (response) => { toastr.success(response.message) $(this).parent().parent().remove() } }); }); </script> <?php echo $__env->make('admin.shared.deleteAll', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('admin.shared.deleteOne', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('admin.shared.notify', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/wwineerc/public_html/resources/views/admin/stores/refused.blade.php ENDPATH**/ ?>
Back to File Manager