@foreach($plans as $plan)
{{ $plan->name }}
@if(!$plan->isDefault())
{{ formatMoney($plan->amount_month, $plan->currency) }} {{ $plan->currency }}
{{ __('Month') }}
{{ formatMoney($plan->amount_year, $plan->currency) }} {{ $plan->currency }}
{{ __('Year') }} @if(($plan->amount_month * 12) > $plan->amount_year) {{ __(':value% off', ['value' => number_format(((($plan->amount_month*12) - $plan->amount_year)/($plan->amount_month * 12) * 100), 0)]) }} @endif
@else
{{ __('Free') }}
{{ __('Free') }}
{{ __('Month') }}
{{ __('Year') }}
@endif
@if($plan->features->words != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->words < 0) {{ __('Unlimited words') }} @else($plan->features->words) {{ __(($plan->features->words == 1 ? ':number word' : ':number words'), ['number' => number_format($plan->features->words, 0, __('.'), __(','))]) }} / {{ mb_strtolower(__('Month')) }} @endif
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->documents != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->documents < 0) {{ __('Unlimited documents') }} @else($plan->features->documents) {{ __(($plan->features->documents == 1 ? ':number document' : ':number documents'), ['number' => number_format($plan->features->documents, 0, __('.'), __(','))]) }} / {{ mb_strtolower(__('Month')) }} @endif
@if($plan->features->images != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->images < 0) {{ __('Unlimited images') }} @else($plan->features->images) {{ __(($plan->features->images == 1 ? ':number image' : ':number images'), ['number' => number_format($plan->features->images, 0, __('.'), __(','))]) }} / {{ mb_strtolower(__('Month')) }} @endif
@if($plan->features->templates) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
{{ __('Templates') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->custom_templates) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
{{ __('Custom templates') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->data_export) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
{{ __('Data export') }}
@if($plan->features->api) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
{{ __('API') }}
@endforeach