The bug fix for
1965579 only resolved the negative bills problem
for grocery bills. This follow up resolves the problem for
circulation bills as well.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
</tr>
</thead>
<tbody id='myopac_circ_trans_tbody'>
+ [% c = 0; neg_or_zero = 0; %]
[% FOR f IN ctx.fines.circulation;
attrs = {marc_xml => f.marc_xml};
IF f.marc_xml;
[% money(f.xact.balance_owed) %]
</strong>
<input class="fineAmount" value="[% f.xact.balance_owed %]" hidden />
+ [% IF f.xact.balance_owed <= 0; neg_or_zero = neg_or_zero + 1; END %]
</td>
<td>
</tr>
</thead>
<tbody id='myopac_trans_tbody'>
- [% c = 0; neg_or_zero = 0; %]
[% FOR f IN ctx.fines.grocery %]
<tr class ='myopac_trans_row'>
[% c = c + 1; %]
</tr>
</thead>
<tbody id='myopac_circ_trans_tbody'>
+ [% neg_or_zero = 0; %]
[% FOR f IN ctx.fines.circulation;
attrs = {marc_xml => f.marc_xml};
IF f.marc_xml;
<td>
<strong class="alert">
[% money(f.xact.balance_owed)%]
+ [% IF f.xact.balance_owed <= 0; neg_or_zero = neg_or_zero + 1; END %]
</strong>
</td>
</tr>
</thead>
<tbody id='myopac_trans_tbody'>
- [% neg_or_zero = 0; %]
[% FOR f IN ctx.fines.grocery %]
<tr id='myopac_trans_row'>