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:
parent
615fe6f7d5
commit
2f549fedb5
|
|
@ -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 --> <!-- /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"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue