fix(attendance): 월간 출근부 미입사 표시 — hire_date 참조로 수정
join_date(NULL) 대신 hire_date 사용. 입사일 이전 날짜가 회색(미입사)으로 정상 표시됨. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -797,7 +797,7 @@
|
||||
let totalOvertimeHours = 0;
|
||||
|
||||
// 입사일 파싱
|
||||
const joinDate = worker.join_date ? worker.join_date.split('T')[0].split(' ')[0] : null;
|
||||
const joinDate = (worker.hire_date || worker.join_date) ? (worker.hire_date || worker.join_date).split('T')[0].split(' ')[0] : null;
|
||||
|
||||
html += `<tr>`;
|
||||
html += `<td class="fixed fixed-no">${index + 1}</td>`;
|
||||
|
||||
Reference in New Issue
Block a user