]> git.koha-community.org Git - koha.git/commit
Bug 26017: Correct permission check on tools page
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 20 Jul 2020 08:40:00 +0000 (09:40 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Aug 2020 20:58:44 +0000 (20:58 +0000)
commit63d4393fb691e4d4b695e5838e6c1dd9b989cc1a
tree6221484488b0c5d214188f1218bbb9a6a5c0608d
parentf2a807b3c98fd869cb1971ee086c6fe69eecbfda
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.

Test plan
1/ Enable cash registers via the 'UseCashRegisters' system preference
2/ Ensure you are logged in as a user who has the cash management
   cashup permission.
3/ Verify that the 'Cashup registers' option appears on the tools page.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ff4917197deaa6250d30c5729b2758db2b1f755e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt