@extends('layouts.app') @section('title', 'Clients') @section('content')
{{ $totalClients }} {{ Str::plural('client', $totalClients) }}
Total Clients
{{ $totalClients }}
Total Projects
@php $totalProjects = $clients->sum('projects_count'); @endphp{{ $totalProjects }}
With Outstanding
{{ $withOutstanding }}
invoices pending
| Name | Contact | Projects | Proposals | Outstanding | Actions |
|---|---|---|---|---|---|
| {{ $client->name }} |
{{ $client->email }} @if ($client->phone){{ $client->phone }} @endif |
{{ $client->projects_count }} | {{ $client->proposals_count }} |
@if (empty($client->outstanding_by_currency))
Paid up
@else
@foreach ($client->outstanding_by_currency as $cur => $total)
{{ $symMap[$cur] ?? $cur }} {{ number_format($total, 2) }} @endforeach @endif |
Showing {{ $clients->firstItem() }}–{{ $clients->lastItem() }} of {{ $clients->total() }}