adds balloting_or_later? method to Budget
This commit is contained in:
@@ -67,6 +67,10 @@ class Budget < ActiveRecord::Base
|
||||
phase == "finished"
|
||||
end
|
||||
|
||||
def balloting_or_later?
|
||||
balloting? || reviewing_ballots? || finished?
|
||||
end
|
||||
|
||||
def on_hold?
|
||||
reviewing? || valuating? || reviewing_ballots?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user