From 95eaff1c39e33cfd277c0e4b7748deee7e8496c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Tue, 3 Feb 2026 14:50:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=EC=88=98=EB=8B=B9=20=EC=97=86=EC=96=B4?= =?UTF-8?q?=EB=8F=84=201=EC=B0=A8/2=EC=B0=A8=20=EC=88=98=EB=8B=B9=ED=98=84?= =?UTF-8?q?=ED=99=A9=20UI=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - calculateCommissionSummaryFromCollection()에서 빈 배열 체크 제거 - 수당 레코드가 없어도 0원으로 UI 표시 Co-Authored-By: Claude Opus 4.5 --- app/Http/Controllers/Sales/SalesDashboardController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Http/Controllers/Sales/SalesDashboardController.php b/app/Http/Controllers/Sales/SalesDashboardController.php index d4d88a39..da053ff3 100644 --- a/app/Http/Controllers/Sales/SalesDashboardController.php +++ b/app/Http/Controllers/Sales/SalesDashboardController.php @@ -845,10 +845,6 @@ public function helpGuide(): View */ private function calculateCommissionSummaryFromCollection($commissions): array { - if ($commissions->isEmpty()) { - return []; - } - $thisMonth = now()->format('Y-m'); $thisMonthStart = now()->startOfMonth()->format('Y-m-d'); $thisMonthEnd = now()->endOfMonth()->format('Y-m-d');