Sha256: 67de3477c719e89ca95272a7971ff6e0e3a28854ce28c815f6a16d1c6c5b968f

Contents?: true

Size: 1.74 KB

Versions: 34

Compression:

Stored size: 1.74 KB

Contents

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

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

<%= render partial: 'spree/admin/orders/confirm/customer_details', locals: {order: @order} %>

<% if Spree::Order.checkout_step_names.include?(:delivery) %>
  <%= render partial: 'spree/admin/orders/confirm/shipment', collection: @order.shipments, locals: {order: @order} %>
<% else %>
  <%= render partial: 'spree/admin/orders/confirm/line_items', locals: {order: @order} %>
<% end %>

<%=
  render(
    partial: 'spree/admin/orders/adjustments',
    locals: {
      adjustments: @order.line_item_adjustments,
      order: @order,
      title: Spree.t(:line_item_adjustments),
    }
  )
%>

<%=
  render(
    partial: 'spree/admin/orders/adjustments',
    locals: {
      adjustments: @order.shipment_adjustments,
      order: @order,
      title: Spree.t(:shipment_adjustments),
    }
  )
%>

<%=
  render(
    partial: 'spree/admin/orders/adjustments',
    locals: {
      adjustments: @order.adjustments,
      order: @order,
      title: Spree.t(:order_adjustments),
    }
  )
%>

<% if @order.line_items.exists? %>
  <fieldset class="no-border-bottom" id="order-total" data-hook="order_details_total">
    <legend><%= Spree.t(:order_total) %></legend>
    <span class="order-total"><%= @order.display_total %></span>
  </fieldset>
<% end %>

<%= render partial: 'spree/admin/orders/confirm/payments', locals: {payments: @order.payments} %>

<div class="form-buttons filter-actions actions" data-hook="complete-order-button">
  <%= button_to [:complete, :admin, @order], {class: 'button fa fa-rocket', method: 'put'} do %>
    <%= Spree.t(:complete_order) %>
  <% end %>
</div>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.2.3 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.1.4 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.0.7 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.3.1 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.3.0 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.0.6 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.2.2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.2.1 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.1.3 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.0.5 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.2.0 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.0.4 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.1.2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/orders/confirm.html.erb