Search Results for '<%= @query[0].to_s %>'

<% if @customers.empty? %>

Sorry, there were no results

<% else %> <% for customer in @customers %> <% end %>
Customer ID Name Phone Balance
<%=h customer.id %> <%=link_to customer.name.to_s, :action => 'show', :id => customer %> <%=h customer.phone %> <%=h number_to_currency(customer.debt) %> <%= link_to "Checked Out Items", :controller => :coitem, :action => 'filterbycustomerid', :id => customer %> <%= link_to 'Edit', :action => 'edit', :id => customer %> <%= link_to 'Remove', { :action => 'destroy', :id => customer }, :confirm => 'Are you sure?', :method => :post %>
<% end %>