X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fpurchase%2Flist.rhtml;h=6887d135c81f78f5859de9a559541a5858d885d0;hb=31c3621ad8a43715ecc02655d58b20099308fe50;hp=4c6e1ec47e084025e5b20be215243bbb3a7f90c2;hpb=b12881a928516bca02b2bd8ce1bbe9288840c76f;p=cs356-p2-videostore.git diff --git a/app/views/purchase/list.rhtml b/app/views/purchase/list.rhtml index 4c6e1ec..6887d13 100644 --- a/app/views/purchase/list.rhtml +++ b/app/views/purchase/list.rhtml @@ -3,7 +3,6 @@ - @@ -13,8 +12,7 @@ <% for purchase in @purchases %> - - +
DateQuantity Type Title Price
<%=link_to purchase.date, :action => 'filterbydate', :id => purchase.date %><%=h purchase.quantity %><%=link_to purchase.type, :action => 'filterbytype', :id => purchase.type %><%=link_to purchase.class, :action => 'filterbytype', :id => purchase.type %> <%=h purchase.title %> <%=h purchase.price %> <%=link_to purchase.customer.name, :action => 'filterbycust', :id => purchase.customer_id %>