Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion budget_allocation/report/budget_source_fund_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ def _from_budget(self):
"""

def _where_budget(self):
return "where sf.active is true and ba.active is true and bc.active is true"
return (
"where sf.active is true and ba.active is true and bc.active is true "
"and ba.budget_period_id = bp.id"
)

def _select_statement(self, amount_type):
return self._get_select_amount_types()[amount_type]
Expand Down