mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
add resumed to list of allowable order states
This commit is contained in:
@@ -134,7 +134,7 @@ module Spree
|
||||
#
|
||||
# Otherwise redirect user to that step
|
||||
def can_transition_to_payment
|
||||
return if @order.payment? || @order.complete? || @order.canceled?
|
||||
return if @order.payment? || @order.complete? || @order.canceled? || @order.resumed?
|
||||
|
||||
flash[:notice] = Spree.t(:fill_in_customer_info)
|
||||
redirect_to spree.edit_admin_order_customer_url(@order)
|
||||
|
||||
Reference in New Issue
Block a user