Item ID | Customer | Type | Rentable | Overdue | Date Checked Out | Due Date | |
---|---|---|---|---|---|---|---|
<%=h coitem.rentable.id.to_s %> | <%=h coitem.customer.name %> | <%=h coitem.rentable.class %> | <% if coitem.rentable.type == Game %><%=link_to coitem.rentable.title.to_s, :controller => 'game', :action => 'show', :id => coitem.rentable %> | <% else %><%=link_to coitem.rentable.title.to_s, :controller => 'video', :action => 'show', :id => coitem.rentable %> | <% end %><%=h tf_to_yesno(coitem.overdue?) %> | <%=h coitem.out_date %> | <%=h coitem.due_date %> |