@extends('admin.layouts.layout') @section('content')
@if(empty($editAgentsData[0]->id))
@else @endif @csrf
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
{{ !empty($editAgentsData[0]->address) ? $editAgentsData[0]->address : '' }}
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif
Select Country
@if(!empty($getCountry)) @foreach($getCountry as $key => $country)
{{ $country->name }}
@endforeach @endif
@if ($errors->has('postsecondaryid'))
{{ $errors->first('postsecondaryid') }}
@endif
Select State
@if(!empty($getStates)) @foreach($getStates as $key => $states)
{{ $states->name }}
@endforeach @endif
@if ($errors->has('postsecondaryid'))
{{ $errors->first('postsecondaryid') }}
@endif
Select Country
@if(!empty($getCities)) @foreach($getCities as $key => $cities)
{{ $cities->name }}
@endforeach @endif
@if ($errors->has('postsecondaryid'))
{{ $errors->first('postsecondaryid') }}
@endif
@if ($errors->has('postal_code'))
{{ $errors->first('postal_code') }}
@endif
Submit
@endsection