초기 커밋: 5130 레거시 시스템

- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
This commit is contained in:
2025-12-10 20:14:31 +09:00
commit aca1767eb9
6728 changed files with 1863265 additions and 0 deletions

18
annualleave/_row.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
$num = isset($row["num"]) ? $row["num"] : '';
$name = isset($row["name"]) ? $row["name"] : '';
$company = isset($row["company"]) ? $row["company"] : '';
$part = isset($row["part"]) ? $row["part"] : '';
$dateofentry = isset($row["dateofentry"]) ? $row["dateofentry"] : '';
$referencedate = isset($row["referencedate"]) ? $row["referencedate"] : date('Y');
$availableday = isset($row["availableday"]) ? $row["availableday"] : 0;
$comment = isset($row["comment"]) ? $row["comment"] : '';
$is_deleted = isset($row["is_deleted"]) ? $row["is_deleted"] : '';
$update_log = isset($row["update_log"]) ? $row["update_log"] : '';
// 새로 추가된 컬럼들
$years_of_service = isset($row["years_of_service"]) ? $row["years_of_service"] : '';
$initial_less_than_one_year = isset($row["initial_less_than_one_year"]) ? $row["initial_less_than_one_year"] : '';
$service_based = isset($row["service_based"]) ? $row["service_based"] : '';
$previous_year_usage = isset($row["previous_year_usage"]) ? $row["previous_year_usage"] : '';
?>