@extends('admin.layouts.layout') @section('content')
Add
@if(empty($editSubPostSecondaryData[0]->id))
@else @endif @csrf
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
Submit
@if(!empty($getAgentsData)) @foreach($getAgentsData as $key=> $agents) @endforeach @endif
Name
Email
Country
State
Created_at
Referral
Verify
Action
{{ !empty($agents->name) ? $agents->name : '' }}
{{ !empty($agents->email) ? $agents->email : '' }}
{{ !empty($agents->country) ? $agents->country : '' }}
{{ !empty($agents->state) ? $agents->state : '' }}
{{ !empty($agents->created_at) ? date('d-M-Y', strtotime($agents->created_at)) : '' }}
view
Edit
Delete
@endsection