Sha256: c7b4754cedbaff2311b2e2641e45ca5c830474f2ef7cde0fef798b07dcdb8d20

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 KB

Contents

<fieldset class="no-border-bottom">
  <legend><%= plural_resource_name(Spree::Payment) %></legend>
  <table class="index">
    <thead>
      <tr data-hook="payments_header">
        <th><%= Spree::Payment.human_attribute_name(:number) %></th>
        <th><%= Spree::Payment.human_attribute_name(:created_at) %></th>
        <th><%= Spree::Payment.human_attribute_name(:amount) %></th>
        <th><%= Spree::PaymentMethod.model_name.human %></th>
        <th><%= Spree::Payment.human_attribute_name(:response_code) %></th>
        <th><%= Spree::Payment.human_attribute_name(:state) %></th>
      </tr>
    </thead>
    <tbody>
      <% payments.each do |payment| %>
        <tr>
          <td>
            <%= link_to payment.number, spree.admin_order_payment_path(@order, payment) %>
          </td>
          <td>
            <%= pretty_time(payment.created_at) %>
          </td>
          <td class="amount">
            <%= payment.display_amount.to_html %>
          </td>
          <td>
            <%= payment_method_name(payment) %>
          </td>
          <td>
            <%= payment.transaction_id %>
          </td>
          <td>
            <span class="pill pill-<%= payment.state %>">
              <%= t(payment.state, scope: 'spree.payment_states') %>
            </span>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</fieldset>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-2.5.2 app/views/spree/admin/orders/confirm/_payments.html.erb
solidus_backend-2.5.1 app/views/spree/admin/orders/confirm/_payments.html.erb
solidus_backend-2.5.0 app/views/spree/admin/orders/confirm/_payments.html.erb
solidus_backend-2.5.0.rc1 app/views/spree/admin/orders/confirm/_payments.html.erb
solidus_backend-2.5.0.beta2 app/views/spree/admin/orders/confirm/_payments.html.erb
solidus_backend-2.5.0.beta1 app/views/spree/admin/orders/confirm/_payments.html.erb