% 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', invoice %> | <%= link_to 'Edit', edit_invoice_path(invoice) %> | <%= link_to 'Destroy', invoice, :confirm => 'Are you sure?', :method => :delete %> |