% title "Invoices" %>
Supplier | Number | Date | Paid on | Amount | Delivery | Note | |||
---|---|---|---|---|---|---|---|---|---|
<%=h invoice.supplier.name %> | <%=h invoice.number %> | <%= invoice.date %> | <%= invoice.paid_on %> | <%= invoice.amount %> | <%= link_to "Lieferung", [invoice.supplier,invoice.delivery] if invoice.delivery %> | <%=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 %> |