@section('site_title', formatTitle([__('Edit'), __('Plan'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('admin.dashboard'), 'title' => __('Admin')], ['url' => route('admin.plans'), 'title' => __('Plans')], ['title' => __('Edit')], ]])

{{ __('Edit') }}

{{ __('Plan') }} @if($plan->trashed()) {{ __('Disabled') }} @endif
@include('admin.plans.partials.menu')
@include('shared.message')
@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if(!$plan->isDefault())
@if ($errors->has('trial_days')) {{ $errors->first('trial_days') }} @endif
@if ($errors->has('currency')) {{ $errors->first('currency') }} @endif
@if ($errors->has('amount_month')) {{ $errors->first('amount_month') }} @endif
@if ($errors->has('amount_year')) {{ $errors->first('amount_year') }} @endif
@if ($errors->has('tax_rates')) {{ $errors->first('tax_rates') }} @endif
@if ($errors->has('coupons')) {{ $errors->first('coupons') }} @endif
@endif
@if ($errors->has('visibility')) {{ $errors->first('visibility') }} @endif
@if ($errors->has('position')) {{ $errors->first('position') }} @endif
{{ __('Features') }}

@if ($errors->has('features.links')) {{ $errors->first('features.links') }} @endif {!! __(':value for unlimited.', ['value' => '-1']) !!} {!! __(':value for none.', ['value' => '0']) !!} {!! __(':value for number.', ['value' => 'N']) !!}
@if ($errors->has('features.spaces')) {{ $errors->first('features.spaces') }} @endif {!! __(':value for unlimited.', ['value' => '-1']) !!} {!! __(':value for none.', ['value' => '0']) !!} {!! __(':value for number.', ['value' => 'N']) !!}
@if ($errors->has('features.domains')) {{ $errors->first('features.domains') }} @endif {!! __(':value for unlimited.', ['value' => '-1']) !!} {!! __(':value for none.', ['value' => '0']) !!} {!! __(':value for number.', ['value' => 'N']) !!}
@if ($errors->has('features.global_domains')) {{ $errors->first('features.global_domains') }} @endif
@if ($errors->has('features.pixels')) {{ $errors->first('features.pixels') }} @endif {!! __(':value for unlimited.', ['value' => '-1']) !!} {!! __(':value for none.', ['value' => '0']) !!} {!! __(':value for number.', ['value' => 'N']) !!}
@if ($errors->has('features.link_stats')) {{ $errors->first('features.stats') }} @endif
@if ($errors->has('features.link_targeting')) {{ $errors->first('features.link_targeting') }} @endif
@if ($errors->has('features.link_password')) {{ $errors->first('features.link_password') }} @endif
@if ($errors->has('features.link_expiration')) {{ $errors->first('features.link_expiration') }} @endif
@if ($errors->has('features.link_disabling')) {{ $errors->first('features.link_disabling') }} @endif
@if ($errors->has('features.link_deep')) {{ $errors->first('features.link_deep') }} @endif
@if ($errors->has('features.link_utm')) {{ $errors->first('features.link_utm') }} @endif
@if ($errors->has('features.data_export')) {{ $errors->first('features.data_export') }} @endif
@if ($errors->has('features.api')) {{ $errors->first('features.api') }} @endif