Sha256: 45887c886005d5e440824f0bdafb5f1fcd321744f7de01d0546debbf7865d00c

Contents?: true

Size: 1013 Bytes

Versions: 17

Compression:

Stored size: 1013 Bytes

Contents

<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Adjustments' } %>

<% content_for :page_title do %>
   <i class="fa fa-arrow-right"></i> <%= Spree.t(:adjustments) %>
<% end %>

<% content_for :page_actions do %>
  <li><%= button_link_to Spree.t(:new_adjustment), new_admin_order_adjustment_url(@order), :icon => 'plus' %></li>
  <li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'arrow-left' %></li>
<% 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), 'plus', 'submit', :id => "add_coupon_code" %>
  </div>
<% end %>
<%= javascript_tag do -%>
  var order_number = '<%= @order.number %>';
<% end -%>

<%= button_link_to Spree.t(:continue), @order.cart? ? new_admin_order_payment_url(@order) : admin_orders_url, :icon => 'arrow-right' %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_backend-2.2.14 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.13 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.12 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.11 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.10 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.9 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.8 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.7 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.6 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.3.3 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.3.2 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.5 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.3.1 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.4 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.3 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.3.0 app/views/spree/admin/adjustments/index.html.erb
spree_backend-2.2.2 app/views/spree/admin/adjustments/index.html.erb