@extends('layouts.admin') @section('styles') @endsection @section('content') @php $temp_country_code = (isset($data[0]['country_code'])?$data[0]['country_code']:''); @endphp

{{-- City --}}District{{(isset($data[0]['city_name'])?' - '.$data[0]['city_name']:'')}}

@if(isset($mode) && $mode == "Update")
@if(per_hasModuleAccess('Cities','View')) @endif
@endif
You have some form errors. Please check below.
Your form validation is successful!

General information

@php $selectedState = isset($data[0]['state_code']) ? $data[0]['state_code'] : ''; @endphp
@if($mode == 'Add') @php $checked = 'checked'; @endphp @else @php $checked = ((isset($data[0]['status']) && $data[0]['status'] == $currentClass->_cityModel::ACTIVE )?'checked':''); @endphp @endif
@if(isset($mode) && $mode == 'Update')
@php $created_at = (isset($data[0]['created_at']))? date_getFormattedDateTime($data[0]['created_at']): '---'; $updated_at = (isset($data[0]['updated_at']))? date_getFormattedDateTime($data[0]['updated_at']): '---'; @endphp
{{$created_at}}
{{$updated_at}}
@endif

Language

@if(!empty($language)) @php $cnt = count($language); @endphp @for($i = 0; $i < $cnt; $i++) @php $direction = ($language[$i]['direction'] == "2")?"rtl":"ltr"; @endphp
@endfor @endif
@endsection @section('scripts') .full.min.js') }}"> --> @endsection