Edit File: 64ed167fa23de310d8f897a9fa7071e5ba24e029.php
<?php $__env->startSection('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/admin_index.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.search-table','data' => ['datefilter' => 'true','order' => 'true','extrabuttons' => 'true','searchArray' => [ 'name' => [ 'input_type' => 'text' , 'input_name' => awtTrans('الاسم') , ], ]]]); ?> <?php $component->withName('admin.search-table'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['datefilter' => 'true','order' => 'true','extrabuttons' => 'true','searchArray' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([ 'name' => [ 'input_type' => 'text' , 'input_name' => awtTrans('الاسم') , ], ])]); ?> <?php $__env->slot('extrabuttonsdiv', null, []); ?> <?php $__env->endSlot(); ?> <?php $__env->slot('tableContent', null, []); ?> <div class="table_content_append"> </div> <?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/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> <script> $(document).on('click' , '.refuse-row', function (e) { e.preventDefault() Swal.fire({ title: "<?php echo e(__('هل تريد الاستمرار ؟')); ?>", text: "<?php echo e(__('هل انت متأكد انك تريد استكمال عملية الرفض')); ?>", type: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: '<?php echo e(awtTrans("تأكيد")); ?>', confirmButtonClass: 'btn btn-primary', cancelButtonText: '<?php echo e(awtTrans("الغاء")); ?>', cancelButtonClass: 'btn btn-danger ml-1', buttonsStyling: false, }).then( (result) => { if (result.value) { $.ajax({ type: "post", url: "<?php echo e(url('admin/stores/accept-refuse')); ?>", data: {"id": $(this).data('id') , "status":$(this).data('status') }, dataType: "json", success: (response) => { Swal.fire( { position: 'top-start', type: 'success', title: '<?php echo e(awtTrans('تم الرفض بنجاح')); ?>', showConfirmButton: false, timer: 1500, confirmButtonClass: 'btn btn-primary', buttonsStyling: false, }) // toastr.error() $(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 echo $__env->make('admin.shared.filter_js' , [ 'index_route' => url('admin/stores/update-profile')], \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/updateProfile.blade.php ENDPATH**/ ?>
Back to File Manager