@extends('super_admins.layouts.master') @section('title') Edit Pricing Plan @endsection @php $currency_symbol = App\Models\GeneralSetting::where('name', 'currency_symbol')->first(); @endphp @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif

Pricing Plan

@csrf @method('PUT')
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@if ($errors->has('is_paid')) {{ $errors->first('is_paid') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('tagline')) {{ $errors->first('tagline') }} @endif
@if ($errors->has('color')) {{ $errors->first('color') }} @endif
{{ $currency_symbol && $currency_symbol->value ? $currency_symbol->value : '' }} @if ($errors->has('price')) {{ $errors->first('price') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($pricing_plan->image)
{{ $pricing_plan->name }}
@else
-- No Image Selected
@endif
is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true">
{{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}}
@foreach ($doctor_modules as $module)
module_code, $pricing_plan_doctor_modules)) {{ 'checked' }} @endif name="doctor_modules[]" class="mr-2 doctor_modules" value="{{ $module->module_code }}" id="doctor_{{ $loop->index }}">
@endforeach
@foreach ($clinic_modules as $module)
module_code, $pricing_plan_clinic_modules)) {{ 'checked' }} @endif name="clinic_modules[]" class="mr-2 clinic_modules" value="{{ $module->module_code }}" id="clinic_{{ $loop->index }}">
@endforeach
@include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection