feat: [hr] 사원 목록 테이블에 퇴직일 컬럼 추가

This commit is contained in:
김보곤
2026-02-26 19:07:06 +09:00
parent b6220810cf
commit b9a4a6b835

View File

@@ -8,6 +8,7 @@
<th class="px-6 py-3 text-left text-sm font-semibold text-gray-600">직급/직책</th>
<th class="px-6 py-3 text-center text-sm font-semibold text-gray-600">상태</th>
<th class="px-6 py-3 text-center text-sm font-semibold text-gray-600">입사일</th>
<th class="px-6 py-3 text-center text-sm font-semibold text-gray-600">퇴직일</th>
<th class="px-6 py-3 text-center text-sm font-semibold text-gray-600">연락처</th>
<th class="px-6 py-3 text-center text-sm font-semibold text-gray-600">작업</th>
</tr>
@@ -73,6 +74,11 @@ class="flex items-center gap-3 group">
{{ $employee->hire_date ?? '-' }}
</td>
{{-- 퇴직일 --}}
<td class="px-6 py-4 whitespace-nowrap text-center text-sm text-gray-500">
{{ $employee->resign_date ?? '-' }}
</td>
{{-- 연락처 --}}
<td class="px-6 py-4 whitespace-nowrap text-center text-sm text-gray-500">
{{ $employee->user?->phone ?? $employee->user?->email ?? '-' }}
@@ -117,7 +123,7 @@ class="text-red-600 hover:text-red-800" title="퇴직처리">
</tr>
@empty
<tr>
<td colspan="7" class="px-6 py-12 text-center">
<td colspan="8" class="px-6 py-12 text-center">
<div class="flex flex-col items-center gap-2">
<svg class="w-12 h-12 text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"/>