@extends('admin.layouts.grid') @section('section', admin_trans('Members')) @section('title', admin_trans('Agents')) @section('link', route('admin.members.agents.create')) @section('content')
@if ($agents->count() > 0)
@foreach ($agents as $agent) @endforeach
# {{ admin_trans('Agent details') }} {{ admin_trans('Departments') }} {{ admin_trans('Added date') }}
{{ $agent->id }}
{{ $agent->getName() }}
{{ $agent->getName() }}

{{ $agent->email }}

@if ($agent->departments->count() > 0)
@foreach ($agent->departments as $department) @endforeach
@else -- @endif
{{ dateFormat($agent->created_at) }}
@else @include('admin.partials.empty', ['size' => 180]) @endif
{{ $agents->links() }} @push('styles_libs') @endpush @push('scripts_libs') @endpush @endsection