@@ -228,8 +228,7 @@ |
||
| 228 | 228 | $periodId = $request->get('periodId'); |
| 229 | 229 | if ($periodId) { |
| 230 | 230 | $pendingBalance = Enrollment::period($periodId)->pending()->sum('balance'); |
| 231 | - } |
|
| 232 | - else { |
|
| 231 | + } else { |
|
| 233 | 232 | $pendingBalance = Enrollment::pending()->sum('balance'); |
| 234 | 233 | } |
| 235 | 234 | |