adds more info to admin summary for spending proposals
This commit is contained in:
@@ -139,9 +139,13 @@ class SpendingProposal < ActiveRecord::Base
|
||||
self.responsible_name = author.try(:document_number) if author.try(:document_number).present?
|
||||
end
|
||||
|
||||
def self.for_summary
|
||||
def self.finished_and_feasible
|
||||
valuation_finished.feasible
|
||||
end
|
||||
|
||||
def self.finished_and_unfeasible
|
||||
valuation_finished.unfeasible
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user