feat: 급여 관리 API 구현 (Phase 2: 3.2)
- 마이그레이션: payrolls, payroll_settings 테이블 생성 - 모델: Payroll (상태관리 draft→confirmed→paid), PayrollSetting - 서비스: PayrollService (4대보험 계산, 급여명세서) - 컨트롤러: PayrollController + FormRequest 5개 - API 엔드포인트 13개: - 급여 CRUD + confirm/pay/payslip - 일괄 계산/확정 (calculate, bulk-confirm) - 설정 관리 (settings/payroll) - Swagger 문서: PayrollApi.php - i18n: error.php, message.php, validation.php 키 추가
This commit is contained in:
@@ -215,4 +215,17 @@
|
||||
'invalid_longitude' => '경도는 -180 ~ 180 사이여야 합니다.',
|
||||
'has_dependencies' => '연관된 데이터가 있어 삭제할 수 없습니다.',
|
||||
],
|
||||
|
||||
// 급여 관리 관련
|
||||
'payroll' => [
|
||||
'not_found' => '급여 정보를 찾을 수 없습니다.',
|
||||
'already_exists' => '해당 연월에 이미 급여가 등록되어 있습니다.',
|
||||
'not_editable' => '작성중 상태의 급여만 수정할 수 있습니다.',
|
||||
'not_deletable' => '작성중 상태의 급여만 삭제할 수 있습니다.',
|
||||
'not_confirmable' => '작성중 상태의 급여만 확정할 수 있습니다.',
|
||||
'not_payable' => '확정된 급여만 지급 처리할 수 있습니다.',
|
||||
'invalid_withdrawal' => '유효하지 않은 출금 내역입니다.',
|
||||
'user_not_found' => '직원 정보를 찾을 수 없습니다.',
|
||||
'no_base_salary' => '기본급이 설정되지 않았습니다.',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user