@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->reports != 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->reports < 0) {{ __('Unlimited reports') }} @else($plan->features->reports) {{ __(($plan->features->reports == 1 ? ':number report' : ':number reports'), ['number' => number_format($plan->features->reports, 0, __('.'), __(','))]) }} / {{ mb_strtolower(__('Month')) }} @endif
@if($plan->features->branded_reports) @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
{{ __('Branded reports') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->white_label_reports) @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
{{ __('White-label reports') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->tools) @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
{{ __('Tools') }}
@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