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');