Showing totals for charges and replacement costs on patron detail screen and print view.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
Owen Leonard 2009-02-03 14:59:55 -06:00 committed by Henri-Damien LAURENT
parent 615fe6f7d5
commit 2f549fedb5
2 changed files with 12 additions and 1 deletions

View File

@ -23,6 +23,8 @@
<th>Author</th>
<th>Format</th>
<th>Date Due</th>
<th>Charge</th>
<th>Price</th>
<th>Status</th>
</tr>
@ -36,9 +38,17 @@
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td><!-- TMPL_VAR NAME="date_due" --></td>
<td><!-- TMPL_VAR NAME="charge" --></td>
<td><!-- TMPL_VAR NAME="replacementprice" --></td>
<td><!-- TMPL_IF NAME="red" -->Overdue!<!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<td colspan="4" style="text-align: right; font-weight:bold;">Totals:</td>
<td><!-- TMPL_VAR NAME="totaldue" --></td>
<td><!-- TMPL_VAR NAME="totalprice" --></td>
<td colspan="2">&nbsp;</td>
</tr>
</table>
<!-- /TMPL_IF -->

View File

@ -435,7 +435,8 @@ if (nodename =="barcodes[]"){
</tr>
<!-- /tmpl_loop --></tbody>
<tr>
<td colspan="5" style="text-align: right; font-weight:bold;">Total replacement cost:</td>
<td colspan="4" style="text-align: right; font-weight:bold;">Totals:</td>
<td><!-- TMPL_VAR NAME="totaldue" --></td>
<td><!-- TMPL_VAR NAME="totalprice" --></td>
<td colspan="2">
<p>