Bug 26905: Purchase suggestion button hidden for users with suggestion permission...
authorOwen Leonard <oleonard@myacpl.org>
Wed, 2 Dec 2020 14:21:27 +0000 (14:21 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Dec 2020 10:23:43 +0000 (11:23 +0100)
commit30acf1a9884b98b5e7e965fc057aa632cd781f8f
tree7a1fb169b7454f06e30a0bca17ece41f88b5fcb0
parent012229c5ea77a009dc708db4370bf499e48dad01
Bug 26905: Purchase suggestion button hidden for users with suggestion permission but not acq permission

This patch adds a link to purchase suggestions from the header menu's
"More" submenu for users with suggestions management permission.

To test, apply the patch and log in to the staff interface as a user
with "suggestions_manage" permission.

- Click the "More" menu item in the header. You should see a link to
  "Suggestions" which takes you to the suggestions management page.

- Log in as a user without "suggestions_manage" permission. The link
  should not appear.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc