Sha256: c84dc3f257aeae9f21fd99fdd3d203d6ed326affc508d027e4c877c5497dae2e

Contents?: true

Size: 903 Bytes

Versions: 10

Compression:

Stored size: 903 Bytes

Contents

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

<% content_for :page_title do %>
  / <%= Spree.t(:customer_details) %>
<% end %>

<% if can? :edit, @order.user %>
  <div id="select-customer" class="panel panel-default" data-hook>
    <div class="panel-heading">
      <h1 class="panel-title">
        <%= Spree.t(:customer_search) %>
      </h1>
    </div>
    <div class="panel-body">
      <%= hidden_field_tag :customer_search,  nil, class: 'error-message' %>
      <%= render partial: "spree/admin/orders/customer_details/autocomplete", formats: :js %>
    </div>
  </div>
<% end %>

<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @order } %>

<%= form_for @order, url: spree.admin_order_customer_url(@order) do |f| %>
  <%= render 'form', f: f %>
<% end %>

<br>

<%= render partial: 'spree/admin/shared/order_summary' %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_backend-3.0.10 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.9 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.8 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.7 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.6.1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.6 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.5 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.4 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.3 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-3.0.2 app/views/spree/admin/orders/customer_details/edit.html.erb