1 <h1>Listing Overdue Items</h1>
7 <th>Customer Phone #</th>
8 <th>Customer Email</th>
12 <th>Date Checked Out</th>
16 <% for coitem in @coitems %>
18 <td><%=h coitem.rentable.id.to_s %></td>
19 <td><%=link_to coitem.customer.name, :controller => 'customer', :action => 'show', :id => coitem.customer.id %></td>
20 <td><%=h coitem.customer.phone %></td>
21 <td><%=h coitem.customer.email %></td>
22 <td><%=h coitem.rentable.type %></td>
23 <td><%=h coitem.rentable.title %></td>
24 <td><%=h tf_to_yesno(coitem.overdue?) %></td>
25 <td><%=h coitem.out_date %></td>
26 <td><%=h coitem.due_date %></td>
27 <td><%= link_to 'View', :action => 'show', :id => coitem %></td>
32 <%= link_to 'Previous page', { :page => @coitem_pages.current.previous } if @coitem_pages.current.previous %>
33 <%= link_to 'Next page', { :page => @coitem_pages.current.next } if @coitem_pages.current.next %>