Lines 39-44
use C4::Branch;
Link Here
|
39 |
use C4::Debug; |
39 |
use C4::Debug; |
40 |
use C4::Suggestions; |
40 |
use C4::Suggestions; |
41 |
|
41 |
|
|
|
42 |
use Koha::Acquisition::Currencies; |
43 |
|
42 |
my $query = CGI->new; |
44 |
my $query = CGI->new; |
43 |
my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( |
45 |
my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( |
44 |
{ template_name => 'acqui/acqui-home.tt', |
46 |
{ template_name => 'acqui/acqui-home.tt', |
Lines 129-139
$template->param(
Link Here
|
129 |
suggestions_count => $suggestions_count, |
131 |
suggestions_count => $suggestions_count, |
130 |
); |
132 |
); |
131 |
|
133 |
|
132 |
my $cur = GetCurrency(); |
134 |
my $active_currency = Koha::Acquisition::Currencies->get_active; |
133 |
if ( $cur ) { |
135 |
if ( $active_currency ) { |
134 |
$template->param( |
136 |
$template->param( currency => $active_currency->currency, ); |
135 |
currency => $cur->{currency}, |
|
|
136 |
); |
137 |
} |
137 |
} |
138 |
|
138 |
|
139 |
output_html_with_http_headers $query, $cookie, $template->output; |
139 |
output_html_with_http_headers $query, $cookie, $template->output; |
140 |
- |
|
|