@extends('layouts.app') @section('content') @include('agents.partials.nav') @include('agents.partials.filter')
@forelse ($agents as $agent) @empty @endforelse
Agent Name Agent type Email Contact Number Languages No. of DNAs No. of Late Arrivals
{{ $agent->user->getFullName() }} {{ $agent->getAgentType() }} {{ $agent->user->email }} {{ $agent->contact_number }} {{ implode(', ', $agent->languages->pluck('name')->all()) }} 0 0 @if ($agent->user->hasRole('agent')) {{ Form::open([ 'route' => [ 'agents.archived.update', $agent->id ], 'method' => 'PUT', 'class' => 'd-inline-block' ]) }} {{ Form::close() }} @endif View Login As
There are no active agents
{{ $agents->appends(request()->all())->links() }} @endsection