Koha-clms/members
Baptiste b6472510cc
Bug 38841: Check non-patron guarantor while deleting patron guarantor
When editing a child while Childneedsquarantor active, trying to delete
a guarantor while saving a non-patron guarantor will prevent the user
from saving. However, if an adult has expired, some librarian would like
to remove the account and let some information in non-patron guarantor.

TEST PLAN

Before applying patch
1 - Open Lisa Charles'page, add Henry Acevedo as Guarantor, also fill
  Guarantor surname and firstname
2 - Edit the page and try and remove Henry Acevedo, it won't work
  however there is still one guarantor

3 - Apply patch
4 - Try and remove Henry Acevedo -> it will work
5 - add HA as a guarantor again
6 - try and remove him AND let guarantor firstname and surname empty ->
  you can't
7 - Add HA and Edna Acosta as guarantor
8 - Remove HA and ler guarantor firstname and surname empty -> you can

Signed-off-by: Thibault Keromnes <thibault.keromnes@univ-paris8.fr>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit e0be89266d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-10-03 15:53:43 +02:00
..
accountline-details.pl
…
alert-subscriptions.pl
…
apikeys.pl
…
boraccount.pl
…
cancel-charge.pl
…
default_messageprefs.pl
…
deletemem.pl
…
discharge.pl
…
discharges.pl
…
files.pl
…
holdshistory.pl
…
housebound.pl
…
ill-requests.pl
…
mancredit.pl
…
maninvoice.pl
…
member-flags.pl
…
member-password.pl
…
member.pl
…
memberentry.pl Bug 38841: Check non-patron guarantor while deleting patron guarantor 2025-10-03 15:53:43 +02:00
members-home.pl
…
members-update-do.pl
…
members-update.pl
…
merge-patrons.pl
…
mod_debarment.pl
…
moremember.pl Bug 39180: Add a warning on patron missing guaranor 2025-09-17 17:01:22 +02:00
notices.pl
…
patronimage.pl
…
pay.pl
…
paycollect.pl
…
print_overdues.pl
…
printfeercpt.pl
…
printinvoice.pl
…
printnotice.pl
…
printslip.pl
…
purchase-suggestions.pl
…
readingrec.pl
…
recallshistory.pl
…
routing-lists.pl
…
setstatus.pl
…
statistics.pl
…
summary-print.pl
…
two_factor_auth.pl
…
update-child.pl
…