Add Purchase system
[cs356-p2-videostore.git] / app / views / purchase / menu.rhtml
diff --git a/app/views/purchase/menu.rhtml b/app/views/purchase/menu.rhtml
new file mode 100644 (file)
index 0000000..ce8a646
--- /dev/null
@@ -0,0 +1,14 @@
+<h1>Purchase Menu</h1>
+
+<ul>
+  <li>Customer ID: <%= @customer.id %></li>
+  <li>Customer Name: <%= @customer.name %></li>
+  <li>Total Price: <%= @total_price %></li>
+</ul>
+
+<ul>
+  <li><%=link_to 'Rent an Item', :action => 'rent_begin' %></li>
+  <li><%=link_to 'Buy Merchandise', :action => 'buy_begin' %></li>
+</ul>
+
+<%=link_to 'End Purchase', :action => 'index' %>