[Koha-bugs] [Bug 23808] Creating Child Guarantee doesn't populate Guarantor Information

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 17 22:26:03 CET 2020


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

--- Comment #13 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 100925
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100925&action=edit
Bug 23808: (follow-up) Display card number in 'Guarantor information' in
memberentry.pl

Instead of displaying 'Patron #' and displaying the guarantor's borrowernumber
in 'Guarantor information' we should display 'Patron card number:' with
the cardnumber displayed as that value is more meaningful to librarians.
The hyperlink containing the borrowernumber should stay the same so that
librarians can easily visit the patron record of existing guarantor
patrons.

Test plan:

1. Apply first patch and follow it's test plan

2. On an Adult patrons record select 'Add guarantee'

3. In 'Guarantor information' section of memberentry.pl observe in the
pre-filled guarantor information there is
a line 'Patron #:' with a link displaying a borrowernumber (not card number)
and when you click on the link it takes you to the adult/guarantors patron
account

4. Select 'Search to add' and search and add another guarantor

5. Observe in the added guarantor 'Patron #:' is displayed along with
the borrowernumber (not card number). The borrowernumber displayed in
not a link.

6. Apply this patch

7. On a adults patron select 'Add guarantee'

8. Observe in 'Guarantor information' section the pre-filled guarantor
now has 'Patron card number:' displayed (instead of 'Patron #:', and it's link
now displays the guarantors cardnumber.
Clicking on the link still takes you to the guarantors patron account

9. Repeat step 4

10. Observe in the added guarantor they also have 'Patron card number:'
(instead of 'Patron #:'). A cardnumber rather than borrowernumber is
displayed. The cardnumber is not a link.

11. Confirm tests still pass:
sudo koha-shell <instancename>
prove xt
prove t

Sponsored-by: South Taranaki District Council, NZ

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


More information about the Koha-bugs mailing list