feat: [finance] 계정과목 및 일반전표 API 추가

- AccountCode 모델/서비스/컨트롤러 구현
- JournalEntry, JournalEntryLine 모델 구현
- GeneralJournalEntry 서비스/컨트롤러 구현
- FormRequest 검증 클래스 추가
- finance 라우트 등록
- i18n 메시지 키 추가 (message.php, error.php)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-03-06 13:10:45 +09:00
parent be9c1baa34
commit 12d172e4c3
13 changed files with 1137 additions and 0 deletions

View File

@@ -481,4 +481,15 @@
'cannot_delete' => '해당 계약은 삭제할 수 없습니다.',
'invalid_status' => '유효하지 않은 계약 상태입니다.',
],
// 일반전표입력
'journal_entry' => [
'debit_credit_mismatch' => '차변 합계와 대변 합계가 일치해야 합니다.',
],
// 계정과목
'account_subject' => [
'duplicate_code' => '이미 존재하는 계정과목 코드입니다.',
'in_use' => '전표에서 사용 중인 계정과목은 삭제할 수 없습니다.',
],
];