improves message when not enough money

This commit is contained in:
decabeza
2017-05-26 17:12:21 +02:00
parent a49b206b42
commit 0e581896c0
5 changed files with 9 additions and 6 deletions

View File

@@ -145,7 +145,7 @@ class Budget
return :not_selected unless selected?
return :no_ballots_allowed unless budget.balloting?
return :different_heading_assigned unless ballot.valid_heading?(heading)
return :not_enough_money if ballot.present? && !enough_money?(ballot)
return :not_enough_money_html if ballot.present? && !enough_money?(ballot)
end
def permission_problem(user)