@extends('pdf.reports.layouts.pdf') @section('style') @endsection @section('content') @if(!empty($typeTotals)) @foreach($typeTotals as $type => $project) @php $current =$project['current']; $first = $project['first']; $second = $project['second']; $third = $project['third']; $total = $project['total']; @endphp @endforeach @endif @if(!empty($grandTotal) && $grandTotal > 0) @endif
Current 31-60 Days 61-90 Days 90 + Days Total
{{$type}} {{AppHelper::formatPrice($current)}} {{AppHelper::formatPrice($first)}} {{AppHelper::formatPrice($second)}} {{AppHelper::formatPrice($third)}} {{AppHelper::formatPrice($total)}}
Totals {{AppHelper::formatPrice($grandCurrent)}} {{AppHelper::formatPrice($grandFirst)}} {{AppHelper::formatPrice($grandSecond)}} {{AppHelper::formatPrice($grandThird)}} {{AppHelper::formatPrice($grandTotal)}}
@endsection