@extends('super_admins.layouts.master') @section('title') Add Clinic Categories @endsection @section('css') @endsection @section('content') @if ($errors->any()) @endif Clinic Category Home Clinic Categories Add Clinic Category @csrf Multi Language @foreach ($active_languages as $key => $language) {{ $language->name }} @endforeach @foreach ($active_languages as $key => $language) Name ({{$language->code}}) @if ($errors->has('name.'.$language->code)) {{ $errors->first('name.'.$language->code) }} @endif Description ({{$language->code}}) @if ($errors->has('description.'.$language->code)) {{ $errors->first('description.'.$language->code) }} @endif @endforeach @if (isset($clinic_main_categories)) Select Parent Category : @if (count($clinic_main_categories) > 0) Select Parent Category @foreach ($clinic_main_categories as $parent_category) id ? 'selected' : '' }}> {{ $parent_category->name }} @endforeach @else No Parent Category Exists @endif @if ($errors->has('parent_category_id')) {{ $errors->first('parent_category_id') }} @endif @endif Choose Picture @if ($errors->has('image')) {{ $errors->first('image') }} @endif Status Select Category To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Submit @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection