Sha256: be6a1d5f11b8e82212296019b19e2aae411b201bbe28feaa1e0f5c27a9cb28b5

Contents?: true

Size: 1.05 KB

Versions: 21

Compression:

Stored size: 1.05 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-center" colspan='4'>
        <% if can? :update, Spree::Adjustment %>
          <div>
            <%= button_to Spree.t(:unfinalize_all_adjustments), adjustments_unfinalize_admin_order_path(@order), method: :get %>
          </div>
          <div>
            <%= button_to Spree.t(:finalize_all_adjustments), adjustments_finalize_admin_order_path(@order), method: :get %>
          </div>
        <% end %>
      </td>
      <td class='actions'>&nbsp;</td>
    </tr>
  </tbody>
</table>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.0.3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.4.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.3.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.0.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.4.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.1.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.0.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.0.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.4.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.3.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.3.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb