Lines 124-130
if ($do_search) {
Link Here
|
124 |
my $budgetperiods = C4::Budgets::GetBudgetPeriods; |
124 |
my $budgetperiods = C4::Budgets::GetBudgetPeriods; |
125 |
my $bp_loop = $budgetperiods; |
125 |
my $bp_loop = $budgetperiods; |
126 |
for my $bp ( @{$budgetperiods} ) { |
126 |
for my $bp ( @{$budgetperiods} ) { |
127 |
my $hierarchy = C4::Budgets::GetBudgetHierarchy( $$bp{budget_period_id} ); |
127 |
my $hierarchy = C4::Budgets::GetBudgetHierarchy( $$bp{budget_period_id}, undef, undef, 1 ); |
128 |
for my $budget ( @{$hierarchy} ) { |
128 |
for my $budget ( @{$hierarchy} ) { |
129 |
$$budget{budget_display_name} = sprintf("%s", ">" x $$budget{depth} . $$budget{budget_name}); |
129 |
$$budget{budget_display_name} = sprintf("%s", ">" x $$budget{depth} . $$budget{budget_name}); |
130 |
} |
130 |
} |
131 |
- |
|
|