Sha256: a42922a26c870d8da4081ffa1c1f25d73faeefc4a636e9b7f6a322398af0a8ea
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
<% content_for :page_actions do %> <% if can?(:fire, @order) %> <li><%= event_links %></li> <% end %> <% if can?(:resend, @order) %> <li><%= button_link_to Spree.t(:resend), resend_admin_order_url(@order), :method => :post, :icon => 'email' %></li> <% end %> <% if can?(:admin, Spree::Order) %> <li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'arrow-left' %></li> <% end %> <% end %> <%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Cart' } %> <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.order("created_at DESC").first %> <% end %> <% if can?(:update, @order) && can?(:create, Spree::LineItem) %> <%= render :partial => 'add_line_item' %> <% end %> <% if @order.line_items.empty? %> <div class="no-objects-found"> <%= Spree.t(:your_order_is_empty_add_product)%> </div> <% end %> <div data-hook="admin_order_edit_form"> <div id="order-form-wrapper"> <%= render :partial => 'line_items_edit_form', :locals => { :order => @order } %> </div> </div> <% content_for :head do %> <%= javascript_tag 'var expand_variants = true;' %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_backend-1.0.0.pre2 | app/views/spree/admin/orders/cart.html.erb |