@extends('layouts.master') @section('title') @lang('translation.Clients') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Admin @endslot @slot('title') Clients Management @endslot @endcomponent
Clients Management
Add New Client Smart View @if(request('onlyTrashed')) View Active View All @elseif(request('withTrashed')) View Active View Deleted @else View Deleted View All @endif
@if(session('success'))
{{ session('success') }}
@endif
@if(request()->has('search')) @endif
@forelse($clients as $client) @empty @endforelse
# Client Name Service Agreement Ref Employer Contact Person Contact Info Status Actions
{{ $loop->iteration + ($clients->currentPage() - 1) * $clients->perPage() }} {{ $client->name }} {{ $client->service_agreement_ref }} @if($client->employer) {{ $client->employer->name }} @else N/A @endif {{ $client->contact_person }} {{ $client->email }} @if($client->phone_number)
{{ $client->phone_number }} @endif
{{ $client->active ? 'Active' : 'Inactive' }} @if(method_exists($client, 'trashed') && $client->trashed()) Deleted @endif
@if($client->trashed())
@csrf @method('PUT')
@csrf @method('DELETE')
@else
@csrf @method('DELETE')
@endif

No clients found

Try adjusting your search or filter to find what you're looking for.

Add New Client
Showing {{ $clients->firstItem() }} to {{ $clients->lastItem() }} of {{ $clients->total() }} entries
{{ $clients->withQueryString()->onEachSide(1)->links() }}
@endsection @section('script') @endsection @section('script-bottom') @endsection