@extends('pdf.reports.layouts.pdf') @section('style') @endsection @section('content') @if ($projects) @foreach($projects as $project) {{--//netPosition = amBilled - amEarned;--}} @endforeach {{----}} @else @endif
Project ID Homeowner Draws/Adds + Addendums % Earned Project Costs (A) Payments (B) Net Position (B - A)
{{$project['id']}} {{$project['fullName']}} {{AppHelper::formatPrice($project['netSails'])}} {{number_format($project['totalAmEarned'] * 100, 2) }}% {{AppHelper::formatPrice($project['amEarned'])}} {{AppHelper::formatPrice($project['amBilled'])}} {{AppHelper::formatPrice($project['netPosition'])}}

Totals {{AppHelper::formatPrice($totals['netSails'])}}{{number_format(($totals['amEarned'] / $totals['amEarnedYts']) * 100,2) }}% @if(!empty($totals['amEarnedYts']) && $totals['amEarnedYts'] != 0) {{ number_format(($totals['amEarned'] / $totals['amEarnedYts']) * 100, 2) }}% @else 0% @endif {{AppHelper::formatPrice($totals['amEarned'])}} {{AppHelper::formatPrice($totals['amBilled'])}} {{AppHelper::formatPrice($totals['netPosition'])}}
No reports matching the condition
@endsection