[Koha-bugs] [Bug 26597] Transfer informations from guarantor when adding a guarantor to an existing patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 6 21:12:33 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26597

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #111054|0                           |1
        is obsolete|                            |

--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 111319
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111319&action=edit
Bug 26597: Transfer informations from guarantor when adding a guarantor to an
existing patron

When creating a new guarantee from the guarantor, the preference
PrefillGuaranteeField dictates some fields to be transfered from guarantor to
guarantee. This patch makes it so those informations are also transfered when
adding a new guarantor relationship to an existing patron.

To test:
1) Apply patch
2) Search PrefillGuaranteeField preference and make sure some fields are
selected
3) Select a user that can have a guarantor
4) In the edit form, click on "Search to add" in "Patron guarantor" fieldset
5) Choose a patron who has at least one of the fields in 1) set
6) Click "Select"
7) Confirm guarantee's information is filled from the guarantor's record
8) Check that any preexisting information is not overwritten

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list