@extends('front.gym.layout') @section('pagename') - {{__('Packages')}} @endsection @section('meta-keywords', "$be->packages_meta_keywords") @section('meta-description', "$be->packages_meta_description") @section('breadcrumb-title', convertUtf8($be->pricing_title)) @section('breadcrumb-subtitle', $be->pricing_subtitle) @section('breadcrumb-link', __('Packages')) @section('content') @if (count($categories) > 0 && $bex->package_category_status == 1) {{__('All')}} @foreach ($categories as $category) @php $filterValue = "." . Str::slug($category->name); @endphp {{ convertUtf8($category->name) }} @endforeach @endif @if (count($packages) == 0) {{ __('No Package Found!') }} @else @foreach ($packages as $key => $package) @php $packageCategory = $package->packageCategory()->first(); if (!empty($packageCategory)) { $categoryName = Str::slug($packageCategory->name); } else { $categoryName = ""; } @endphp {{convertUtf8($package->title)}} @if ($bex->recurring_billing == 1) {{$package->duration == 'monthly' ? __('Monthly') : __('Yearly')}} @endif {{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$package->price}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}} {!! replaceBaseUrl(convertUtf8($package->description)) !!} @if ($bex->recurring_billing == 1) @auth @if ($activeSub->count() > 0 && empty($activeSub->first()->next_package_id)) @if ($activeSub->first()->current_package_id == $package->id) {{__('Extend')}} @else {{__('Change')}} @endif @elseif ($activeSub->count() == 0) {{__('Purchase')}} @endif @endauth @guest {{__('Purchase')}} @endguest @else @if ($package->order_status != 0) @php if($package->order_status == 1) { $link = route('front.packageorder.index', $package->id); } elseif ($package->order_status == 2) { $link = $package->link; } @endphp order_status == 2) target="_blank" @endif class="finlance_btn">{{__('Place Order')}} @endif @endif @endforeach @endif @endsection @section('scripts') @endsection
{{$package->duration == 'monthly' ? __('Monthly') : __('Yearly')}}