View | Details | Raw Unified | Return to bug 21048
Collapse All | Expand All

(-)a/suggestion/suggestion.pl (-2 / +6 lines)
Lines 353-359 foreach my $budget ( @{$budgets} ) { Link Here
353
}
353
}
354
354
355
$template->param( budgetsloop => \@budgets_loop);
355
$template->param( budgetsloop => \@budgets_loop);
356
$template->param( "statusselected_$$suggestion_ref{'STATUS'}" =>1) if ($$suggestion_ref{'STATUS'});
356
if( $suggestion_ref->{STATUS} ) {
357
    $template->param(
358
        "statusselected_".$suggestion_ref->{STATUS} => 1,
359
        selected_status => $suggestion_ref->{STATUS}, # We need template var selected_status in the second part of the template where template var suggestion.STATUS is out of scope
360
    );
361
}
357
362
358
my @currencies = Koha::Acquisition::Currencies->search;
363
my @currencies = Koha::Acquisition::Currencies->search;
359
$template->param(
364
$template->param(
360
- 

Return to bug 21048