@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->monitors != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
@if($plan->features->monitors < 0) {{ __('Unlimited monitors') }} @else {{ __(($plan->features->monitors == 1 ? ':number monitor' : ':number monitors'), ['number' => number_format($plan->features->monitors, 0, __('.'), __(','))]) }} @endif
@if($plan->features->monitor_intervals != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
@if($plan->features->monitor_intervals < 0) {{ __('Unlimited monitors') }} @else {{ __(':interval check interval', ['interval' => Carbon\CarbonInterval::seconds(min($plan->features->monitor_intervals))->cascade()->forHumans(), 0, __('.'), __(',')]) }} @endif
@if($plan->features->ssl_monitoring) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
{{ __('SSL certificate monitoring') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->domain_monitoring) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
{{ __('Domain name monitoring') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->status_pages != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
@if($plan->features->status_pages < 0) {{ __('Unlimited status pages') }} @else {{ __(($plan->features->status_pages == 1 ? ':number status page' : ':number status pages'), ['number' => number_format($plan->features->status_pages, 0, __('.'), __(','))]) }} @endif
@if($plan->features->status_page_customization) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
{{ __('Status page customization') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if($plan->features->email_alerts != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
@if($plan->features->email_alerts < 0) {{ __('Unlimited email alerts') }} @else {{ __(($plan->features->email_alerts == 1 ? ':number email alert' : ':number email alerts'), ['number' => number_format($plan->features->email_alerts, 0, __('.'), __(','))]) }} @endif
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@if (config('settings.twilio'))
@if($plan->features->sms_alerts != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
@if($plan->features->sms_alerts < 0) {{ __('Unlimited sms alerts') }} @else {{ __(($plan->features->sms_alerts == 1 ? ':number SMS alert' : ':number SMS alerts'), ['number' => number_format($plan->features->sms_alerts, 0, __('.'), __(','))]) }} @endif
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@endif
@if($plan->features->webhook_alerts != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
@if($plan->features->webhook_alerts < 0) {{ __('Unlimited webhook alerts') }} @else {!! __(($plan->features->webhook_alerts == 1 ? ':number webhook alert' : ':number webhook alerts'), ['number' => number_format($plan->features->webhook_alerts, 0, __('.'), __(','))]) !!} @endif
@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 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
{{ __('Data export') }}
@if($plan->features->api) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4 mt-1']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4 mt-1']) @endif
{{ __('API') }}
@endforeach