Sha256: f710ac3a96e8389563b4163f7c3e0ff310565f1953357d889f0c62bd06692bfd

Contents?: true

Size: 426 Bytes

Versions: 6

Compression:

Stored size: 426 Bytes

Contents

<%= link_to 'View your subscription', account_subscription_path, class: 'btn btn-secondary float-xs-right' %>
<h2>Receipts</h2>
<hr>

<% if @invoices.any? %>
  <ul class="list-group">
    <% @invoices.each do |invoice| %>
      <%= render partial: 'tang/account/receipts/receipt', locals: { invoice: invoice } %>
    <% end %>
  </ul>
<% else %>
  <p>You don't have any receipts.</p>
<% end %>

<%= will_paginate @invoices %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tang-0.2.2 app/views/tang/account/receipts/index.html.erb
tang-0.2.1 app/views/tang/account/receipts/index.html.erb
tang-0.2.0 app/views/tang/account/receipts/index.html.erb
tang-0.1.0 app/views/tang/account/receipts/index.html.erb
tang-0.0.9 app/views/tang/account/receipts/index.html.erb
tang-0.0.8 app/views/tang/account/receipts/index.html.erb