Commit 66de4347 by liyijie

delevering can be transition from unpaid to delivering

parent 118f69e4
...@@ -57,7 +57,7 @@ module Shotengai ...@@ -57,7 +57,7 @@ module Shotengai
end end
event :send_out, after: :set_delivery_time do event :send_out, after: :set_delivery_time do
transitions from: :paid, to: :delivering transitions from: [:unpaid, :paid], to: :delivering
end end
event :confirm, after: :set_receipt_time do event :confirm, after: :set_receipt_time do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment