feat(API): 채권현황 동적월 지원 및 year=0 파라미터 버그 수정
- ReceivablesController: boolean 유효성 검사를 string|in:true,false,1,0으로 변경 - 쿼리 문자열의 "true" 문자열을 올바르게 처리 - 디버깅용 Log::info 추가 - ReceivablesService: 동적 월 기간 지원 - recent_year=true 시 최근 12개월 동적 계산 - 월별 레이블 동적 생성 (예: 25.02, 25.03...) - 이월잔액(carry_forward_balance) 계산 추가 - Client 모델: is_overdue, memo 필드 추가 - 마이그레이션: clients 테이블에 is_overdue 컬럼 추가 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,7 @@ class Client extends Model
|
||||
'outstanding_balance',
|
||||
'credit_limit',
|
||||
'is_active',
|
||||
'is_overdue',
|
||||
'client_type',
|
||||
'manager_name',
|
||||
'manager_tel',
|
||||
@@ -46,6 +47,7 @@ class Client extends Model
|
||||
|
||||
protected $casts = [
|
||||
'is_active' => 'boolean',
|
||||
'is_overdue' => 'boolean',
|
||||
'tax_agreement' => 'boolean',
|
||||
'tax_amount' => 'decimal:2',
|
||||
'outstanding_balance' => 'decimal:2',
|
||||
|
||||
Reference in New Issue
Block a user