projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small Cleanups + Merchandise Search
[cs356-p2-videostore.git]
/
app
/
views
/
purchase
/
income_results.rhtml
diff --git
a/app/views/purchase/income_results.rhtml
b/app/views/purchase/income_results.rhtml
index
eafd83f
..
6c10b8c
100644
(file)
--- a/
app/views/purchase/income_results.rhtml
+++ b/
app/views/purchase/income_results.rhtml
@@
-2,6
+2,11
@@
<p><b>Number of Merchandise Items Sold: </b><%= @merch_count %></p>
<p><b>Income from Merchandise: </b><%= number_to_currency(@merch_sum) %></p>
<p><b>Number of Merchandise Items Sold: </b><%= @merch_count %></p>
<p><b>Income from Merchandise: </b><%= number_to_currency(@merch_sum) %></p>
+<br/>
<p><b>Number of Rentals: </b><%= @rent_count %></p>
<p><b>Income from Rentals: </b><%= number_to_currency(@rent_sum) %></p>
<p><b>Number of Rentals: </b><%= @rent_count %></p>
<p><b>Income from Rentals: </b><%= number_to_currency(@rent_sum) %></p>
+<br/>
+<p><b>Number of Late Fee Payments: </b><%= @late_count %></p>
+<p><b>Income from Late Fee Payments: </b><%= number_to_currency(@late_sum) %></p>
+<br/>
<p><b>Total Income: </b><%= number_to_currency(@total) %></p>
<p><b>Total Income: </b><%= number_to_currency(@total) %></p>