Sha256: c7cf75393dd1a8de5aaa484f73a9442cf2d2c1a7139d0272d46a7170bf1cf61e
Contents?: true
Size: 1.13 KB
Versions: 21
Compression:
Stored size: 1.13 KB
Contents
<div class="card-header"> <h3 class="card-title mb-0 h5"><%= Spree.t(:order_adjustments) %></h3> </div> <div class="table-responsive"> <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> </div> <% 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
21 entries across 21 versions & 1 rubygems