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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 17 Jun 2016 15:21:56 +0000 (15:21 +0000)
commit981302a47322857b080107a71c47db2345ef5286
treebd831a1605af8319727849ab49d938c00dbcca5d
parent64efee0b5cc975b3b80db1841321355eeb39fb48
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>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc