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

(-)a/admin/aqbudgetperiods.pl (-3 / +5 lines)
Lines 91-99 my ($template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user( Link Here
91
91
92
# This is used in incbudgets-active-currency.inc
92
# This is used in incbudgets-active-currency.inc
93
my $active_currency = Koha::Acquisition::Currencies->get_active;
93
my $active_currency = Koha::Acquisition::Currencies->get_active;
94
$template->param( symbol => $active_currency->symbol,
94
if ( $active_currency ) {
95
                  currency => $active_currency->currency
95
    $template->param( symbol => $active_currency->symbol,
96
               );
96
                      currency => $active_currency->currency
97
                   );
98
}
97
99
98
# ADD OR MODIFY A BUDGET PERIOD - BUILD SCREEN
100
# ADD OR MODIFY A BUDGET PERIOD - BUILD SCREEN
99
if ( $op eq 'add_form' ) {
101
if ( $op eq 'add_form' ) {
(-)a/admin/aqbudgets.pl (-3 / +5 lines)
Lines 50-58 my ($template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user( Link Here
50
);
50
);
51
51
52
my $active_currency = Koha::Acquisition::Currencies->get_active;
52
my $active_currency = Koha::Acquisition::Currencies->get_active;
53
$template->param( symbol => $active_currency->symbol,
53
if ( $active_currency ) {
54
                  currency => $active_currency->currency
54
    $template->param( symbol => $active_currency->symbol,
55
               );
55
                      currency => $active_currency->currency
56
                   );
57
}
56
58
57
my $op = $input->param('op') || 'list';
59
my $op = $input->param('op') || 'list';
58
60
(-)a/admin/aqplan.pl (-4 / +5 lines)
Lines 58-66 my $budget_period_id = $input->param('budget_period_id'); Link Here
58
my $period = GetBudgetPeriod($budget_period_id);
58
my $period = GetBudgetPeriod($budget_period_id);
59
my $count  = GetPeriodsCount();
59
my $count  = GetPeriodsCount();
60
my $active_currency = Koha::Acquisition::Currencies->get_active;
60
my $active_currency = Koha::Acquisition::Currencies->get_active;
61
$template->param( symbol => $active_currency->symbol,
61
if ( $active_currency ) {
62
                  currency => $active_currency->currency,
62
    $template->param( symbol => $active_currency->symbol,
63
               );
63
                      currency => $active_currency->currency,
64
                   );
65
}
64
$template->param( period_button_only => 1 ) if $count == 0;
66
$template->param( period_button_only => 1 ) if $count == 0;
65
67
66
68
67
- 

Return to bug 19328