webstaff: implement patron merge interface
authorGalen Charlton <gmc@esilibrary.com>
Tue, 25 Oct 2016 21:23:13 +0000 (17:23 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 25 Oct 2016 21:23:13 +0000 (17:23 -0400)
commita2c4a1e2a61d096aa1b399700aaf6b7177859d42
tree71cdf21eb457320ee71d5dffaa6f82c510e6b779
parentad20e2fd55b9172f78e0015ecbd7c8bcb2ef93aa
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>
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]