@extends('layouts.app') @section('title', 'Client Management') @section('content') @php $qParams = request()->query(); $hasFilters = filled($filters['q']) || filled($filters['status']); @endphp
Last import
{{ ($importSummary['created'] ?? 0) }} created, {{ ($importSummary['updated'] ?? 0) }} updated, {{ ($importSummary['skipped'] ?? 0) }} skipped.
@if(!empty($importSummary['errors']))Total Clients
{{ $totalClients }}
Active Contracts
{{ $activeContracts }}
Total Receivable
{{ \App\Support\Format::mwk($totalReceivable) }}
Overdue
{{ \App\Support\Format::mwk($overdueAmount) }}
No clients match your filters
Try changing your search or status filter.
Clear filters @elseNo clients found
Add your first client or import clients from Excel.
All Clients
| Client Name | Contact Person | Phone | TIN Number | Projects | Outstanding | Status | |
|---|---|---|---|---|---|---|---|
|
{{ $c->company_name }} @if($c->email){{ $c->email }} @endif |
{{ $c->contact_person ?: 'Not provided' }} | {{ $c->phone ?: 'Not provided' }} | {{ $c->tin_number ?: 'Not provided' }} | {{ (int) ($c->projects_count ?? 0) }} | {{ \App\Support\Format::mwk($c->outstanding_balance ?? 0) }} | {{ $displayStatus }} | View |
Add Client