Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Subscription/resources/views/user/pricing-plan.blade.php
Назад
@extends('user.layout') @section('title') <title>{{ __('Pricing Plan') }}</title> @endsection @section('user-dashboard') <div class="wsus__dashboard_main_content"> <div class="wsus__my_property"> <h4 class="heading">{{ __('Pricing Plan') }}</h4> <div class="row"> @foreach ($subscriptionPlans as $index => $plan) <div class="col-xl-6 col-xxl-4 col-md-6 col-lg"> <div class="wsus__single_price"> <h4>{{ $plan->plan_name }}</h4> <div class="wsus__round_area"> <h3>{{ currency($plan->plan_price) }}</h3> @if ($plan->expiration_date == 'monthly') <p>/30 {{ __('Days') }}</p> @elseif($plan->expiration_date == 'yearly') <p>/365 {{ __('Days') }}</p> @elseif($plan->expiration_date == 'lifetime') <p>/{{ __('Unlimited') }}</p> @endif <i class="fab fa-canadian-maple-leaf right"></i> </div> <ul> @if ($plan->number_of_property == -1) <li>{{ __('Unlimited Property Submission') }}</li> @else <li>{{ $plan->number_of_property }} {{ __('Propertiy Submission') }}</li> @endif <li>{{ __('Unlimited Amenity') }}</li> <li>{{ __('Unlimited Nearest Place') }}</li> <li>{{ __('Unlimited Photo') }}</li> @if ($plan->is_featured == 1) <li>{{ __('Featured Property') }}</li> @else <li class="delete">{{ __('Featured Property') }}</li> @endif @if ($plan->number_of_feature_property == -1) <li>{{ __('Unlimited Featured Property') }}</li> @else <li>{{ $plan->number_of_feature_property }} {{ __('Featured Property') }}</li> @endif @if ($plan->is_top == 1) <li>{{ __('Top Property') }}</li> @else <li class="delete">{{ __('Top Property') }}</li> @endif @if ($plan->number_of_top_property == -1) <li>{{ __('Unlimited Top Property') }}</li> @else <li>{{ $plan->number_of_top_property }} {{ __('Top Property') }}</li> @endif @if ($plan->is_urgent == 1) <li>{{ __('Urgent Property') }}</li> @else <li class="delete">{{ __('Urgent Property') }}</li> @endif @if ($plan->number_of_urgent_property == -1) <li>{{ __('Unlimited Urgent Property') }}</li> @else <li>{{ $plan->number_of_urgent_property }} {{ __('Urgent Property') }}</li> @endif </ul> @if ($plan->plan_price == 0) @if ($activeOrder && ($activeOrder->subscription_plan_id == $plan->id)) <a href="javascript:;" onclick="freeRenewEnroll('{{ $activeOrder->id }}')" class="common_btn active_btn">{{ __('Renew With') }} {{ $plan->plan_name }}</a> @else <a href="javascript:;" onclick="freeEnroll('{{ $plan->id }}')" class="common_btn">{{ __('Start With') }} {{ $plan->plan_name }}</a> @endif @else @if ($activeOrder && ($activeOrder->subscription_plan_id == $plan->id)) <a href="{{ route('subscription.renew.package', $activeOrder->id) }}" class="common_btn active_btn">{{ __('Renew With') }} {{ $plan->plan_name }}</a> @else <a href="{{ route('subscription.purchase.package', $plan->id) }}" class="common_btn">{{ __('Start With') }} {{ $plan->plan_name }}</a> @endif @endif </div> </div> @endforeach </div> </div> </div> @endsection @push('js') <script> function freeEnroll(id) { Swal.fire({ title: "{{ __('Are You Sure ?') }}", text: "{{ __('You will also upgrade your plan!') }}", icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: "{{ __('Yes, Enroll It') }}", cancelButtonText: "{{ __('Cancel') }}", }).then((result) => { if (result.isConfirmed) { Swal.fire( "{{ __('Enrolled') }}", "{{ __('Congrats to Enroll our Free Plan') }}", 'success' ) location.href = "{{ url('subscription/purchase-package/') }}" + "/" + id; } }) } function freeRenewEnroll(id) { Swal.fire({ title: "{{ __('Are You Sure ?') }}", text: "{{ __('You will also upgrade your plan!') }}", icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: "{{ __('Yes, Enroll It') }}", cancelButtonText: "{{ __('Cancel') }}", }).then((result) => { if (result.isConfirmed) { Swal.fire( "{{ __('Enrolled') }}", "{{ __('Congrats to Enroll our Free Plan') }}", 'success' ) location.href = "{{ url('subscription/renew-package/') }}" + "/" + id; } }) } </script> @endpush
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка