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 %> |