Lines 498-504
sub GetBudgetHierarchy {
Link Here
|
498 |
# show only period X if requested |
498 |
# show only period X if requested |
499 |
my @where_strings; |
499 |
my @where_strings; |
500 |
# Pick out the active ones |
500 |
# Pick out the active ones |
501 |
push @where_strings, 'aqbudgetperiods.budget_period_active=1'; |
|
|
502 |
# show only period X if requested |
501 |
# show only period X if requested |
503 |
if ($budget_period_id) { |
502 |
if ($budget_period_id) { |
504 |
push @where_strings," aqbudgets.budget_period_id = ?"; |
503 |
push @where_strings," aqbudgets.budget_period_id = ?"; |