]> git.koha-community.org Git - koha.git/commit
Bug 31890: Add surname to PrefillGuaranteeField system pref
authorLucas Gass <lucas@bywatersolutions.com>
Mon, 19 Dec 2022 20:40:57 +0000 (20:40 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Feb 2023 08:29:51 +0000 (08:29 +0000)
commit6fac8f63c7020ca4cd175dd318329c11372896f2
tree4293b1e8f7eabb1004fcbf7c03e68efea5612882
parent871889e234ce0e975c775fe3bb03840063abf42d
Bug 31890: Add surname to PrefillGuaranteeField system pref

To test:
1. Apply patch and restart_all
2. Find the system preference PrefillGuaranteeField
3. Look for the Surname option and add it
4. Go to a patron account and add a gaurantee
5. See that the surname is properly populated for the gaurantor's surname field

Note:
This patch replaces borrower_data.surname with patron.surname. There seems to be a mismatch here so I filed Bug 32458.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 13e1e55fb872d8a0e79fa8466f9f1276c5517e35)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt