Viewing file: 6acf5f21659c9e89c21219f8cea1e24e.php (35.47 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="col-md-6 col-lg-4 col-xl-4 mb-3 col-12"> <div class="card h-100"> <div class="card-header text-center py-4"> <h4><?php echo e($plan->label); ?></h4> <?php if($plan->recommended): ?> <div class="badge badge-info"><?php echo e(__('recommended')); ?></div> <?php endif; ?> <div class="badge badge-secondary"> <?php if($plan->plan_payment_type == 'one_time'): ?> <?php echo e(__('one_time')); ?>
<?php else: ?> <?php echo e(__('recurring')); ?>
<?php endif; ?> </div> <div class="d-flex justify-content-center align-items-center text-center"> <h1 class="text-dark"> <?php echo e(changeCurrency($plan->price)); ?>
</h1> <div> <?php if($plan->plan_payment_type == 'recurring'): ?> <?php if($plan->interval == 'custom_date'): ?> <small>/<?php echo e($plan->custom_interval_days); ?>
<?php echo e(__('days')); ?></small> <?php else: ?> <small>/<?php echo e($plan->interval); ?></small> <?php endif; ?> <?php endif; ?> </div> </div> <?php if($plan->stripe_id): ?> <small><?php echo e(__('stripe_price_id')); ?>: <?php echo e($plan->stripe_id); ?></small> <?php endif; ?> </div> <div class="card-body"> <div class="mb-2 d-flex align-items-center justify-content-between"> <div class="d-flex"> <?php if($plan->ad_limit === 0): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('listing_post')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('listing_post_limit')); ?> : <?php echo e($plan->ad_limit); ?>
</h5> <?php endif; ?> </div> </div>
<div class="mb-2 d-flex align-items-center justify-content-between"> <div class="d-flex"> <?php if($plan->featured_limit === 0): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('featured_listing')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('featured_listing_limit')); ?> : <?php echo e($plan->featured_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->featured_duration < 1 ?__('lifetime') : $plan->featured_duration); ?>
<?php if($plan->featured_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </h5> <?php endif; ?> </div> </div>
<div class="mb-2 d-flex align-items-center justify-content-between"> <div class="d-flex"> <?php if($plan->urgent_limit === 0): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('urgent_listing')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('urgent_listing_limit')); ?> : <?php echo e($plan->urgent_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->urgent_duration < 1 ?__('lifetime') : $plan->urgent_duration); ?>
<?php if($plan->urgent_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </h5> <?php endif; ?> </div> </div>
<div class="mb-2 d-flex align-items-center justify-content-between"> <div class="d-flex"> <?php if($plan->highlight_limit === 0): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('highlight_listing')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('highlight_listing_limit')); ?> : <?php echo e($plan->highlight_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->highlight_duration < 1 ?__('lifetime') : $plan->highlight_duration); ?>
<?php if($plan->highlight_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </h5> <?php endif; ?> </div> </div>
<div class="mb-2 d-flex align-items-center justify-content-between"> <div class="d-flex"> <?php if($plan->top_limit === 0): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('top_listing')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('top_listing_limit')); ?> : <?php echo e($plan->top_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->top_duration < 1 ?__('lifetime') : $plan->top_duration); ?>
<?php if($plan->top_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </h5> <?php endif; ?> </div> </div>
<div class="mb-2 d-flex align-items-center justify-content-between"> <div class="d-flex"> <?php if($plan->bump_up_limit === 0): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('bump_up_listing')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('bump_up_listing_limit')); ?> : <?php echo e($plan->bump_up_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->bump_up_duration < 1 ?__('lifetime') : $plan->bump_up_duration); ?>
<?php if($plan->bump_up_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </h5> <?php endif; ?> </div> </div>
<div class="mb-2 align-items-center d-flex <?php echo e($plan->frontend_show ? 'active' : ''); ?>">
<?php if(!$plan->badge): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('membership_badge')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('membership_badge')); ?>
</h5> <?php endif; ?> </div>
<div class="mb-2 align-items-center d-flex <?php echo e($plan->frontend_show ? 'active' : ''); ?>">
<?php if(!$plan->premium_member): ?> <span class="icon mr-2 bg-danger"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '22','height' => '22']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('premium_membership')); ?> : <?php echo e(__('not_included')); ?>
</h5> <?php else: ?> <span class="icon mr-2"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '22','height' => '22'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <h5 class="mb-0"> <?php echo e(__('premium_membership')); ?>
</h5> <?php endif; ?> </div> </div> <div class="card-footer"> <div class=" d-flex justify-content-between"> <?php if(userCan('plan.update') || userCan('plan.delete')): ?> <?php if(userCan('plan.update')): ?> <a href="<?php echo e(route('module.plan.edit', $plan->id)); ?>" class="btn btn-primary"> <i class="fas fa-edit"></i> <?php echo e(__('edit')); ?>
</a> <?php endif; ?> <?php if($plan->id !== $setting->default_plan): ?> <?php if(userCan('plan.delete')): ?> <form action="<?php echo e(route('module.plan.delete', $plan->id)); ?>" class="" method="POST" onclick="return confirm('<?php echo e(__('Are you certain you want to delete this item? Deleting the plan will also remove the associated order.')); ?>')"> <?php echo csrf_field(); ?> <?php echo method_field('delete'); ?> <button type="submit" class="btn btn-danger w-100-p"> <i class="fas fa-trash"></i> <?php echo e(__('delete')); ?>
</button> </form> <?php endif; ?> <?php endif; ?> <?php endif; ?> </div> </div> </div> </div> <?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/Modules/Plan/Resources/views/single-plan.blade.php ENDPATH**/ ?>
|