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

(-)a/acqui/acqui-home.pl (+7 lines)
Lines 129-132 $template->param( Link Here
129
    suggestions_count   => $suggestions_count,
129
    suggestions_count   => $suggestions_count,
130
);
130
);
131
131
132
my $cur = GetCurrency();
133
if ( $cur ) {
134
    $template->param(
135
        currency => $cur->{currency},
136
    );
137
}
138
132
output_html_with_http_headers $query, $cookie, $template->output;
139
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc (-1 / +1 lines)
Line 1 Link Here
1
[% IF ( currency ) %]<p><b>Currency = [% currency %]</b></p>[% ELSE %]<div class="dialog alert"><h3>No active currency is defined</h3><p>Please <a href="/cgi-bin/koha/admin/currency.pl">specify an active currency</a>.</p></div>[% END %]
1
[% IF ( currency ) %]<p><b>Currency = [% currency %]</b></p>[% ELSE %]<div class="dialog alert"><h3>No active currency is defined</h3><p>[% IF CAN_user_parameters_parameters_remaining_permissions %]Please <a href="/cgi-bin/koha/admin/currency.pl">specify an active currency</a>.[% ELSE %]Your administrator must specify an active currency.[% END %]</p></div>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt (-1 / +1 lines)
Lines 98-103 $(document).ready(function() { Link Here
98
[% INCLUDE 'acquisitions-toolbar.inc' %]
98
[% INCLUDE 'acquisitions-toolbar.inc' %]
99
99
100
<h1>Acquisitions</h1>
100
<h1>Acquisitions</h1>
101
    [% INCLUDE 'budgets-active-currency.inc' %]
101
    [% UNLESS ( loop_budget ) %]
102
    [% UNLESS ( loop_budget ) %]
102
        [% IF ( CAN_user_acquisition_period_manage ) %]
103
        [% IF ( CAN_user_acquisition_period_manage ) %]
103
        <div class="dialog alert">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</div>
104
        <div class="dialog alert">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</div>
104
- 

Return to bug 15049