Major supplier refactor making the whole system work better

This commit is contained in:
2014-08-07 15:50:06 +02:00
parent e61767fe78
commit b4353113e1
40 changed files with 6614 additions and 4354 deletions
+1
View File
@@ -142,6 +142,7 @@ class List
set_price # should not be needed, but extra secure
orders.map(&:close!) # close the connected orders
self.state = 'closed'
self.is_helped! if needs_help?
self.user_requests_closing = false # if a user requested closing, not needed anymore
self.closed_at = Time.now
if save