@extends('layouts.app') @section('content')

{{ trans('lang.create_subscription_plan') }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
{{ trans('lang.plan_details') }}
{{ trans('lang.image') }}
{{ trans('lang.plan_points') }}
@if (old('plan_points')) @php $i = 0; $optionLength = count(old('plan_points')) - 1; @endphp @foreach (old('plan_points') as $key => $value)
@if ($optionLength == $key) @endif
@endforeach @else
@endif
{{ trans('lang.maximum_booking_limit') }}
{{ trans('lang.cancel') }}
@endsection @section('scripts') @endsection