Sha256: acbf50c74cf989bd89dd067e8514144f959bc9e9b9bf9cc16e5a6f0c8fe9f32c
Contents?: true
Size: 1.19 KB
Versions: 41
Compression:
Stored size: 1.19 KB
Contents
<% content_for :page_actions do %> <% if can?(:fire, @order) %> <li><%= event_links %></li> <% end %> <% if can?(:resend, @order) && @order.completed? %> <li><%= button_to t('spree.resend'), resend_admin_order_url(@order), method: :post, class: 'btn btn-primary' %></li> <% end %> <% end %> <%= render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Shipments' } %> <% admin_breadcrumb(plural_resource_name(Spree::Shipment)) %> <div data-hook="admin_order_edit_header"> <%= render partial: 'spree/shared/error_messages', locals: { target: @order } %> </div> <% if @order.payments.exists? && @order.is_risky? %> <%= render 'spree/admin/orders/risk_analysis', latest_payment: @order.payments.reorder("created_at DESC").first %> <% end %> <% if can?(:update, Spree::Shipment) && can?(:update, @order) && @order.shipment_state != "shipped" %> <%= render partial: 'add_product' %> <% end %> <% if @order.line_items.empty? %> <div class="no-objects-found"> <%= t('spree.your_order_is_empty_add_product')%> </div> <% end %> <div data-hook="admin_order_edit_form"> <div id="order-form-wrapper"> <%= render partial: 'form', locals: { order: @order } %> </div> </div>
Version data entries
41 entries across 41 versions & 2 rubygems
Version | Path |
---|---|
solidus_backend-2.6.0.rc1 | app/views/spree/admin/orders/edit.html.erb |