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