@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
Name *
@if ($errors->has('client_name'))

{{ $errors->first('client_name') }}

@endif
Email
@if ($errors->has('email'))

{{ $errors->first('email') }}

@endif
Phone Number *
@if ($errors->has('phone_no'))

{{ $errors->first('phone_no') }}

@endif
Address Line 1
@if ($errors->has('address1'))

{{ $errors->first('address1') }}

@endif
Address Line 2
@if ($errors->has('address2'))

{{ $errors->first('address2') }}

@endif
Country
State
@if ($errors->has('state'))

{{ $errors->first('state') }}

@endif
City
@if ($errors->has('city'))

{{ $errors->first('city') }}

@endif
Pincode
@if ($errors->has('pincode'))

{{ $errors->first('pincode') }}

@endif
Status
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
Comments
@if ($errors->has('comments'))

{{ $errors->first('comments') }}

@endif