Sha256: e6df188af8165baa0abe97c6140ed2c4c5be46aac704dcde78734a89bc46ed80

Contents?: true

Size: 775 Bytes

Versions: 15

Compression:

Stored size: 775 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>
      <%= button_link_to Spree.t(:new_adjustment), new_admin_order_adjustment_url(@order) %>
    </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 => Spree.t(:coupon_code) %>
    <%= button Spree.t(:add_coupon_code), nil, 'submit', :id => "add_coupon_code" %>
  </div>
<% end %>
<%= javascript_tag do -%>
  var order_number = '<%= @order.number %>';
<% end -%>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.0.3 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-1.4.2 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.0.2 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-1.4.1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.1.0 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.0.1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.0.0 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-1.4.0 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/adjustments/index.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/adjustments/index.html.erb