app/views/spree/admin/orders/edit.html.erb in spree_backend-3.0.0.rc1 vs app/views/spree/admin/orders/edit.html.erb in spree_backend-3.0.0.rc3

- old
+ new

@@ -8,17 +8,17 @@ <% end %> <%= render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Shipments' } %> <% content_for :page_title do %> - / <%= Spree::Shipment.model_name.human(count: :many) %> + / <%= plural_resource_name(Spree::Shipment) %> <% end %> <div data-hook="admin_order_edit_header"> <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @order } %> </div> -<% if @order.payments.exists? && @order.considered_risky? %> +<% if @order.payments.valid.any? && @order.considered_risky? %> <%= render 'spree/admin/orders/risk_analysis', latest_payment: @order.payments.valid.last %> <% end %> <%= render partial: 'add_product' if @order.shipment_state != 'shipped' && can?(:update, @order) %>