% title "Invoices" %>
Supplier | Number | Date | Paid on | Amount | Delivery | Note | |||
---|---|---|---|---|---|---|---|---|---|
<%=h invoice.supplier.name %> | <%=h invoice.number %> | <%= invoice.date %> | <%= invoice.paid_on %> | <%= invoice.amount %> | <%=h invoice.delivery_id %> | <%=h truncate(invoice.note) %> | <%= link_to 'Show', finance_invoice_path(invoice) %> | <%= link_to 'Edit', edit_finance_invoice_path(invoice) %> | <%= link_to 'Destroy', finance_invoice_path(invoice), :confirm => 'Are you sure?', :method => :delete %> |