@extends('layouts.app') @section('title', $client->company_name) @section('page', 'clients') @section('content') @php $owner = $contacts->first(); $nextDue = $open->sortBy('due_date')->first(); $u = auth()->user(); @endphp All clients
Client since {{ $client->client_since?->format('F Y') }}.@if ($owner) Main contact {{ $owner->name }}, {{ $owner->email }}@endif
| Project | Manager | Progress | Due | Status |
|---|---|---|---|---|
| {{ $p->name }} | {{ $p->manager?->name }} | {{ $p->progress }}% | {{ $p->due_date ? d_long($p->due_date) : 'TBC' }} | @php [$l, $c] = $p->adminBadge(); @endphp{{ badge($l, $c) }} |
| No projects yet.@if ($u->allows('manage_projects')) Create the first one.@endif | ||||
| Invoice | Project | Due | Amount | Status |
|---|---|---|---|---|
| {{ $inv->number }} | {{ $inv->project?->name }} | {{ $inv->due_date ? d_short($inv->due_date) : '' }} | {{ money($inv->total, $inv->currency) }} | @php [$l, $c] = $inv->adminBadge(); @endphp{{ badge($l, $inv->isOpen() && ! $inv->isOverdue() ? 'b-amber' : $c) }} |
| No invoices yet. | ||||
Only your team can see these notes.
@foreach ($client->notes as $n)
{{ $n->body }}