@extends('layout.app') @section('content')

New Join Summary Report (by Employee)

From {{ $from_date }} to {{ $to_date }} Download Excel Back to List
@php $sr = 1; $grandTotal = 0; @endphp @foreach ($summary as $row) @php $employeeName = $row->marketing_employee_id ? ($employees[$row->marketing_employee_id] ?? 'Employee #' . $row->marketing_employee_id) : 'No employee'; $grandTotal += $row->total; @endphp @endforeach
# Employee Total User
{{ $sr++ }} {{ $employeeName }} {{ $row->total }}
Total {{ $grandTotal }}
@if ($summary->isEmpty())

No records found for the selected date range and filters.

@endif
@endsection