Skip to content

Commit

Permalink
TTPLAT-1843 Show Balance on the Grant Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekEdwards committed Aug 6, 2021
1 parent 17239f6 commit cfd4fa7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/grants/_details.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@
= editable_association_tag(@grant, :fy_year, '* Grant Year', get_fiscal_years(Date.today-18.years,19).map{|x| [x[1], x[0]]}.reverse, current_method: :fy_year, suffix: '')
.row
.col-sm-3= editable_field_tag(@grant, :amount, '* Total Apportionment', required: true, type: 'currency')
.row
.col-sm-3
%label.control-label
="Balance"
.display-value
="#{format_as_currency(@grant.balance)}"
%br
.row
.col-sm-3
.form-group
Expand Down

0 comments on commit cfd4fa7

Please sign in to comment.