Bug 16127 - Add discharge menu item to patron toolbar
authorOwen Leonard <oleonard@myacpl.org>
Tue, 31 May 2016 14:08:03 +0000 (10:08 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 1 Jul 2016 07:09:13 +0000 (09:09 +0200)
commit2d3af770dbb704607d2201bf6d346c7e6aae3fb0
treef884d076b9a93340c23bbc4bee463ed11cf81cf5
parentbcb1ecbb0917c549c8c48a8938e508ee61aa0ffa
Bug 16127 - Add discharge menu item to patron toolbar

This patch changes the "Discharge" menu in the patron sidebar to read
"Discharges," and adds a "Discharge" menu item to the patron toolbar.

This adds some redunancy, but fits with the pattern of including "views"
in the sidebar and "actions" in the menu. The discharge feature can be
thought of either way.

To test you must have the 'useDischarge' system preference enabled.

- View the detail page for any patron.
- Confirm that the sidebar menu reads "Discharges."
- Confirm that the "More" menu contains a "Discharge" link which works
  correctly.

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 981302a47322857b080107a71c47db2345ef5286)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 43b4a740dcc5a13e1726a15da14493b57366a0e8)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc