Bug 36292: Fixed 'See all charges' hyperlink for guarantees/guarantor linked charges

To test:
1. Add a guarantee / guarantor relationship for two patrons.
2. Add a manual fee to the guarantees' account.
3. Go to the guarantor's account and view the 'Details' tab. Under contact information there should be a Guarantees section. There you will see the charges for your guarantee. Click on ‘See all charges’. The link leads you no where.
4. Apply the patch and restart_all
5. Refresh the guarantor’s page and click on ‘See all charges’ again. This time it will take you down to the ‘Guarantees’ Charges’ panel.
6. Sign off and have a great day! :D

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

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit e2d54b1279)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Laura Escamilla 2024-03-11 14:43:26 +00:00 committed by Fridolin Somers
parent 72e78f72a3
commit c8d97a97a1
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@
<li class="guarantees-fines">
<span class="circ-hlt">Charges:</span>
Patron's guarantees collectively owe [% guarantees_fines | $Price %].
<a id="view_guarantees_finesandcharges" href="#guarantees_finesandcharges" >See all charges.</a>
<a id="view_guarantees_finesandcharges" href="#guarantees_finesandcharges_panel" >See all charges.</a>
</li>
[% END %]
[% FOREACH guarantee IN guarantees %]