@include('proedge.modal.project.trackjobcost.table')
@php $k=1; @endphp @foreach($job->phases as $phase) @endforeach
Phase Completed AP Labor $ Material $ Sub-Cont $ Total $ Actual $ Yet to Spend $ Options
{{$k++}} @if($permissions['edit_project_costs_phase_detail']) {{$phase->type->Name}} @else {{$phase->type->Name}} @endif {{$phase->CompletedDate}} {{$phase->formatPrice($phase->EstLabor)}} {{$phase->formatPrice($phase->EstMaterial)}} {{$phase->formatPrice($phase->EstSubcontractor)}} {{$phase->formatPrice($phase->EstTotal)}} TotalInvoiced > $phase->EstTotal) style="color: red" @endif>{{$phase->formatPrice($phase->TotalInvoiced)}} {{$phase->formatPrice($phase->YetToSpend)}} @if (count($phase->payments))
@foreach ($phase->payments as $payment) @endforeach
Inv. Date Inv. Number Amount Comments
{{date('m/d/Y',strtotime($payment->InvoiceDate))}} {{$payment->InvoiceNumber}} {{$phase->formatPrice($payment->Amount)}} {{$payment->Comment}}
@endif     @if($permissions['edit_project_costs_phase_options_table']) @endif
@include('proedge.modal.project.trackjobcost.fee.feeTab')