Adds message to selected budget investments

This commit is contained in:
decabeza
2018-05-09 13:05:11 +02:00
parent f18f575def
commit f1e722ac5c
3 changed files with 82 additions and 1 deletions

View File

@@ -105,6 +105,10 @@ class Budget < ActiveRecord::Base
Budget::Phase::PUBLISHED_PRICES_PHASES.include?(phase)
end
def valuating_or_later?
valuating? || publishing_prices? || balloting_or_later?
end
def balloting_process?
balloting? || reviewing_ballots?
end