From fe9e65445373f918e732a5b5b58f93db39094f92 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 20 Jul 2020 09:40:00 +0100 Subject: [PATCH] Bug 26017: Correct permission check on tools page The 'Cashup registers' link from the tools page retained an previous verions of the permission name. This patch corrects it to use the final name we sebtled on and thus now correctly displays the link when appropriate. Signed-off-by: Michal Denar --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt index ae4608c684..350fd1b28d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt @@ -135,11 +135,9 @@
Access files stored on the server, like log files or reports
[% END %] - [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_cash_management_manage_cash_registers ) %] - [% IF ( CAN_user_cash_management_manage_cash_registers ) %] + [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_cash_management_cashup ) %]
Cashup registers
-
Perfrom cashup actions on cash registers
- [% END %] +
Perform cashup actions on cash registers
[% END %] [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %] -- 2.11.0