- <td><%=h customer.id %></td>
- <% for column in Customer.content_columns %>
- <td><%=h customer.send(column.name) %></td>
- <% end %>
- <td><%= link_to 'View', :action => 'show', :id => customer %></td>
+ <td><%=h customer.id %></td>
+ <td><%=link_to customer.name.to_s, :action => 'show', :id => customer %></td>
+ <td><%=h customer.phone %></td>
+ <td><%=h number_to_currency(customer.debt) %></td>
+ <td><%= link_to "Checked Out Items", :controller => :coitem, :action => 'filterbycustomerid', :id => customer %></td>