Bug 26598: Display guarantee's fines on guarantor's details page
authorMaryse Simard <maryse.simard@inlibro.com>
Fri, 2 Oct 2020 03:53:17 +0000 (23:53 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Apr 2023 13:03:16 +0000 (10:03 -0300)
commit54307579ce46cdf6b2f2e3d033c75970a16d07d9
tree5391309889d99214c90910eefb9265ca031746b1
parente23d4d0e6adbd1b2c48fa8c235953b8f642ad032
Bug 26598: Display guarantee's fines on guarantor's details page

A new tab is added to the details page of a patron to show, in a table, the fines of the patron's guarantees. A warning appears in the "Guarantees" section of the patron to make it obvious that fines exists.

+ resolve a git merge conflict

To test:
1) Apply patch
2) Choose a patron that has guarantees and navigate to the patron's details page
3) If the guarantees don't have any fines, the display should be unchanged
4) Add fines to the guarantee
5) Go back to the guarantor's details page
    => A warning should appear in the "Guarantees" section with the total due
6) Clicking on the link accompanying the warning focuses on the new
"Guarantees' fines" tab containing a table of all guarantee's and their
fines.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Hammat Wele <hammat.wele@inlibro.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
members/moremember.pl