feat: [payroll] 엑셀 내보내기 및 전표 생성 API 추가

- GET /payrolls/export: 급여 현황 엑셀 다운로드 (필터 지원)
- POST /payrolls/journal-entries: 연월 기준 급여 전표 일괄 생성
- JournalEntry SOURCE_PAYROLL 상수 추가
- StorePayrollJournalRequest 유효성 검증 추가
This commit is contained in:
김보곤
2026-03-12 10:55:17 +09:00
parent 069d0206a0
commit f401e17447
7 changed files with 339 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ class JournalEntry extends Model
public const SOURCE_HOMETAX_INVOICE = 'hometax_invoice';
public const SOURCE_PAYROLL = 'payroll';
// Entry type
public const TYPE_GENERAL = 'general';