Bug 19129 - Follow-up - Add changes to patron duplicate warning
commitbe1be7d7ec4f0458746b24335e6392851cf53f7b
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 17 Aug 2017 22:14:52 +0000 (18 00:14 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 Oct 2017 09:07:54 +0000 (3 11:07 +0200)
treefb9dfd8227773e241c144214a4a5297b8dc1954a
parentf62992e8120b8ddda5d1ac8cb1b3276617d4dd53
Bug 19129 - Follow-up - Add changes to patron duplicate warning

Adds logic from the previous fix to the brief patron summary
shown when checking a possible patron duplicate.

Bonus: Also fixes missing patron category description there.

To Test:
- Add 2 patrons
- Add a patron with the same surname and firstname as an
  existing patron in order to trigger the duplicate message
- Click "View existing patron"
- Verify display is correct when existing patron is
  - an organisation
  - not an organisation
- Verify that the patron category description shows

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a887aeb2dff4e52f35f1f64bfc267867987cbb53)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt