@extends('layouts.admin') @section('content')
@if(session('success')) @endif

Agents

@if(Auth::user()->category == '2')
@csrf
@endif @php($i=1) @foreach($users as $x) @endforeach
Sl No Agent Name Address Contact Number Email Remarks Branch Action
{{$i++}} {{$x->name}} {{$x->address}} {{$x->contact_no}} {{$x->email}} {{$x->remarks}} {{$x->branch_id}}
@endsection