@php $state_id = $clientObj->state_id > 0 ? $clientObj->state_id : 0; $city_id = $clientObj->city_id > 0 ? $clientObj->city_id : 0; $state_id = old('state_id', $state_id); $city_id = old('city_id', $city_id); @endphp @extends('back.layouts.app', ['title' => $title]) @section('content')
@include('back.common_views.quicklinks')

Edit Client

{{ csrf_field() }}
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('state_id')) {{ $errors->first('state_id') }} @endif
@if ($errors->has('city_id')) {{ $errors->first('city_id') }} @endif
@if ($errors->has('zip')) {{ $errors->first('zip') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif

@php $client_conditions = json_decode($clientObj->conditions); @endphp
@endsection @section('beforeBodyClose') @endsection