Sha256: 20f46a4da55cbde9518464fe64a769ba3b2946593dbd134e5d022f24265dbd80
Contents?: true
Size: 1.07 KB
Versions: 35
Compression:
Stored size: 1.07 KB
Contents
<div class="card-header"> <h3 class="card-title mb-0 h5"><%= 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(:status) %></th> <th class="actions"></th> </tr> </thead> <tbody> <%= render partial: "adjustment", collection: @adjustments %> </tbody> </table> <% if can?(:edit, Spree::Adjustment) %> <div class="card-footer"> <div class="row text-center pb-0"> <div class="col-12 col-lg-6"> <%= button_to Spree.t(:open_all_adjustments), open_adjustments_admin_order_path(@order), method: :get, class: "btn btn-success" %> </div> <div class="col-12 col-lg-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
35 entries across 35 versions & 1 rubygems