{{-- @dd(old('service_name')) --}} @extends('admin.layout.app') @section('pageTitle')

{{ __('Edit Plan') }}

@stop @section('content')
@csrf @method('PUT')
@php $check_1 = false; $check_2 = false; $check_3 = false; $check_4 = false; $check_5 = false; $price_1 = $plan->prices()->where('type', 1)->first()->price ?? null; if($price_1) { $check_1 = true; } $price_2 = $plan->prices()->where('type', 2)->first()->price ?? null; if($price_2) { $check_2 = true; } $price_3 = $plan->prices()->where('type', 3)->first()->price ?? null; if($price_3) { $check_3 = true; } $price_4 = $plan->prices()->where('type', 4)->first()->price ?? null; if($price_4) { $check_4 = true; } $price_5 = $plan->prices()->where('type', 5)->first()->price ?? null; if($price_5) { $check_5 = true; } @endphp
{{ __('Quarterly') }} {{ __('Biannual') }} {{ __('Annual') }} {{ __('Two Years') }} {{ __('Three Years') }}
@if(old('features') && count(old('features')) != 0) @foreach(old('features') as $key => $item) @endforeach @elseif ($plan->features && count($plan->features) != 0) @foreach($plan->features as $key => $item) @endforeach @else @endif
# {{ __('Features') }}
{{ $key+1 }}
{{ __('Delete') }}
{{ $key+1 }}
{{ __('Delete') }}
1
{{ __('Delete') }}
{{ __('Add Item') }}
@stop @section('js') @stop