@extends('layouts.app') @section('content')
@include('clients.partials.nav')
@forelse ($clients as $client) @empty @endforelse
Client Name Company Name Email Contact Number
{{ $client->user->getFullName() }} {{ $client->organisation->company->name ?? 'N/A' }} {{ $client->user->email }} {{ $client->contact_number }} {{ Form::open([ 'route' => [ 'clients.new-requests.destroy', $client->id ], 'method' => 'DELETE', 'class' => 'd-inline-block' ]) }} {{ Form::submit('Delete', [ 'class' => 'btn btn--cancel table__btn', 'onclick' => 'return confirm("Are you sure you want to delete this request?")' ]) }} {{ Form::close() }} View
There are no rejected requests
{{ $clients->links() }} @includeWhen(!auth()->user()->hasRole('agent'), 'partials.cancel-modal') @endsection