{{setting('memberships_placeholder_title')}}
{!! setting('memberships_placeholder_text') !!}
- All @if($categories->exists()) @foreach($categories as $category)
- {{ucwords($category->name)}} @endforeach @endif
@foreach($memberships as $membership)
@php $currency = new Currency($membership->currency_id); @endphp
{{$membership->name}}
@if($membership->price > 0)
@if($membership->vat > 0 && $membership->show_vat === 'yes')
@php $price = number_format(($membership->price + (($membership->price * $membership->vat) / 100)),2,'.',','); @endphp
@endforeach
@if($membership->files()->exists())
@if($membership->featured == 'yes')
@endif
@endif
@foreach($membership->files() as $image)
@if($membership->featured == 'yes')
@endif
@endforeach
@else
Popular
Popular
{{$membership->name}}
@php $c = explode(',',$membership->categories); @endphp @if(count($c) > 0) @foreach($c as $name) @php $ca = new Membership_category(); $category = $ca->where('name', $name)->get(); @endphp @if($category->exists()) {{ucwords($category->name)}} @endif @endforeach @endif
{!!$membership->description!!}
{{$currency->symbol}}{{$price}} VAT Inclusive
@else @php $price = number_format($membership->price,2,'.',','); @endphp{{$currency->symbol}}{{$price}} VAT Exclusive
@endif @else{{$currency->symbol}}0.00 Free Membership
@endif-
@php
$amenity_ids = strpos($membership->amenities,',') !== FALSE ? explode(',',$membership->amenities) : [$membership->amenities];
@endphp
@if(count($amenity_ids) > 0)
@if(count($amenity_ids) > 0)
@php
$a = new Amenity();
$amenities = $a->where_in('id',$amenity_ids)->get();
@endphp
@if($amenities->exists())
@foreach($amenities as $amenity)
- {{ucwords($amenity->name)}} @endforeach @endif @endif @endif
@foreach($memberships as $membership)
@php $currency = new Currency($membership->currency_id); @endphp
{{$membership->name}}
@if($membership->price > 0)
@if($membership->vat > 0 && $membership->show_vat === 'yes')
@php $price = number_format(($membership->price + (($membership->price * $membership->vat) / 100)),2,'.',','); @endphp
@endforeach
@if($membership->files()->exists())
@if($membership->featured == 'yes')
@endif
@endif
@foreach($membership->files() as $image)
@if($membership->featured == 'yes')
@endif
@endforeach
@else
Popular
Popular
{{$membership->name}}
{{ucwords($category->name)}}
{!!$membership->description!!}
{{$currency->symbol}}{{$price}} VAT Inclusive
@else @php $price = number_format($membership->price,2,'.',','); @endphp{{$currency->symbol}}{{$price}} VAT Exclusive
@endif @else{{$currency->symbol}}0.00 Free Membership
@endif-
@php
$amenity_ids = strpos($membership->amenities,',') !== FALSE ? explode(',',$membership->amenities) : [$membership->amenities];
@endphp
@if(count($amenity_ids) > 0)
@if(count($amenity_ids) > 0)
@php
$a = new Amenity();
$amenities = $a->where_in('id',$amenity_ids)->get();
@endphp
@if($amenities->exists())
@foreach($amenities as $amenity)
- {{ucwords($amenity->name)}} @endforeach @endif @endif @endif