From 5ae326521fb64847a052d4430b68096ee3956655 Mon Sep 17 00:00:00 2001 From: kent Date: Fri, 26 Dec 2025 18:25:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[leave]=20=ED=9C=B4=EC=A7=81=20=EC=A7=81?= =?UTF-8?q?=EC=9B=90=EB=8F=84=20=ED=9C=B4=EA=B0=80=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=ED=98=84=ED=99=A9=EC=97=90=20=ED=91=9C=EC=8B=9C=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- app/Services/LeaveService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/LeaveService.php b/app/Services/LeaveService.php index 1919062..365d8af 100644 --- a/app/Services/LeaveService.php +++ b/app/Services/LeaveService.php @@ -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',