Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/dd2cbb6b8afbab45a032aee86dce8440.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e(__('Property Review')); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('admin-content'); ?> <div class="main-content"> <section class="section"> <div class="section-header"> <h1><?php echo e(__('Property Review')); ?></h1> <div class="section-header-breadcrumb"> <div class="breadcrumb-item active"><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('Dashboard')); ?></a> </div> <div class="breadcrumb-item"><?php echo e(__('Property Review')); ?></div> </div> </div> <div class="section-body"> <div class="mt-4 row"> <div class="col-12"> <div class="card"> <div class="card-header d-flex justify-content-between"> <h4><?php echo e(__('Property Review')); ?></h4> </div> <div class="card-body"> <div class="table-responsive max-h-400"> <table class="table table-striped"> <thead> <tr> <th width="5%"><?php echo e(__('Serial')); ?></th> <th width="15%"><?php echo e(__('Name')); ?></th> <th width="25%"><?php echo e(__('Comment')); ?></th> <th width="20%"><?php echo e(__('Rating')); ?></th> <th width="20%"><?php echo e(__('Property')); ?></th> <th width="15%"><?php echo e(__('Status')); ?></th> <th width="5%" class="text-center"><?php echo e(__('Action')); ?></th> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $review): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td><?php echo e($loop->index + 1); ?></td> <td><a href="<?php echo e(route('agent.show',['user_type' => '2','user_name'=>$review->user->user_name])); ?>"><?php echo e($review->user->name); ?></a></td> <td ><?php echo e($review->comment); ?></td> <td> <?php echo e(__('Service')); ?>= <?php echo e($review->service_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br > <?php echo e(__('Location')); ?>= <?php echo e($review->location_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br > <?php echo e(__('Value')); ?>= <?php echo e($review->money_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br > <?php echo e(__('Cleanliness')); ?>= <?php echo e($review->clean_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> <br > <?php echo e(__('Avarage')); ?>= <?php echo e($review->avarage_rating); ?> <i class="fas fa-star" aria-hidden="true"></i> </td> <td><a target="_blank" href="<?php echo e(route('property.details',$review->property->slug)); ?>"><?php echo e($review->property->title); ?></a></td> <td> <input onchange="changeStatus(<?php echo e($review->id); ?>)" id="status_toggle" type="checkbox" <?php echo e($review->status ? 'checked' : ''); ?> data-toggle="toggle" data-on="<?php echo e(__('Active')); ?>" data-off="<?php echo e(__('Inactive')); ?>" data-onstyle="success" data-offstyle="danger"> </td> <td class="text-center"> <div> <?php if (isset($component)) { $__componentOriginal18371a5a3845bb1bf4b5af13034b064c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18371a5a3845bb1bf4b5af13034b064c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.delete-button','data' => ['id' => $review->id,'onclick' => 'deleteData']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.delete-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($review->id),'onclick' => 'deleteData']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18371a5a3845bb1bf4b5af13034b064c)): ?> <?php $attributes = $__attributesOriginal18371a5a3845bb1bf4b5af13034b064c; ?> <?php unset($__attributesOriginal18371a5a3845bb1bf4b5af13034b064c); ?> <?php endif; ?> <?php if (isset($__componentOriginal18371a5a3845bb1bf4b5af13034b064c)): ?> <?php $component = $__componentOriginal18371a5a3845bb1bf4b5af13034b064c; ?> <?php unset($__componentOriginal18371a5a3845bb1bf4b5af13034b064c); ?> <?php endif; ?> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <?php if (isset($component)) { $__componentOriginal875c7a0bb47165de86ff51577f723b01 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal875c7a0bb47165de86ff51577f723b01 = $attributes; } ?> <?php $component = App\View\Components\EmptyTable::resolve(['name' => __('Property Review'),'route' => 'admin.property-type.create','create' => 'no','message' => __('No data found!'),'colspan' => '7'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('empty-table'); ?> <?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\EmptyTable::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($__attributesOriginal875c7a0bb47165de86ff51577f723b01)): ?> <?php $attributes = $__attributesOriginal875c7a0bb47165de86ff51577f723b01; ?> <?php unset($__attributesOriginal875c7a0bb47165de86ff51577f723b01); ?> <?php endif; ?> <?php if (isset($__componentOriginal875c7a0bb47165de86ff51577f723b01)): ?> <?php $component = $__componentOriginal875c7a0bb47165de86ff51577f723b01; ?> <?php unset($__componentOriginal875c7a0bb47165de86ff51577f723b01); ?> <?php endif; ?> <?php endif; ?> </tbody> </table> </div> <div class="float-right"> <?php echo e($reviews->links()); ?> </div> </div> </div> </div> </div> </div> </section> </div> <?php if (isset($component)) { $__componentOriginalaa3b824e4662c5ae30529397669d1c1d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalaa3b824e4662c5ae30529397669d1c1d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.delete-modal','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.delete-modal'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginalaa3b824e4662c5ae30529397669d1c1d)): ?> <?php $attributes = $__attributesOriginalaa3b824e4662c5ae30529397669d1c1d; ?> <?php unset($__attributesOriginalaa3b824e4662c5ae30529397669d1c1d); ?> <?php endif; ?> <?php if (isset($__componentOriginalaa3b824e4662c5ae30529397669d1c1d)): ?> <?php $component = $__componentOriginalaa3b824e4662c5ae30529397669d1c1d; ?> <?php unset($__componentOriginalaa3b824e4662c5ae30529397669d1c1d); ?> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('js'); ?> <script> function deleteData(id) { $("#deleteForm").attr("action", '<?php echo e(url('admin/review-delete')); ?>' + "/" + id) } function changeStatus(id) { var isDemo = "<?php echo e(env('APP_MODE') ?? 'LIVE'); ?>"; if (isDemo == 'DEMO') { toastr.error("<?php echo e(__('This Is Demo Version. You Can Not Change Anything')); ?>"); return; } $.ajax({ type: "put", data: { _token: '<?php echo e(csrf_token()); ?>', }, url: "<?php echo e(url('/admin/review-status/')); ?>" + "/" + id, success: function(response) { if (response.success) { toastr.success(response.message); } else { toastr.warning(response.message); } }, error: function(err) { handleFetchError(err); } }) } </script> <?php $__env->stopPush(); ?> <?php $__env->startPush('css'); ?> <style> .dd-custom-css { position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(0px, -131px, 0px); } .max-h-400 { min-height: 400px; } </style> <?php $__env->stopPush(); ?> <?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/Modules/Property/resources/views/admin/review/review.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка