Listing Overdue Items

<% for coitem in @coitems %> <% end %>
Item ID Customer Customer Phone # Customer Email Type Title Overdue Date Checked Out Due Date
<%=h coitem.rentable.id.to_s %> <%=link_to coitem.customer.name, :controller => 'customer', :action => 'show', :id => coitem.customer.id %> <%=h coitem.customer.phone %> <%=h coitem.customer.email %> <%=h coitem.rentable.type %> <%=h coitem.rentable.title %> <%=h tf_to_yesno(coitem.overdue?) %> <%=h coitem.out_date %> <%=h coitem.due_date %> <%= link_to 'View', :action => 'show', :id => coitem %>
<%= link_to 'Previous page', { :page => @coitem_pages.current.previous } if @coitem_pages.current.previous %> <%= link_to 'Next page', { :page => @coitem_pages.current.next } if @coitem_pages.current.next %>