{{-- 사원별 월간 요약 (HTMX로 로드) --}} @php use App\Models\HR\Attendance; @endphp

{{ $year }}년 {{ $month }}월 사원별 요약

@if(empty($summary))

해당 월의 근태 데이터가 없습니다.

@else @foreach(Attendance::STATUS_MAP as $key => $label) @endforeach @foreach($summary as $item) @foreach(Attendance::STATUS_MAP as $key => $label) @php $cnt = $item['statuses'][$key] ?? 0; @endphp @endforeach @endforeach
사원 부서 근무일 총근무(h){{ $label }}
{{ mb_substr($item['name'], 0, 1) }}
{{ $item['name'] }}
{{ $item['department'] }} {{ $item['total_days'] }}일 {{ $item['total_minutes'] > 0 ? round($item['total_minutes'] / 60, 1) : '-' }} {{ $cnt ?: '-' }}
@endif