consitency refactor

This commit is contained in:
2014-11-27 19:42:51 +01:00
parent 5453837880
commit 3bc1e5685c
37 changed files with 338 additions and 235 deletions
+1
View File
@@ -143,6 +143,7 @@ class List
orders.map(&:close!) # close the connected orders
self.state = 'closed'
self.is_helped! if needs_help?
self.needs_payment = false
self.user_requests_closing = false # if a user requested closing, not needed anymore
self.closed_at = Time.now
if save