takes into account headings without balloted investments
This commit is contained in:
@@ -66,6 +66,7 @@ class Budget
|
||||
end
|
||||
|
||||
def heading_for_group(group)
|
||||
return nil unless has_lines_in_group?(group)
|
||||
self.investments.where(group: group).first.heading
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user