@extends('layouts.app') @section('page-header') @endsection @section('content')
@if ($monthly || $yearly || $prepaid)
@if ($prepaid)
@if ($prepaids->count())
{{ __('Top up your subscription with more credits or start with Prepaid Plans credits only') }}
@foreach ( $prepaids as $prepaid )
{{ __($prepaid->plan_name) }} {{ $prepaid->currency }}@if (config('payment.decimal_points') == 'allow') {{ number_format((float)$prepaid->price, 2) }} @else {{ number_format($prepaid->price) }} @endif{!! config('payment.default_system_currency_symbol') !!}

{{ __('Words Included') }}: {{ number_format($prepaid->words) }}

{{ __('Images Included') }}: {{ number_format($prepaid->images) }}

@endforeach
@else
{{ __('No Prepaid plans were set yet') }}
@endif
@endif @if ($monthly)
@if ($monthly_subscriptions->count())
{{ __('Subscribe to our Monthly Subscription Plans and enjoy ton of benefits') }}
@foreach ( $monthly_subscriptions as $subscription )
@if ($subscription->featured) {{ __('Most Popular') }} @endif
{{ __($subscription->plan_name) }}

{{ __($subscription->primary_heading) }}

{!! config('payment.default_system_currency_symbol') !!} @if (config('payment.decimal_points') == 'allow') {{ number_format((float)$subscription->price, 2) }} @else {{ number_format($subscription->price) }} @endif

{{ $subscription->currency }} / {{ __('Month') }}

@if (auth()->user()->plan_id == $subscription->id) @else {{ __('Subscribe Now') }} @endif

{{ __($subscription->secondary_heading )}}

    @foreach ( (explode(',', $subscription->plan_features)) as $feature ) @if ($feature)
  • {{ __($feature) }}
  • @endif @endforeach
@endforeach
@else
{{ __('No Subscriptions plans were set yet') }}
@endif
@endif @if ($yearly)
@if ($yearly_subscriptions->count())
{{ __('Subscribe to our Yearly Subscription Plans and enjoy ton of benefits') }}
@foreach ( $yearly_subscriptions as $subscription )
@if ($subscription->featured) {{ __('Most Popular') }} @endif
{{ __($subscription->plan_name) }}

{{ __($subscription->primary_heading) }}

{!! config('payment.default_system_currency_symbol') !!} @if (config('payment.decimal_points') == 'allow') {{ number_format((float)$subscription->price, 2) }} @else {{ number_format($subscription->price) }} @endif

{{ $subscription->currency }} / {{ __('Year') }}

@if (auth()->user()->plan_id == $subscription->id) @else {{ __('Subscribe Now') }} @endif

{{ __($subscription->secondary_heading) }}

    @foreach ( (explode(',', $subscription->plan_features)) as $feature ) @if ($feature)
  • {{ __($feature) }}
  • @endif @endforeach
@endforeach
@else
{{ __('No Subscriptions plans were set yet') }}
@endif
@endif
@else
{{ __('No Subscriptions or Prepaid plans were set yet') }}
@endif
@endsection