@extends('layouts.app') @section('content') @if (session()->has('message'))
{{ session()->get('message') }}
@endif @if (session()->has('error'))
{{ session()->get('error') }}
@endif
Agent List
{{-- @dd($users); --}} @forelse($agentDetails as $key => $agentDetail) {{-- --}} @empty @endforelse
Sl No Name Registration number Email Phone Created Date Approve Action
{{ $loop->index + 1 }} {{ $agentDetail->company_name }} {{ $agentDetail->company_registration_number }} {{ $agentDetail->company_email }} {{ $agentDetail->company_telephone }} @if ($branch->branch_type == '0') Type 1 @elseif($branch->branch_type == '1') Type 2 @else Type 3 @endif {{ $agentDetail->created_at->format('d-m-Y') }}
No record found...
{{-- Showing 1 to 3 of 4 results --}} {{-- {{ $users->links() }} --}} {{ $agentDetails->links('pagination::bootstrap-4') }}
@endsection @push('scripts') @endpush