Edit File: 362d0f8b6d53d270d7de1cf00d3d6adea033c273.php
<?php $__env->startSection('css'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/css-rtl/plugins/forms/validation/form-validation.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/extensions/sweetalert2.min.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/index_page.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="content-body"> <div class="mb-1 d-flex justify-content-between m-0"> <?php if (isset($component)) { $__componentOriginal8ab64a152ebd5dc11aab297c2fbeb1c6ee34b75e = $component; } ?> <?php $component = App\View\Components\Admin\Buttons::resolve(['extrabuttons' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.buttons'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Admin\Buttons::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->slot('extrabuttonsdiv', null, []); ?> <a type="button" data-toggle="modal" data-target="#notify" class="btn bg-gradient-info mr-1 mb-1 waves-effect waves-light notify" data-type="providers"><i class="feather icon-bell"></i> <?php echo e(__('admin.Send_notification')); ?></a> <a type="button" data-toggle="modal" data-target="#mail" class="btn bg-gradient-success mr-1 mb-1 waves-effect waves-light mail" data-id="all" data-type="providers"><i class="feather icon-mail"></i> <?php echo e(__('admin.Send_email')); ?></a> <a class="btn bg-gradient-info mr-1 mb-1 waves-effect waves-light" href="<?php echo e(url(route('admin.master-export', 'Provider'))); ?>"><i class="fa fa-file-excel-o"></i> <?php echo e(__('admin.export')); ?></a> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal8ab64a152ebd5dc11aab297c2fbeb1c6ee34b75e)): ?> <?php $component = $__componentOriginal8ab64a152ebd5dc11aab297c2fbeb1c6ee34b75e; ?> <?php unset($__componentOriginal8ab64a152ebd5dc11aab297c2fbeb1c6ee34b75e); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalcd3d56d807712dee9d45093831508c7c3364ab65 = $component; } ?> <?php $component = App\View\Components\Admin\Filter::resolve(['datefilter' => 'true','order' => 'true','searchArray' => [ 'name' => [ 'input_type' => 'text' , 'input_name' => __('admin.name') , ], 'phone' => [ 'input_type' => 'text' , 'input_name' => __('admin.phone') , ] , 'email' => [ 'input_type' => 'text' , 'input_name' => __('admin.email') , ] , 'is_blocked' => [ 'input_type' => 'select' , 'rows' => [ '1' => [ 'name' => 'محظور' , 'id' => 1 , ], '2' => [ 'name' => 'غير محظور' , 'id' => 0 , ], ] , 'input_name' => __('admin.ban_status') , ] , 'active' => [ 'input_type' => 'select' , 'rows' => [ '1' => [ 'name' => 'مفعل' , 'id' => 1 , ], '2' => [ 'name' => 'غير مفعل' , 'id' => 0 , ], ] , 'input_name' => __('admin.phone_activation_status') , ] , ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.filter'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Admin\Filter::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcd3d56d807712dee9d45093831508c7c3364ab65)): ?> <?php $component = $__componentOriginalcd3d56d807712dee9d45093831508c7c3364ab65; ?> <?php unset($__componentOriginalcd3d56d807712dee9d45093831508c7c3364ab65); ?> <?php endif; ?> </div> <div class="table_content_append"> </div> </div> <?php if (isset($component)) { $__componentOriginalaeba0e9d2ab357f67dded170d71cf83d5ff8ac27 = $component; } ?> <?php $component = App\View\Components\Admin\NotifyAll::resolve(['route' => ''.e(route('admin.providers.notify')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.NotifyAll'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Admin\NotifyAll::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?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/forms/validation/jqBootstrapValidation.js')); ?>"></script> <script src="<?php echo e(asset('admin/app-assets/js/scripts/forms/validation/form-validation.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> <?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.filter_js' , [ 'index_route' => url('admin/providers')], \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(); ?> <script> $(document).ready(function () { $(document).on('click', '.block_user', function (e) { e.preventDefault(); $.ajax({ url: '<?php echo e(route("admin.providers.block")); ?>', method: 'post', data: {id: $(this).data('id')}, dataType: 'json', beforeSend: function () { $(this).html('<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>').attr('disable', true) }, success: function (response) { Swal.fire({ position: 'top-start', type: 'success', title: response.message, showConfirmButton: false, timer: 1500, confirmButtonClass: 'btn btn-primary', buttonsStyling: false, }) setTimeout(function () { getData() }, 1000); }, }); }); }); </script> <script> $(document).ready(function () { $(document).on('click', '.change_status', function (e) { e.preventDefault(); $.ajax({ url: '<?php echo e(route('admin.providers.status')); ?>', method: 'post', data: { id: $(this).data('id') }, dataType: 'json', beforeSend: function () { $(this).html( '<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>' ).attr('disable', true) }, success: function (response) { Swal.fire({ position: 'top-start', type: 'success', title: response.message, showConfirmButton: false, timer: 1500, confirmButtonClass: 'btn btn-primary', buttonsStyling: false, }) setTimeout(function () { getData() }, 1000); }, }); }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/thunderw/public_html/resources/views/admin/providers/index.blade.php ENDPATH**/ ?>
Back to File Manager