projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the capability to return checked out items
[cs356-p2-videostore.git]
/
app
/
views
/
coitem
/
list.rhtml
diff --git
a/app/views/coitem/list.rhtml
b/app/views/coitem/list.rhtml
index
e506366
..
f6514cb
100644
(file)
--- a/
app/views/coitem/list.rhtml
+++ b/
app/views/coitem/list.rhtml
@@
-4,6
+4,7
@@
<tr>
<th>Customer</th>
<th>Rentable</th>
<tr>
<th>Customer</th>
<th>Rentable</th>
+ <th>Overdue</th>
<% for column in Coitem.content_columns %>
<th><%= column.human_name %></th>
<% end %>
<% for column in Coitem.content_columns %>
<th><%= column.human_name %></th>
<% end %>
@@
-13,6
+14,7
@@
<tr>
<td><%=h coitem.customer.name %></td>
<td><%=h coitem.rentable.title %></td>
<tr>
<td><%=h coitem.customer.name %></td>
<td><%=h coitem.rentable.title %></td>
+ <td><%=h coitem.overdue? %></td>
<% for column in Coitem.content_columns %>
<td><%=h coitem.send(column.name) %></td>
<% end %>
<% for column in Coitem.content_columns %>
<td><%=h coitem.send(column.name) %></td>
<% end %>