@extends('layouts.admin') @section('styles') @endsection @section('content')

State{{(isset($data[0]['state_name'])?' - '.$data[0]['state_name']:'')}}

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

General information

@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') @endsection