Sha256: c362ef78fb797f9b9073bc44af6809a83e5b4f90763f69b109d04a6432bf2549

Contents?: true

Size: 1.05 KB

Versions: 33

Compression:

Stored size: 1.05 KB

Contents

<div class="panel-heading">
  <h3 class="panel-title"><%= Spree.t(:order_adjustments) %></h3>
</div>

<table class="table table-bordered adjustments" data-hook="adjustments">
  <thead data-hook="adjustmment_head">
    <tr>
      <th><%= Spree.t(:adjustable) %></th>
      <th><%= Spree.t(:description) %></th>
      <th class="text-center"><%= Spree.t(:amount) %></th>
      <th class="text-center"><%= Spree.t(:state) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <%= render partial: "adjustment", collection: @adjustments %>
  </tbody>
</table>

<% if can?(:edit, Spree::Adjustment) %>
  <div class="panel-footer">
    <div class="row text-center">
      <div class="col-md-6">
        <%= button_to Spree.t(:open_all_adjustments), open_adjustments_admin_order_path(@order), method: :get, class: "btn btn-success" %>
      </div>
      <div class="col-md-6">
        <%= button_to Spree.t(:close_all_adjustments), close_adjustments_admin_order_path(@order), method: :get, class: "btn btn-danger" %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
spree_backend-3.1.14 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.13 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.12 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.11 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.10 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.9 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.8 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.7 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.6 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.5 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.0.10 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.0.rc4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.0.9 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.0.rc3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_backend-3.1.0.rc2 app/views/spree/admin/adjustments/_adjustments_table.html.erb