Viewing file: 0b7ad2f3e7415a441c1b35f59f2e15b0.php (41.57 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title', __('price_and_billing')); ?>
<?php $__env->startSection('breadcrumb'); ?> <?php if (isset($component)) { $__componentOriginal044f5af546c391ddc719bb44e1cd807e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal044f5af546c391ddc719bb44e1cd807e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.breadcrumb.breadcrumb','data' => ['links' => [['text' => 'Dashboard'], ['text' => 'Plan & Billing']]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.breadcrumb.breadcrumb'); ?> <?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(['links' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([['text' => 'Dashboard'], ['text' => 'Plan & Billing']])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal044f5af546c391ddc719bb44e1cd807e)): ?> <?php $attributes = $__attributesOriginal044f5af546c391ddc719bb44e1cd807e; ?> <?php unset($__attributesOriginal044f5af546c391ddc719bb44e1cd807e); ?> <?php endif; ?> <?php if (isset($__componentOriginal044f5af546c391ddc719bb44e1cd807e)): ?> <?php $component = $__componentOriginal044f5af546c391ddc719bb44e1cd807e; ?> <?php unset($__componentOriginal044f5af546c391ddc719bb44e1cd807e); ?> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('dashboard-content'); ?> <?php if($current_plan): ?> <div class="grid grid-cols-2 gap-4"> <div class="mt-6"> <div class="invoice-table"> <h4 class="heading-06 dark:text-white mb-5"><?php echo e(__('current_plan')); ?></h4> <div class="border dark:bg-gray-900 border-primary-50 rounded-md p-5 shadow-sm md:col-span-2"> <h2 class="heading-03 mb-3"> <?php echo e($current_plan?->label); ?>
</h2>
<?php if($plan_type == 'recurring'): ?> <?php if($user_plan->expired_date && !formatDateTime($user_plan->expired_date)->isPast()): ?> <p><?php echo e(__('auto_renews_on')); ?> <?php echo e(formatDate($user_plan->expired_date, 'M d, Y')); ?></p> <?php else: ?> <?php if($current_plan?->price != 0): ?> <h2 class="heading-07 text-red-500"><?php echo e(__('plan_expired_please_subscribe_to_the_plan')); ?>
</h2> <?php endif; ?> <?php endif; ?> <?php else: ?> <a href="<?php echo e(route('frontend.priceplan')); ?>" class="btn btn-secondary"> <?php echo e(__('upgrade_plan')); ?>
</a> <?php endif; ?> </div> </div> </div> <?php if($plan_type == 'recurring'): ?> <div class="mt-6"> <div class="invoice-table"> <h4 class="heading-06 mb-5 dark:text-white"><?php echo e(__('manage_subscription')); ?></h4>
<div class="border border-primary-50 dark:border-gray-600 rounded-md p-5 shadow-sm md:col-span-2 dark:bg-gray-900 flex gap-3"> <div> <a href="<?php echo e(route('frontend.priceplan')); ?>" class="btn btn-secondary"> <?php echo e(__('upgrade_plan')); ?>
</a> </div> <?php if(authUser()->subscribed('default')): ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('cancel', authUser()->subscription('default'))): ?> <form action="<?php echo e(route('subscribe.plan.cancel')); ?>" method="post"> <?php echo csrf_field(); ?> <button class="btn btn-danger" type="submit"> <?php echo e(__('cancel_subscription')); ?>
</button> </form> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('resume', authUser()->subscription('default'))): ?> <form action="<?php echo e(route('subscribe.plan.resume')); ?>" method="post"> <?php echo csrf_field(); ?> <button class="btn btn-primary" type="submit"> <?php echo e(__('resume_subscription')); ?>
</button> </form> <?php endif; ?> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> <div class="border border-primary-50 rounded-md p-5 shadow-sm md:col-span-2 mt-5"> <div class=""> <h4 class="heading-07 mb-4"><?php echo e(__('current_plan_benefits')); ?>:</h4>
<ul class="grid grid-cols-1 sm:grid-cols-2 gap-3"> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span><?php echo e(__('listing_post_limit')); ?> : <?php echo e($current_plan?->ad_limit); ?></span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('featured_listing_limit')); ?> : <?php echo e($current_plan?->featured_limit); ?> <?php echo e(__('for')); ?> <?php echo e($current_plan?->featured_duration < 1 ? __('lifetime') : $current_plan?->featured_duration); ?>
<?php if($current_plan?->featured_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('urgent_listing_limit')); ?> : <?php echo e($current_plan?->urgent_limit); ?> <?php echo e(__('for')); ?> <?php echo e($current_plan?->urgent_duration < 1 ? __('lifetime') : $current_plan?->urgent_duration); ?>
<?php if($current_plan?->urgent_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('highlight_listing_limit')); ?> : <?php echo e($current_plan?->highlight_limit); ?> <?php echo e(__('for')); ?> <?php echo e($current_plan?->highlight_duration < 1 ? __('lifetime') : $current_plan?->highlight_duration); ?>
<?php if($current_plan?->highlight_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('top_listing_limit')); ?> : <?php echo e($current_plan->top_limit); ?> <?php echo e(__('for')); ?> <?php echo e($current_plan->top_duration < 1 ? __('lifetime') : $current_plan?->top_duration); ?>
<?php if($current_plan->top_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('bump_up_listing_limit')); ?> : <?php echo e($current_plan?->bump_up_limit); ?> <?php echo e(__('for')); ?> <?php echo e($current_plan?->bump_up_duration < 1 ? __('lifetime') : $current_plan?->bump_up_duration); ?>
<?php if($current_plan?->bump_up_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> </span> </li>
<?php if($current_plan->badge): ?> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span><?php echo e(__('membership_badge')); ?></span> </li> <?php endif; ?>
<?php if($current_plan->premium_member): ?> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span><?php echo e(__('premium_membership')); ?></span> </li> <?php endif; ?> </ul>
<div class="bg-primary-50 h-[1px] my-3"></div>
<div class="pt-2">
<h4 class="heading-07 mb-4"><?php echo e(__('remaining')); ?>:</h4>
<ul class="grid grid-cols-1 sm:grid-cols-2 gap-3"> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('remaining')); ?> <?php echo e(__('listing_limit')); ?> : <?php echo e($user_plan?->ad_limit); ?></span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('remaining')); ?> <?php echo e(__('featured_limit')); ?> : <?php echo e($user_plan?->featured_limit); ?></span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('remaining')); ?> <?php echo e(__('urgent_limit')); ?> : <?php echo e($user_plan?->urgent_limit); ?></span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('remaining')); ?> <?php echo e(__('highlight_limit')); ?> : <?php echo e($user_plan?->highlight_limit); ?></span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('remaining')); ?> <?php echo e(__('top_limit')); ?> : <?php echo e($user_plan?->top_limit); ?></span> </li> <li class="flex gap-1.5 items-start"> <?php if (isset($component)) { $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.double-check-icon','data' => ['stroke' => 'var(--primary-500)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.double-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(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['stroke' => 'var(--primary-500)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $attributes = $__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__attributesOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f)): ?> <?php $component = $__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f; ?> <?php unset($__componentOriginalc9cf1a5b827dcec6afef6e8acfc3c98f); ?> <?php endif; ?> <span> <?php echo e(__('remaining')); ?> <?php echo e(__('bump_up_limit')); ?> : <?php echo e($user_plan?->bump_up_limit); ?></span> </li> </ul> </div> </div> </div> <div class="mt-6"> <div class="invoice-table"> <?php $plan_type_text = $plan_type == 'one_time' ? str_replace('_', ' ', $plan_type) : 'subscription'; $switch_plan_text = $plan_type == 'one_time' ? 'subscription' : 'one time'; ?> <h4 class="heading-06 mb-5 dark:text-white"><?php echo e(__('manage_plan_system')); ?></h4>
<div class="border border-primary-50 rounded-md p-5 shadow-sm"> <div> <p> <?php echo __('you_are_currently_on_another_plan_system_switch_to_another_plan_system', [ 'current_plan' => ucfirst($plan_type_text), 'switch_plan' => ucfirst($switch_plan_text), ]); ?></p> </div>
<div class="mt-3"> <a href="<?php echo e(route('frontend.priceplan')); ?>" class="btn btn-secondary"> <?php echo e(__('switch_other_plan_system', ['plan' => ucfirst($switch_plan_text)])); ?>
</a> </div> </div> </div> </div> <?php else: ?> <div class="mt-6"> <div class="invoice-table"> <h4 class="heading-06 mb-5 dark:text-white"><?php echo e(__('current_plan')); ?></h4> <div class="border border-primary-50 dark:border-gray-600 rounded-md p-5 shadow-sm md:col-span-2 dark:bg-gray-900"> <h2 class="heading-07 dark:text-white mb-3"> <?php echo e(__('you_are_currently_on_free_plan')); ?>
</h2>
<a href="<?php echo e(route('frontend.priceplan')); ?>" class="btn btn-secondary"> <?php echo e(__('upgrade_plan')); ?>
</a> </div> </div> </div> <?php endif; ?>
<div class="mt-6"> <div class="invoice-table"> <h4 class="heading-06 mb-5 dark:text-white"><?php echo e(__('recent_invoice')); ?></h4> <div class="relative overflow-x-auto border border-gray-100 dark:border-gray-600 rounded-md dark:bg-white"> <?php if($transactions && count($transactions)): ?> <table class="w-full text-sm text-left rtl:text-right text-gray-500"> <thead class="text-xs text-gray-700 dark:text-gray-50 uppercase bg-primary-50 dark:bg-gray-700"> <tr> <th scope="col" class="px-6 py-3"><?php echo e(__('order_id')); ?></th> <th scope="col" class="px-6 py-3"><?php echo e(__('plan_type')); ?></th> <th scope="col" class="px-6 py-3"><?php echo e(__('payment_provider')); ?></th> <th scope="col" class="px-6 py-3"><?php echo e(__('amount')); ?></th> <th scope="col" class="px-6 py-3"><?php echo e(__('date')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="bg-white dark:bg-gray-800"> <td scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white/70"> <?php echo e($transaction->order_id); ?></td> <td scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white/70"> <?php echo e($transaction->plan->label); ?></td> <td scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white/70"> <?php echo e(ucfirst(str_replace('_', ' ', $transaction->payment_provider))); ?></td> <td scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white/70"> <?php echo e($transaction->currency_symbol); ?><?php echo e($transaction->amount); ?>
<span class="text-<?php echo e($transaction->payment_status == 'paid' ? 'success' : 'danger'); ?>"> <?php echo e(ucfirst($transaction->payment_status)); ?>
</span> </td> <td scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white/70"> <?php echo e(Carbon\Carbon::parse($transaction->created_at)->format('M d, Y g:i A')); ?>
</td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php else: ?> <?php if (isset($component)) { $__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279 = $attributes; } ?> <?php $component = App\View\Components\NotFound2::resolve(['message' => ''.e(__('no_recent_invoice_found')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('not-found2'); ?> <?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\NotFound2::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($__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279)): ?> <?php $attributes = $__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279; ?> <?php unset($__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279); ?> <?php endif; ?> <?php if (isset($__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279)): ?> <?php $component = $__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279; ?> <?php unset($__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279); ?> <?php endif; ?> <?php endif; ?> </div> </div> </div> <?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\add listing 8-9-25\addListing\resources\views/frontend/dashboard/plans-billing.blade.php ENDPATH**/ ?>
|