Koha/members
Galen Charlton 857c68e2a6 Bug 12132: display guarantees if a patron has them, regardless of category type
If a patron has guarantees, always display them on the patron summary,
even if the patron is of a type that ordinarily would have them.

For example, at present you can cannot directly add a guarantee to
a staff record the way you can do for an adult patron, but if you create
a juvenile patron and add a guarantor to it, you can override that
restriction.  Note that this patch ignores whether that is strictly
desirable behavior.

To test:

[1] Create a juvenile patron.  While editing it, make a staff
    account a guarantor of the new patron.
[2] View patron details for the staff account.  Note that the
    juvenile patron is not displayed as a guarantee.
[3] Apply this patch.
[4] Refresh details for the staff account.  The juvenile should
    now show up.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Frederic Demians <f.demians@tamil.fr>

Galen patch works as described. The way it's implemented seems sensible.
Whatever the reason why a patron has guarantes, it make sense to display
them. So it's better to check the count of guarantes rather than the
current patron type to decide to display guarantes.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, small change, no regressions found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-19 13:29:35 -03:00
..
boraccount.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
default_messageprefs.pl
deletemem.pl Bug 11401: QA followup 2014-11-14 09:42:45 -03:00
files.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
guarantor_search.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
mancredit.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
maninvoice.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
member-flags.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
member-password.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
member.pl Bug 9811: Various fixes 2014-07-01 09:59:09 -03:00
memberentry.pl Bug 11401: QA followup 2014-11-14 09:42:45 -03:00
members-home.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
members-update-do.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
members-update.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
mod_debarment.pl Bug 12069: redirect to staff login if you access members/mod_debarment.pl when logged out 2014-04-12 18:00:18 +00:00
moremember.pl Bug 12132: display guarantees if a patron has them, regardless of category type 2014-11-19 13:29:35 -03:00
nl-search.pl Bug 11401: Add support for Norwegian national library card 2014-11-14 09:42:23 -03:00
notices.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
patronimage.pl
pay.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
paycollect.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
printfeercpt.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
printinvoice.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
printslip.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
purchase-suggestions.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
readingrec.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
routing-lists.pl Bug 12542: Tabs inconsistency in different circ-menu.inc uses 2014-07-18 10:41:27 -03:00
setstatus.pl
statistics.pl Bug 12693 - colspan calculation done by members/statistics.pl should be moved to template 2014-08-11 15:47:14 -03:00
summary-print.pl Bug 12971 [QA Followup] - Fix error caused by patron not having any checkouts 2014-11-19 09:49:29 -03:00
update-child.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00