Files
sam-manage/resources/views/hr/attendances/partials/stats.blade.php
김보곤 474165ff67 feat: [attendance] 근태현황 Phase 1 구현
- 1-1: 등록/수정 버그 수정 (created_by 덮어쓰기 방지)
- 1-2: 엑셀(CSV) 다운로드 기능 추가
- 1-3: 체크박스 일괄 삭제 기능 추가
- 1-4: 월간 통계 연/월 선택 기능 추가
2026-02-26 20:45:19 +09:00

24 lines
1.2 KiB
PHP

{{-- 근태 월간 통계 카드 (HTMX로 갱신) --}}
<div class="grid gap-4" style="grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));">
<div class="bg-white rounded-lg shadow-sm p-4">
<div class="text-sm text-gray-500">정시출근</div>
<div class="text-2xl font-bold text-emerald-600">{{ $stats['onTime'] }}</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-4">
<div class="text-sm text-gray-500">지각</div>
<div class="text-2xl font-bold text-amber-600">{{ $stats['late'] }}</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-4">
<div class="text-sm text-gray-500">결근</div>
<div class="text-2xl font-bold text-red-600">{{ $stats['absent'] }}</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-4">
<div class="text-sm text-gray-500">휴가</div>
<div class="text-2xl font-bold text-blue-600">{{ $stats['vacation'] }}</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-4">
<div class="text-sm text-gray-500">기타</div>
<div class="text-2xl font-bold text-gray-600">{{ $stats['etc'] }}</div>
</div>
</div>