Sha256: c9c57efbdd03d62723f9732ccc556840c2a8589575528b7dfd551023a81b85eb

Contents?: true

Size: 1.8 KB

Versions: 31

Compression:

Stored size: 1.8 KB

Contents

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

<% admin_breadcrumb(t('spree.confirm_order')) %>

<%= 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: t('spree.line_item_adjustments'),
    }
  ) if @order.line_item_adjustments.eligible.any?
%>

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

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

<% if @order.line_items.exists? %>
  <fieldset class="no-border-bottom" id="order-total" data-hook="order_details_total">
    <legend><%= t('spree.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', method: 'put' } do %>
    <%= t('spree.complete_order') %>
  <% end %>
</div>

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
solidus_legacy_promotions-4.4.2 lib/views/backend/spree/admin/orders/confirm.html.erb
solidus_legacy_promotions-4.4.1 lib/views/backend/spree/admin/orders/confirm.html.erb
solidus_legacy_promotions-4.4.0 lib/views/backend/spree/admin/orders/confirm.html.erb
solidus_backend-4.3.4 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.2.4 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.1.5 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.3.3 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.3.2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.1.4 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.3.1 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.3.0 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.2.3 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.1.3 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.0.4 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-3.4.6 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.0.3 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.1.2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.2.2 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-3.4.5 app/views/spree/admin/orders/confirm.html.erb
solidus_backend-4.2.1 app/views/spree/admin/orders/confirm.html.erb