Listing trans

<% for trans in @trans %> <% end %>
Contact Loan Admin Note Latepayment Payed Reciepnumber
<%=h trans.contact_id %> <%=h trans.loan_id %> <%=h trans.admin_id %> <%=h trans.note %> <%=h trans.latepayment %> <%=h trans.payed %> <%=h trans.reciepnumber %> <%= link_to 'Show', trans %> <%= link_to 'Edit', edit_trans_path(trans) %> <%= link_to 'Destroy', trans, :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New trans', new_tran_path %>