.effective-order - unless defined?(no_order_actions) = render partial: 'effective/orders/order_actions', locals: {order: order} = render partial: 'effective/orders/order_header', locals: {order: order} = render partial: 'effective/orders/order_shipping', locals: {order: order} = render partial: 'effective/orders/order_note', locals: {order: order} = render partial: 'effective/orders/order_items', locals: {order: order} = render partial: 'effective/orders/order_footer', locals: {order: order} - if (EffectiveOrders.authorized?(controller, :show, :payment_details) rescue false) = render partial: 'effective/orders/order_payment_details', locals: {order: order}