@if(!empty($allTitles)) @foreach($headers as $header) @endforeach @endif @if(!empty($allTitles)) @foreach($allTitles as $title) @php $total = 0; @endphp @foreach($headers as $weekNo => $weekTitle) @php $currentTotal = $bFilteredData[$title][$weekNo]??0; $total = $total + $currentTotal; @endphp @if(isset($bFullWeekData[$title][$weekNo])) @else @endif @endforeach @if($total > 0) @else @endif @endforeach @else @endif
Frequency
{{$page_title}}{!!$header!!}Total
{{$title}}{{$currentTotal}}{{$currentTotal}}{{$total}}{{$total}}
No Records found in the table
@if(!$isDownload) @if(!$isEmpty)
@endif @else
@if(!empty($allTitles)) @endif
@endif