Bug 26598: (QA follow-up) Fix up tab for guarantees' charges

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Kyle Hall 2022-12-16 12:57:19 -05:00 committed by Tomas Cohen Arazi
parent 54307579ce
commit aba00f6cb3
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

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" >See all charges.</a>
</li>
[% END %]
[% FOREACH guarantee IN guarantees %]
@ -675,8 +675,8 @@
</li>
[% END %]
[% IF ( guarantees_fines ) %]
<li id="guarantees-finestab">
<a href="#guarantees-finesandcharges">Guarantees' charges ([% guarantees_fines | $Price %])</a>
<li role="presentation" id="guarantees_finestab">
<a href="#guarantees_finesandcharges" aria-controls="guarantees_finesandcharges" role="tab" data-toggle="tab">Guarantees' charges ([% guarantees_fines | $Price %])</a>
</li>
[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
@ -756,7 +756,7 @@
[% END %]
[% IF ( guarantees_fines ) %]
<div id="guarantees-finesandcharges">
<div id="guarantees_finesandcharges" role="tabpanel" class="tab-pane">
<table id="tguaranteesfines">
<thead>
<tr>
@ -953,8 +953,8 @@
$('#debarments-tab-link').click();
});
$("#view-guarantees-finesandcharges").on("click",function(){
$('#guarantees-finestab a').click();
$("#view_guarantees_finesandcharges").on("click",function(){
$('#guarantees_finestab a').click();
});
});