Sha256: 58e3a776807c16c74cbd1a01ae03310b85eb3aacb186c913a66ef9647f3e42f3

Contents?: true

Size: 666 Bytes

Versions: 5

Compression:

Stored size: 666 Bytes

Contents

<% if @payment.capture_events.exists? %>
  <h3><%= plural_resource_name(Spree::PaymentCaptureEvent) %></h3>
  <table class="index" id="capture_events">
    <thead>
      <tr data-hook="payments_header">
        <th><%= "#{Spree.t('date')}/#{Spree.t('time')}" %></th>
        <th><%= Spree.t(:amount) %></th>
      </tr>
    </thead>
    <tbody>
      <% @payment.capture_events.each do |capture_event| %>
        <tr id="<%= dom_id(capture_event) %>" data-hook="capture_events_row">
          <td><%= pretty_time(capture_event.created_at) %></td>
          <td><%= capture_event.display_amount %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/payments/_capture_events.html.erb
solidus_backend-2.4.1 app/views/spree/admin/payments/_capture_events.html.erb
solidus_backend-2.4.0 app/views/spree/admin/payments/_capture_events.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/payments/_capture_events.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/payments/_capture_events.html.erb