| # |
Source |
Total User |
@php $sr = 1; $grandTotal = 0; @endphp
@foreach ($summary as $row)
@php
$sourceName = $row->source_id
? ($sources[$row->source_id] ?? 'Source #' . $row->source_id)
: 'No source';
$grandTotal += $row->total;
@endphp
| {{ $sr++ }} |
{{ $sourceName }} |
{{ $row->total }} |
@endforeach
| Total |
{{ $grandTotal }} |
@if ($summary->isEmpty())
No records found for the selected date range and filters.
@endif