@php function get_city_name($id){ $result=DB::table('cities')->where('id',$id)->first(); return $result->name; } function get_state_name($id){ $result=DB::table('states')->where('id',$id)->first(); return $result->name; } @endphp
{{ $errors->first('client_name') }}
@endif{{ $errors->first('email') }}
@endif{{ $errors->first('phone_no') }}
@endif{{ $errors->first('address1') }}
@endif{{ $errors->first('address2') }}
@endif{{ $errors->first('state') }}
@endif{{ $errors->first('city') }}
@endif{{ $errors->first('pincode') }}
@endif{{ $errors->first('status') }}
@endif{{ $errors->first('comments') }}
@endif