@extends('layouts.app') @section('title', 'Clients') @section('page-title', 'Clients') @section('content')
{{ request('search') ? 'No clients match your search.' : 'Add your first client to start creating invoices.' }}
@if(!request('search')) Add Client @endif| Client | Contact | Total Billed | Total Paid | Invoices | |
|---|---|---|---|---|---|
|
{{ $client->display_name }}
@if($client->business_name && $client->name !== $client->business_name)
{{ $client->name }}
@endif
|
@if($client->email)
{{ $client->email }}
@endif
@if($client->phone)
{{ $client->phone }}
@endif
|
₦{{ number_format($client->total_billed, 2) }} | ₦{{ number_format($client->total_paid, 2) }} | {{ $client->invoices_count }} |