@extends('layouts.app') @section('content')
@include('clients.partials.nav')
@forelse ($clients as $client) @empty @endforelse
Client Name Company Name Job Type Email Contact Number
{{ $client->user->getFullName() }} {{ $client->organisation->company->name ?? 'N/A' }} {{ $client->interpreterJobs->isNotEmpty() ? 'Interpreter' : 'Translation' }} {{ $client->user->email }} {{ $client->contact_number }} {{ Form::open([ 'route' => [ 'clients.new-requests.update', $client->id ], 'method' => 'PUT', 'class' => 'd-inline-block' ]) }} {{ Form::close() }} {{ Form::open([ 'route' => [ 'clients.rejected.update', $client->id ], 'method' => 'PUT', 'class' => 'd-inline-block' ]) }} {{ Form::close() }} @if (!$client->organisation) View @else View @endif
There are no new requests
{{ $clients->links() }} @includeWhen(!auth()->user()->hasRole('agent'), 'partials.cancel-modal') @endsection