Bug 27498: (follow-up) Update to display logic

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Amit Gupta <amitddng135@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2021-03-21 13:11:25 +00:00 committed by Kyle M Hall
parent 66912dc385
commit 572e72d467

View file

@ -10,20 +10,17 @@
<li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
[% END %]
</ul>
[% IF ( CAN_user_reports ) %]
[% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
<h5>Reports</h5>
<ul>
<li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
<li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
[% IF ( CAN_user_reports ) %]
<li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
<li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
<li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
[% END %]
</ul>
[% ELSIF ( CAN_user_circulate_circulate_remaining_permissions ) %]
<h5>Reports</h5>
<ul>
<li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
</ul>
[% END %]
[% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || CAN_user_acquisition_edi_manage || CAN_user_parameters_manage_additional_fields ) %]
<h5>Administration</h5>