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

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

@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method("PUT")
{{ trans('lang.plan_details') }}
type=='free' ? 'checked' : ''}}>
expiryDay=='-1' ? 'checked' : ''}}>
expiryDay!='-1' ? 'checked' : ''}}>
isEnable=='true' ? 'checked' : ''}}>
@if (file_exists(public_path('assets/images/subscription'.'/'.$subscriptionPlan->image)) && !empty($subscriptionPlan->image)) image @else image @endif
{{ trans('lang.plan_points') }}
@if(! empty($subscriptionPlan->plan_points)) @php $i = 0; $optionLength = count($subscriptionPlan->plan_points) - 1; @endphp @foreach($subscriptionPlan->plan_points as $key=>$value)
@if($optionLength == $key) @endif @if($key!=0) @endif
@php $i++; @endphp @endforeach @endif
{{ trans('lang.maximum_booking_limit') }}
bookingLimit=='-1' ? 'checked' : ''}}>
bookingLimit!='-1' ? 'checked' : ''}}>
{{ trans('lang.cancel') }}
@endsection @section('scripts') @endsection