fix: [leave] 휴직 직원도 휴가 사용현황에 표시되도록 수정

- getAllBalances()에서 employee_status 필터를 'active'에서
  ['active', 'leave']로 변경하여 휴직 직원도 포함
- 휴직 상태 직원: 최준호(46), 한지민(50), 오태양(51)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-26 18:25:33 +09:00
parent 7fc11a2215
commit 5ae326521f

View File

@@ -330,7 +330,7 @@ public function getAllBalances(array $params): LengthAwarePaginator
$query = TenantUserProfile::query()
->where('tenant_id', $tenantId)
->where('employee_status', 'active')
->whereIn('employee_status', ['active', 'leave']) // 재직 + 휴직 직원 포함
->with([
'user:id,name,email',
'department:id,name',