feat: 휴가 부여현황 API 추가
- leave_grants 테이블 마이그레이션 추가 - LeaveGrant 모델 생성 (annual/monthly/reward/condolence/other 유형) - LeaveService에 getGrants, storeGrant, destroyGrant 메서드 추가 - LeaveController에 grants, storeGrant, destroyGrant 엔드포인트 추가 - GET/POST/DELETE /api/v1/leaves/grants 라우트 추가 - 연차/월차 부여 시 LeaveBalance total_days 자동 갱신
This commit is contained in:
@@ -382,4 +382,13 @@
|
||||
'token_toggled' => '토큰 상태가 변경되었습니다.',
|
||||
'token_deleted' => '토큰이 삭제되었습니다.',
|
||||
],
|
||||
|
||||
// 휴가 관리
|
||||
'leave' => [
|
||||
'created' => '휴가 신청이 완료되었습니다.',
|
||||
'approved' => '휴가가 승인되었습니다.',
|
||||
'rejected' => '휴가가 반려되었습니다.',
|
||||
'cancelled' => '휴가가 취소되었습니다.',
|
||||
'granted' => '휴가가 부여되었습니다.',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user