{{-- Action Buttons --}}
{{-- Month/Year Navigation --}}
{{ date('F Y', mktime(0,0,0, ($month == 1 ? 12 : $month - 1), 1, ($month == 1 ? $year - 1 : $year))) }}
{{ date('F Y', mktime(0,0,0, ($month == 12 ? 1 : $month + 1), 1, ($month == 12 ? $year + 1 : $year))) }}
{{-- Filter --}}
entries
{{-- Templates DataTable --}}
@foreach($processors as $proc) @endforeach @forelse($users ?? [] as $usr) @foreach($processors as $proc) @php $ut = $usr->userTemplates ?? collect(); $assigned = $ut->where('processor', $proc)->where('effective_month', $month)->where('effective_year', $year)->first(); @endphp @endforeach @empty @endforelse
Name User Class Group{{ $proc }}
{{ $usr->first_name }} {{ $usr->last_name }} {{ $usr->roles->first()->title ?? 'N/A' }} {{ $usr->group ? $usr->group->title : 'ISO' }}{{ $assigned && $assigned->template ? $assigned->template->name . ', rev.' . $assigned->template->id : 'N/A' }}
No data available