Sha256: f4d694ae75902969df127fe7d435b3fa223a5d26401e9c5ea6836e9cf45f5eb8
Contents?: true
Size: 794 Bytes
Versions: 85
Compression:
Stored size: 794 Bytes
Contents
<%= render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Adjustments' } %> <% admin_breadcrumb(plural_resource_name(Spree::Adjustment)) %> <% content_for :page_actions do %> <% if can? :create, Spree::Adjustment %> <li> <%= link_to t('spree.new_adjustment'), new_admin_order_adjustment_url(@order), class: 'btn btn-primary' %> </li> <% end %> <% end %> <%= render partial: 'adjustments_table' %> <% if @order.can_add_coupon? %> <div data-hook="adjustments_new_coupon_code"> <%= text_field_tag "coupon_code", "", placeholder: t('spree.coupon_code') %> <%= button_tag t('spree.add_coupon_code'), id: "add_coupon_code", class: 'btn btn-primary' %> </div> <% end %> <%= javascript_tag do -%> var order_number = '<%= @order.number %>'; <% end -%>
Version data entries
85 entries across 85 versions & 2 rubygems