fix: [entertainment] 분기 사용액 조회에 날짜 필터 적용
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -266,7 +266,7 @@ public function getDetail(
|
||||
|
||||
// 연간/분기 사용액 조회
|
||||
$annualUsed = $this->getUsedAmount($tenantId, $annualStartDate, $annualEndDate);
|
||||
$quarterlyUsed = $this->getUsedAmount($tenantId, $quarterStartDate, $quarterEndDate);
|
||||
$quarterlyUsed = $this->getUsedAmount($tenantId, $filterStartDate, $filterEndDate);
|
||||
|
||||
// 잔여/초과 계산
|
||||
$annualRemaining = max(0, $annualLimit - $annualUsed);
|
||||
|
||||
Reference in New Issue
Block a user