Sha256: 1c6d00f9190d42a5bd2721dedd793149fae721782a071d90fac87688bbf60e46

Contents?: true

Size: 784 Bytes

Versions: 12

Compression:

Stored size: 784 Bytes

Contents

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

<% if can? :edit, @order.user %>
  <div id="select-customer" class="card mb-3" data-hook>
    <div class="card-header">
      <h5 class="card-title mb-0 h6">
        <%= Spree.t(:customer_search) %>
      </h5>
    </div>
    <div class="card-body" id="customer-search-field">
      <%= select_tag :customer_search, nil, class: 'd-block w-100' %>
      <%= 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

12 entries across 12 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.8.3 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.8.2 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.8.1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.7.2 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.6.2 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.7.1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.7.0 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.6.1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.6.0 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.5.1 app/views/spree/admin/orders/customer_details/edit.html.erb
spree_backend-4.5.0 app/views/spree/admin/orders/customer_details/edit.html.erb