Small Cleanups + Merchandise Search
[cs356-p2-videostore.git] / app / views / purchase / income_results.rhtml
1 <h1>Income from <%= @begin_date %> to <%= @end_date %></h1>
2
3 <p><b>Number of Merchandise Items Sold: </b><%= @merch_count %></p>
4 <p><b>Income from Merchandise: </b><%= number_to_currency(@merch_sum) %></p>
5 <br/>
6 <p><b>Number of Rentals: </b><%= @rent_count %></p>
7 <p><b>Income from Rentals: </b><%= number_to_currency(@rent_sum) %></p>
8 <br/>
9 <p><b>Number of Late Fee Payments: </b><%= @late_count %></p>
10 <p><b>Income from Late Fee Payments: </b><%= number_to_currency(@late_sum) %></p>
11 <br/>
12 <p><b>Total Income: </b><%= number_to_currency(@total) %></p>