From bf5b8c2be79a9dfd6eee61ccda6f0852bca9f39c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 29 Jul 2020 15:18:12 +0000 Subject: [PATCH] Bug 26089: Add acquisitions-related reports to acquisitions sidebar menu This patch adds links to two acquisitions-related reports in the sidebar menu shown on acquisitions pages: Acquisitions statistics wizard and orders by fund. To test, apply the patch and go to the Acquisitions page. - If you are logged in as a user with permission to access reports you should see a new "Reports" heading in the sidebar menu and links to two reports. - Confirm that the links work correctly. - Log in as a user without reports permission and confirm that the section doesn't appear. Signed-off-by: Brandon J Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/includes/acquisitions-menu.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc index de132ec66f..1789dff560 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc @@ -10,6 +10,13 @@
  • EDIFACT messages
  • [% END %] + [% IF ( CAN_user_reports ) %] +
    Reports
    + + [% END %] [% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || CAN_user_acquisition_edi_manage ) %]
    Administration
      -- 2.39.5