@extends('super_admins.layouts.master') @section('title') Edit Clinic @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif Clinic Home Clinics Edit Clinic {{-- Blogs --}} {{-- Events --}} {{-- Certifications --}} {{-- Media --}} {{-- Podcasts --}} {{-- Archives --}} @csrf @method('PUT') @if (isset($subscriptions)) Select Subscription : @if (count($subscriptions) > 0) Select Subscription @foreach ($subscriptions as $subscription) subscription_id == $subscription->id ? 'selected' : '' }}> {{ $subscription->name }} @endforeach @else No Subscription Exists @endif @if ($errors->has('subscription_id')) {{ $errors->first('subscription_id') }} @endif @endif @if (isset($clinic_categories)) Select Clinic Category : @if (count($clinic_categories) > 0) Select Clinic Category @foreach ($clinic_categories as $clinic_category) {{ $clinic_category->name }} @endforeach @else No Clinic Category Exists @endif @if ($errors->has('clinic_category_ids')) {{ $errors->first('clinic_category_ids') }} @endif @endif First Name @if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif Last Name @if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif User Name @if ($errors->has('user_name')) {{ $errors->first('user_name') }} @endif Multi Language @foreach ($active_languages as $key => $language) {{ $language->name }} @endforeach @foreach ($active_languages as $key => $language) Description ({{$language->code}}) {{ $clinic->getTranslation('description', $language->code); }} @if ($errors->has('description.'.$language->code)) {{ $errors->first('description.'.$language->code) }} @endif @endforeach Choose Picture @if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($clinic->image) @else -- No Image Selected @endif Status is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true"> Select Clinic To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Featured is_featured) checked @endif class="custom-control-input" id="customSwitch2" aria-describedby="IsFeaturedError" aria-invalid="true"> Select Clinic To Be Featured Or Not {{-- @if ($errors->has('is_featured')) {{ $errors->first('is_featured') }} @endif --}} Update @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection