@foreach($projects as $project) @foreach($project->phases as $phase) @foreach($phase->payments as $payment) @endforeach @endforeach @endforeach
Invoice Totals - {{$phaseType}} Filtered Total
Phases completed {{$count}}
To enable the table auto-filters: select Row 5 then press Ctrl+Shift+L
Office Project # Salesperson Project Supervisor Homeowner Completed Vendor Name Invoice Number Invoice Date Invoice Amount
{{$project->office->OfficeName}} {{$project->id}} {{($project->salesperson)?$project->salesperson->contactInfo->name:'Unassigned'}} {{($project->supervisor)?$project->supervisor->contactInfo->name:'Unassigned'}} {{$project->customer->LastName}} {{$project->customer->FirstName}} {{$phase->CompletedDate}} {{optional($phase->subcontractor)->BusinessName}} {{$payment->InvoiceNumber}} {{$payment->InvoiceDate}} {{AppHelper::formatPrice($payment->amount)}}