Bug 26696: Fix colspan in payment table when credit exists
The colspan was adjusted for the total due when a new column
was added to the table, but the 2 lines for credits were missed.
To test:
- Go to any patron account
- Create a manual invoice
- Create a credit
- Go to the 'Make a payment' tab
- Veriy that the total lines at the bottom of the table are
slightly off
- Apply the patch
- Verify that the total lines in the table now display correctly
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit adfed0a945)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
949abc2074
commit
c5d3b86019
|
|
@ -129,11 +129,11 @@
|
|||
</tr>
|
||||
[% IF outstanding_credits.total_outstanding < 0 %]
|
||||
<tr>
|
||||
<td class="total" colspan="11">Outstanding credits could be applied: </td>
|
||||
<td class="total" colspan="12">Outstanding credits could be applied: </td>
|
||||
<td class="credit" style="text-align: right;"><button type="submit" id="apply_credits" name="apply_credits" value="apply_credits" class="btn btn-default btn-sm">Apply <strong class="credit">[% outstanding_credits.total_outstanding | $Price %]</strong></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="total" colspan="11">Total due if credit applied:</td>
|
||||
<td class="total" colspan="12">Total due if credit applied:</td>
|
||||
<td style="text-align: right;">[% total + outstanding_credits.total_outstanding | $Price %]</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue