Sha256: 7118b6fca47371863161a218ad69656b9bf79e173f66123746c3eb427149ebd1

Contents?: true

Size: 865 Bytes

Versions: 30

Compression:

Stored size: 865 Bytes

Contents

<details id="risk_analysis">
  <summary><%= t('spree.risk_analysis') %>: <%= t('spree.risky') %></summary>

  <table>
    <thead>
      <th><%= t('spree.payment') %></th>
      <th><%= t('spree.risk') %></th>
      <th><%= t('spree.status') %></th>
    </thead>
    <tbody id="risk-analysis" data-hook="order_details_adjustments"  class="with-border">
      <% order.payments.risky.each do |payment| %>
        <tr class="">
          <td><%= link_to payment.number, admin_order_payment_path(order, payment) %></td>
          <td>
            <span class="pill pill-warning"><%= t('spree.risky') %></span>
          </td>
          <td>
            <span class="pill pill-<%= payment.state %>">
              <%= t(payment.state, scope: 'spree.payment_states') %>
            </span>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</details>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
solidus_backend-4.4.1 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.4.0 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.3.4 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.2.4 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.1.5 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.3.3 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.3.2 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.1.4 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.3.1 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.3.0 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.2.3 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.1.3 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.0.4 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-3.4.6 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.0.3 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.1.2 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.2.2 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-3.4.5 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.2.1 app/views/spree/admin/orders/_risk_analysis.html.erb
solidus_backend-4.2.0 app/views/spree/admin/orders/_risk_analysis.html.erb