@extends('layouts.app') @section('content')
Amount | ||
{{$heads->name}} | ||
{{$subhead->name}} | ||
{{$title->name}} | ||
{{$entry->report->first()->reportableable->name}} | {{$entryCurrentAmount}} | Total {{$entry->name}} | @endif @endforeach @php $TitleTotal += $entryTotal; @endphp @if($title->is_total == 1) | Total {{$title->name}} | {{$TitleTotal}} | @endif @endforeach @php $SubHeadTotal += $TitleTotal; @endphp @if($subhead->is_total == 1)Total {{$subhead->name}} | {{$SubHeadTotal}} | @endif @endforeach @php $headTotal = $SubHeadTotal; @endphp @if($heads->is_total == 1)Total {{$heads->name}} | {{$headTotal}} | @endif @endforeach