[% issue.title |html %]
<a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issue.itemnumber %]&biblionumber=[% issue.biblionumber %]&bi=[% issue.biblioitemnumber %]"></a>
</td>
- <td>[% issue.author %]</td>
- <td>[% issue.itemcallnumber %]</td>
- <td>[% issue.itemtype_description %]</td>
- <td>[% issue.date_due | $KohaDates as_due_date => 1 %]</td>
- <td>[% issue.barcode %]</td>
- <td>[% issue.charge %]</td>
- <td>[% issue.replacementprice %]</td>
+ <td>[% issue.author | html %]</td>
+ <td>[% issue.itemcallnumber | html %]</td>
+ <td>[% issue.itemtype_description | html %]</td>
+ <td>[% issue.date_due | $KohaDates as_due_date => 1 %]</td>
+ <td>[% issue.barcode | html %]</td>
+ <td>[% issue.charge | $Price %]</td>
+ <td>[% issue.replacementprice | $Price %]</td>
<td>[% IF ( issue.overdue ) %]Overdue![% ELSE %] [% END %]</td>
</tr>
[% END %]
<tr>
<td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
- <td>[% totaldue %]</td>
- <td>[% totalprice %]</td>
+ <td>[% totaldue | $Price %]</td>
+ <td>[% totalprice | $Price %]</td>
<td colspan="3"> </td>
</tr>
</table>
$itemtype = Koha::ItemTypes->find( $itemtype );
$checkout->{itemtype_description} = $itemtype->description; #FIXME Should not it be translated_description
- $checkout->{charge} = sprintf( "%.2f", $charge ); # TODO Should be done in the template using Price
+ $checkout->{charge} = $charge;
$checkout->{overdue} = $c->is_overdue;