diff --git a/app/views/reports/month.blade.php b/app/views/reports/month.blade.php
index 796de9cd9c..ce050cdbed 100644
--- a/app/views/reports/month.blade.php
+++ b/app/views/reports/month.blade.php
@@ -43,9 +43,17 @@
Spent |
Left |
-
+
@foreach($budgets as $budget)
- spent);?>
+ spent);
+ $sumEnvelope += floatval($budget->budget_amount);
+ $sumLeft += floatval($budget->budget_amount) - floatval($budget->spent);
+ ?>
|
@if($budget->id > 0)
@@ -60,8 +68,10 @@
|
@endforeach
- | Sum |
- {{mf($sum)}} |
+ Sum |
+ {{mf($sumEnvelope)}} |
+ {{mf($sumSpent)}} |
+ {{mf($sumLeft)}} |