![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/resources/themes/compo/ |
@isset($product) <div class="row"> @foreach($product->activePlans as $plan) <div class="col-lg-3"> <div class="card price-box"> <div class="head"> <div class="plan"> @if($plan->free_plan) <h1>{{ \Payments::currency(0.00 ) }}</h1> @else <span class="plan-name">{{ $plan->name }}</span> <div class="price"> <span class="amt">{{ \Payments::currency($plan->price) }} <small class="font18 text-muted"> / {!! $plan->cycle_caption !!}</small></span> </div> @endif </div> </div> <div class="body"> <ul class="price-box-list"> @foreach($product->activeFeatures as $feature) @if($plan_feature = $plan->features()->where('feature_id',$feature->id)->first()) <li> @if(!empty($plan_feature->pivot->plan_caption)) {{ $plan_feature->pivot->plan_caption }} @else @if($feature->type=="boolean") @if($plan_feature->pivot->value) <i class="fa fa-check"></i> @endif @else {{$plan_feature->pivot->value }} {{$feature->unit }} @endif {{ $feature->caption }} @endif </li> @else <li> <i class="fa fa-times"></i> {{ $feature->caption }} </li> @endif @endforeach </ul> <br><br> <div class="price-footer"> @if(user() && user()->subscribed(null, $plan->id)) <button class="btn btn-secondary" disabled> Current Package </button> <br/> {{ user()->currentSubscription(null, $plan->id)->ends_at?('ends at: '.format_date_time(user()->currentSubscription(null, $plan->id)->ends_at)):'' }} @else <a href="{{ url('subscriptions/checkout/'.$plan->hashed_id) }}" class="btn btn-primary">@lang('corals-compo::labels.pricing.subscribe_now')</a> @endif </div> </div> </div> </div> @endforeach </div> @else <p class="text-center text-danger"><strong>@lang('corals-compo::labels.pricing.product_not_found')</strong></p> @endisset