Viewing file: 1d43279daf2271858cc4057ff0ad42b8.php (10.67 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(__('plan_list')); ?>
<?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="card p-2"> <div class="card-header"> <h3 class="card-title" style="line-height: 36px;"><?php echo e(__('plan_list')); ?></h3> <?php if(userCan('plan.create')): ?> <a href="<?php echo e(route('module.plan.create')); ?>" class="btn bg-primary float-right d-flex align-items-center justify-content-center"> <i class="fas fa-plus"></i> <?php echo e(__('create')); ?>
</a> <?php endif; ?> </div> <div class="row"> <div class="col-12 col-sm-12 col-md-2 mt-4"> <ul class="nav nav-pills flex-column"> <li class="nav-item border rounded mb-1"> <a class="nav-link active" data-toggle="tab" href="#all"> <?php echo e(__('all')); ?>
</a> </li> <li class="nav-item border rounded mb-1"> <a class="nav-link" data-toggle="tab" href="#one_time"> <?php echo e(__('one_time')); ?>
</a> </li> <li class="nav-item border rounded mb-1"> <a class="nav-link" data-toggle="tab" href="#recurring"> <?php echo e(__('recurring')); ?>
</a> </li> </ul> </div> <div class="col-12 col-sm-12 col-md-10 mt-4"> <div class="tab-content no-padding"> <div class="tab-pane show active" id="all"> <div class="row"> <?php $__empty_1 = true; $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <?php echo $__env->make('plan::single-plan', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <div class="col-md-12"> <div class="card text-center"> <div class="card-body"> <?php if (isset($component)) { $__componentOriginal29785112a59eec7800237cc87bc86e3e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal29785112a59eec7800237cc87bc86e3e = $attributes; } ?> <?php $component = App\View\Components\NotFound::resolve(['route' => 'module.plan.create'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('not-found'); ?> <?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\NotFound::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['message' => ''.e(__('no_data_found')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal29785112a59eec7800237cc87bc86e3e)): ?> <?php $attributes = $__attributesOriginal29785112a59eec7800237cc87bc86e3e; ?> <?php unset($__attributesOriginal29785112a59eec7800237cc87bc86e3e); ?> <?php endif; ?> <?php if (isset($__componentOriginal29785112a59eec7800237cc87bc86e3e)): ?> <?php $component = $__componentOriginal29785112a59eec7800237cc87bc86e3e; ?> <?php unset($__componentOriginal29785112a59eec7800237cc87bc86e3e); ?> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> </div> <div class="tab-pane" id="one_time"> <div class="row"> <?php $__empty_1 = true; $__currentLoopData = $one_time_plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <?php echo $__env->make('plan::single-plan', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <div class="col-md-12"> <div class="card text-center"> <div class="card-body"> <?php if (isset($component)) { $__componentOriginal29785112a59eec7800237cc87bc86e3e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal29785112a59eec7800237cc87bc86e3e = $attributes; } ?> <?php $component = App\View\Components\NotFound::resolve(['route' => 'module.plan.create'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('not-found'); ?> <?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\NotFound::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['message' => ''.e(__('no_data_found')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal29785112a59eec7800237cc87bc86e3e)): ?> <?php $attributes = $__attributesOriginal29785112a59eec7800237cc87bc86e3e; ?> <?php unset($__attributesOriginal29785112a59eec7800237cc87bc86e3e); ?> <?php endif; ?> <?php if (isset($__componentOriginal29785112a59eec7800237cc87bc86e3e)): ?> <?php $component = $__componentOriginal29785112a59eec7800237cc87bc86e3e; ?> <?php unset($__componentOriginal29785112a59eec7800237cc87bc86e3e); ?> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> </div> <div class="tab-pane" id="recurring"> <div class="row"> <?php $__empty_1 = true; $__currentLoopData = $recurring_plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <?php echo $__env->make('plan::single-plan', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <div class="col-md-12"> <div class="card text-center"> <div class="card-body"> <?php if (isset($component)) { $__componentOriginal29785112a59eec7800237cc87bc86e3e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal29785112a59eec7800237cc87bc86e3e = $attributes; } ?> <?php $component = App\View\Components\NotFound::resolve(['route' => 'module.plan.create'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('not-found'); ?> <?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\NotFound::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['message' => ''.e(__('no_data_found')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal29785112a59eec7800237cc87bc86e3e)): ?> <?php $attributes = $__attributesOriginal29785112a59eec7800237cc87bc86e3e; ?> <?php unset($__attributesOriginal29785112a59eec7800237cc87bc86e3e); ?> <?php endif; ?> <?php if (isset($__componentOriginal29785112a59eec7800237cc87bc86e3e)): ?> <?php $component = $__componentOriginal29785112a59eec7800237cc87bc86e3e; ?> <?php unset($__componentOriginal29785112a59eec7800237cc87bc86e3e); ?> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?>
<?php $__env->startSection('style'); ?> <style> .icon { height: 25px; width: 25px; display: flex; justify-content: center; align-items: center; background-color: #007bff; border-radius: 50%; color: white; } </style> <?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?> <script> function MonthlyPrice(plan) {
if ($('#customSwitch' + plan.id).is(":checked")) { $('#price' + plan.id).html("$" + plan.monthly_price); $('#monthoryear' + plan.id).html("<?php echo e(__('/monthly')); ?>"); } else { $('#price' + plan.id).html("$" + plan.yearly_price); $('#monthoryear' + plan.id).html("<?php echo e(__('/yearly')); ?>"); } } </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/Modules/Plan/Resources/views/index.blade.php ENDPATH**/ ?>
|