Purchase Menu
Customer Information
- Customer ID: <%= @customer.id %>
- Customer Name: <%= @customer.name %>
- Total Price: <%= @total_price %>
Items Purchased
<% if @items.empty? %>
None
<% else %>
<% for item in @items %>
- <%= item.title %>
<% end %>
<% end %>
- <%=link_to 'Rent an Item', :action => 'rent_begin' %>
- <%=link_to 'Buy Merchandise', :action => 'buy_begin' %>
<%=link_to 'End Purchase', :action => 'index' %>