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)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 24 Jun 2016 05:33:16 +0000 (07:33 +0200)
commit43b4a740dcc5a13e1726a15da14493b57366a0e8
tree5bd1f6dee2cd10113ccd0c71010cbf6b403b7842
parent5a39b1b3a2d846e02ebf7d00ccfa8f1c35fcfb79
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>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc