Sha256: c900a8eade518d8d6d965699c0e8596fa6e58d6975e757b3440c7ecd9436be23
Contents?: true
Size: 1.11 KB
Versions: 61
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: :put %> <% 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: :put %> <% end %> </td> <td class='actions'> </td> </tr> </tbody> </table>
Version data entries
61 entries across 61 versions & 1 rubygems