fix:수당 없어도 1차/2차 수당현황 UI 표시

- calculateCommissionSummaryFromCollection()에서 빈 배열 체크 제거
- 수당 레코드가 없어도 0원으로 UI 표시

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-03 14:50:05 +09:00
parent f66a111335
commit 95eaff1c39

View File

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