webstaff: implement patron merge interface
authorGalen Charlton <gmc@esilibrary.com>
Tue, 25 Oct 2016 21:23:13 +0000 (17:23 -0400)
committerKathy Lussier <klussier@masslnc.org>
Tue, 22 Nov 2016 19:10:04 +0000 (14:10 -0500)
commitdf82edde99bf84f46d6e79be6ba6f19271c5a631
tree46750da7c280fa46700f1283acc74e36f87acab6
parentef23a936b71736f1f44d7b1d16c89c57c7cd4003
webstaff: implement patron merge interface

This patch adds a 'Merge Patrons' button to the patron
search grid. If the user selects two patron records, the
button can be clicked to present a dialog that allows
the user to pick a lead record and confirm a merge of the
patrons.

This patch also adds an egPatronSummary directive that
uses the existing patron summary template with a couple
modifications.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/circ/patron/index.tt2
Open-ILS/src/templates/staff/circ/patron/t_search_results.tt2
Open-ILS/src/templates/staff/circ/patron/t_summary.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/app.js
Open-ILS/web/js/ui/default/staff/circ/services/patrons.js [new file with mode: 0644]