feat: [stock,client,status-board] 날짜 필터 및 조건 보완

- StockController/StockService: 입출고 이력 기반 날짜 범위 필터 추가
- ClientService: 등록일 기간 필터(start_date/end_date) 추가
- StatusBoardService: 부실채권 현황에 is_active 조건 추가 (목록 페이지 일치)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-03-03 21:53:30 +09:00
parent ad27090bfc
commit 42443349dc
4 changed files with 27 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ private function getBadDebtStatus(int $tenantId): array
$count = BadDebt::query()
->where('tenant_id', $tenantId)
->where('status', BadDebt::STATUS_COLLECTING) // 추심 진행 중
->where('is_active', true) // 활성 채권만 (목록 페이지와 일치)
->count();
return [