Sha256: 6a41e303259561f775c8cf2b7be08aa7b4b3ba094d381236ce6c9b29a27673f8

Contents?: true

Size: 846 Bytes

Versions: 15

Compression:

Stored size: 846 Bytes

Contents

<%= render 'spree/admin/shared/order_tabs', current: :customer_details %>

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

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

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

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

<br>

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_backend-4.0.9 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.8 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.7.1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.7 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.6 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.5 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.4 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.3 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.2 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.0 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.0.rc3 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.0.rc2 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.0.rc1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.0.0.beta app/views/spree/admin/orders/customer_details/edit.html.erb