{{-- resources/views/clients/index.blade.php --}} @extends('layouts.finance.finance') @section('content')
{{ $totalClients ?? 0 }}
{{ $activeProjectsCount ?? 0 }}
| Client Name | Total Projects | Projects in Execution | Total Invoiced | Total Collected | Balance Due | {{-- THIS IS THE NEW HEADER FOR THE BUTTON --}}Action |
|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($clientName, 0, 1)) }}
{{ $clientName }}
|
{{ $totalProjects }} | {{ $executionProjects }} Running | Rs {{ number_format($totalInvoiced, 2) }} | Rs {{ number_format($totalCollected, 2) }} | Rs {{ number_format(max(0, $balanceDue), 2) }} | {{-- THIS IS THE NEW VIEW BUTTON --}}View |
| No clients found. | ||||||