Browse Source

- adding table row color toggle

- formatting credit and debit values accordingly
- styling table footer
3.0.x
oleonard 19 years ago
parent
commit
9f8b947af0
  1. 16
      koha-tmpl/intranet-tmpl/npl/en/boraccount.tmpl

16
koha-tmpl/intranet-tmpl/npl/en/boraccount.tmpl

@ -8,26 +8,28 @@
<div class="table"><table>
<caption>Account for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></caption>
<tr>
<th colspan="2">Fines &amp; Charges</th>
<th>Date</th>
<th>Description of Charges</th>
<th>Amount</th>
<th>Still Owed</th>
</tr>
<!-- TMPL_LOOP NAME="accounts" -->
<tr>
<!-- TMPL_IF NAME="toggle" --> <tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="date" --></td>
<td><!-- TMPL_VAR NAME="description" --><!-- TMPL_IF NAME="printtitle" --> <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="amount" --></td>
<td><!-- TMPL_VAR NAME="amountoutstanding" --></td>
<!-- TMPL_IF NAME="amountcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="amount" --></td>
<!-- TMPL_IF NAME="amountoutstandingcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="amountoutstanding" --></td>
</tr>
<!-- /TMPL_LOOP -->
<tfoot>
<tr>
<td colspan="3"><b>Total Due</b></td>
<td><b><!-- TMPL_VAR NAME="total" --></b></td>
<td colspan="3">Total Due</td>
<!-- TMPL_IF NAME="totalcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="total" --></td>
</tr>
</tfoot>
</table></div>
<!-- The manual invoice and credit buttons -->
<div class="tabitem">

Loading…
Cancel
Save