Skip to content
Permalink
Browse files

complete basic budgeting calculation

  • Loading branch information...
SelenaSmall committed Sep 20, 2015
1 parent f66038b commit c1f9c3ec71e7bc97d5ac30c812d95de3ffb5fb7f
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/views/mybudgets/show.html.erb
@@ -16,11 +16,14 @@
<%= render 'mybudgets/expenses' %>
<%= render 'mybudgets/transfers' %>
</div>
<div class="total-output">BALANCE FORWARD<%= Mybudget.sum(:open_bal)+Income.sum(:amount)-Expense.sum(:amount)-Transfer.sum(:amount) %>
</div>
</center>
</div>
<div class="col-md-4">
</div>


<!-- Modal form -->
<div class="modal fade" id='new-income-modal-form' role='dialog'></div>
<div class="modal fade" id='new-expense-modal-form' role='dialog'></div>

0 comments on commit c1f9c3e

Please sign in to comment.
You can’t perform that action at this time.