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:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user