Sha256: a6f47fd59d142048731332180169a12f69ed479144663fc9b86947a3d5d04dce

Contents?: true

Size: 1.11 KB

Versions: 82

Compression:

Stored size: 1.11 KB

Contents

<table class="index adjustments" data-hook="adjustments">
  <thead data-hook="adjustmment_head">
    <tr>
      <th><%= Spree::Adjustment.human_attribute_name(:adjustable) %></th>
      <th><%= Spree::Adjustment.human_attribute_name(:label) %></th>
      <th><%= Spree::Adjustment.human_attribute_name(:amount) %></th>
      <th><%= Spree::Adjustment.human_attribute_name(:state) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <%= render partial: "adjustment", collection: @adjustments %>
    <tr data-hook="adjustment_buttons">
      <td class="align-right" colspan="2" style="width: 50%">
        <% if can? :update, Spree::Adjustment %>
          <%= button_to t('spree.unfinalize_all_adjustments'), adjustments_unfinalize_admin_order_path(@order), method: :get %>
        <% end %>
      </td>
      <td colspan="2" style="width: 50%">
        <% if can? :update, Spree::Adjustment %>
          <%= button_to t('spree.finalize_all_adjustments'), adjustments_finalize_admin_order_path(@order), method: :get %>
        <% end %>
      </td>
      <td class='actions'>&nbsp;</td>
    </tr>
  </tbody>
</table>

Version data entries

82 entries across 82 versions & 2 rubygems

Version Path
solidus_backend-2.11.15 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.11.14 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.0.5 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.1.5 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.11.13 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.0.4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.1.4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.11.12 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.0.3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.1.3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.1.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.1.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.1.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.11.11 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.0.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.10.5 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.11.10 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.0.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-3.0.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.11.9 app/views/spree/admin/adjustments/_adjustments_table.html.erb