@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->hasPrice())
@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('color')) {{ $errors->first('color') }} @endif
{{ __('Features') }}
@if ($errors->has('features.links')) {{ $errors->first('features.links') }} @endif
@if ($errors->has('features.spaces')) {{ $errors->first('features.spaces') }} @endif
@if ($errors->has('features.domains')) {{ $errors->first('features.domains') }} @endif
@if ($errors->has('features.global_domains')) {{ $errors->first('features.global_domains') }} @endif
@if ($errors->has('features.pixels')) {{ $errors->first('features.pixels') }} @endif
@if ($errors->has('features.stats')) {{ $errors->first('features.stats') }} @endif
@if ($errors->has('features.targeting')) {{ $errors->first('features.targeting') }} @endif
@if ($errors->has('features.deep_links')) {{ $errors->first('features.deep_links') }} @endif
@if ($errors->has('features.password')) {{ $errors->first('features.password') }} @endif
@if ($errors->has('features.expiration')) {{ $errors->first('features.expiration') }} @endif
@if ($errors->has('features.disabled')) {{ $errors->first('features.disabled') }} @endif
@if ($errors->has('features.data_export')) {{ $errors->first('features.data_export') }} @endif
@if ($errors->has('features.utm')) {{ $errors->first('features.utm') }} @endif
@if ($errors->has('features.api')) {{ $errors->first('features.api') }} @endif