X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fpurchase%2Fmenu.rhtml;h=9fb2fa13229e569ec65b56b94e873567a11e5fa3;hb=HEAD;hp=6f5abd1c8a9b93d5bdddbd1922feae9c5f897a9d;hpb=74561aac0964ca7bd9283ad0a9b017e02431f845;p=cs356-p2-videostore.git
diff --git a/app/views/purchase/menu.rhtml b/app/views/purchase/menu.rhtml
index 6f5abd1..9fb2fa1 100644
--- a/app/views/purchase/menu.rhtml
+++ b/app/views/purchase/menu.rhtml
@@ -1,10 +1,12 @@
-
Purchase Menu
+Customer Transaction
Customer Information
- Customer ID: <%= @customer.id %>
- Customer Name: <%= @customer.name %>
- - Total Price: <%= @total_price %>
+ - Customer Debt: <%= number_to_currency(@customer.debt) %>
+ - Price for this transaction: <%= number_to_currency(@total_price) %>
+ - Total Amount Owed: <%= number_to_currency(@customer.debt + @total_price) %>
Items Purchased
@@ -18,9 +20,13 @@
<% end %>
+Actions
- - <%=link_to 'Rent an Item', :action => 'rent_begin' %>
- - <%=link_to 'Buy Merchandise', :action => 'buy_begin' %>
+ - <%=link_to 'Rent an Item', :action => 'rent' %>
+ - <%=link_to 'Buy Merchandise', :action => 'buy_merch' %>
+
+
+
+ - <%=link_to 'Checkout', :action => 'receipt' %>
-<%=link_to 'End Purchase', :action => 'index' %>