Sha256: 178360ba3d1ed53975765b74279ede130845f6b4b46d24ba476f3c9af56c022b

Contents?: true

Size: 660 Bytes

Versions: 19

Compression:

Stored size: 660 Bytes

Contents

<h1>Listing invoices</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Total paid</th>
    <th>Total charged</th>
    <th>Paid</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @invoices.each do |invoice| %>
  <tr>
    <td><%= invoice.title %></td>
    <td><%= invoice.total_paid %></td>
    <td><%= invoice.total_charged %></td>
    <td><%= invoice.paid %></td>
    <td><%= link_to 'Show', invoice %></td>
    <td><%= link_to 'Edit', edit_invoice_path(invoice) %></td>
    <td><%= link_to 'Destroy', invoice, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Invoice', new_invoice_path %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
query_report-1.0.18 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.17 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.16 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.15 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.14 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.13 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.12 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.11 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.10 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.9 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.8 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.7 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.6 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.5 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.4 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.3 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.2 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.1 test/dummy/app/views/invoices/index.html.erb
query_report-1.0.0 test/dummy/app/views/invoices/index.html.erb