3 <p><b>Customer ID: </b><%= @customer.id.to_s %></p>
4 <p><b>Customer Name: </b><%= @customer.name.to_s %></p>
6 <p><b>Transaction Date: </b><%= @time %></p>
9 <p><b>Purchases:</b></p>
21 <td><b>Overdue Item Fees</b></td>
23 <td><%= number_to_currency(@debt) %></td>
26 <% for item in @items %>
28 <td><%=h item.title %></td>
29 <% if item.class == Video or item.class == Game %>
30 <td><%=h item.due_date %></td>
31 <td><%=h number_to_currency(item.calculated_price) %></td>
34 <td><%=h number_to_currency(item.price) %></td>
41 <td><b><%= number_to_currency(@total) %></b></td>
47 <%= link_to 'Start a new Purchase', :action => 'begin' %>