- store() 수정: create_account=false면 password=NULL 허용 (사원 전용)
- revokeAccount() 추가: 시스템 계정 해제 (password=NULL, 토큰 무효화)
- POST /employees/{id}/revoke-account 라우트 추가
- ko/employee.php, en/employee.php 언어 파일 생성
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
748 B
PHP
23 lines
748 B
PHP
<?php
|
|
|
|
/**
|
|
* Employee management messages
|
|
* - Account management (create/revoke)
|
|
* - Employee status changes
|
|
*/
|
|
return [
|
|
// Account management
|
|
'account_created' => 'System account has been created.',
|
|
'account_revoked' => 'System account has been revoked.',
|
|
'no_account' => 'This employee does not have a system account.',
|
|
'already_has_account' => 'This employee already has a system account.',
|
|
|
|
// Employee status
|
|
'status_changed' => 'Employee status has been changed.',
|
|
'resigned' => 'Employee has been marked as resigned.',
|
|
|
|
// Employee registration
|
|
'created_employee_only' => 'Employee registered. (No login account)',
|
|
'created_with_account' => 'Employee registered. (System account created)',
|
|
];
|