[% INCLUDE "doc-head-open.inc" %]
<title>Koha › Circulation › Offline circulation</title>
[% INCLUDE "doc-head-close.inc" %]
- <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
- <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
- <script type="text/javascript" language="javascript">
+ <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
+ <script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
- $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/offline_circ/list.pl\">"+_('Uncheck all')+"<\/a>");
- $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/offline_circ/list.pl\">"+_('Check all')+"<\/a>");
+ $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/offline_circ/list.pl\">"+_("Uncheck all")+"<\/a>");
+ $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/offline_circ/list.pl\">"+_("Check all")+"<\/a>");
$('#CheckNone').click(function() {
$("#operations").unCheckCheckboxes();
return false;
<th>Date</th>
<th>Action</th>
<th>Barcode</th>
- <th>Card number</th>
+ <th>Card number</th>
+ <th>Amount</th>
</tr>
</thead>
<tbody>
<tr class="oc-[% operation.action %]">
<td><input type="checkbox" name="operationid" value="[% operation.operationid %]" /></td>
<td>[% operation.timestamp %]</td>
- <td>[% operation.action %]</td>
+ <td>
+ [% SWITCH ( operation.action ) -%]
+ [% CASE "issue" -%]
+ Check out
+ [% CASE "return" -%]
+ Check in
+ [% CASE "payment" -%]
+ Payment
+ [% CASE # default case -%]
+ [% operation.action %]
+ [% END -%]
+ </td>
<td>
[% IF ( biblionumber ) %]
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% operation.biblionumber %]" title="[% operation.bibliotitle %]">[% operation.barcode %]</a>
[% END %]
</td>
<td>
- [% IF ( operation.actionissue ) %]
+ [% IF ( operation.actionissue || operation.actionpayment) %]
[% IF ( operation.borrowernumber ) %]
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% operation.borrowernumber %]" title="[% operation.borrower %]">[% operation.cardnumber %]</a>
[% ELSE %]
[% END %]
[% END %]
</td>
+ <td>[% operation.amount %]</td>
</tr>
[% END %]
</tbody>
[% ELSE %]
- <p>There is no pending offline operations.</p>
+ <p>There are no pending offline operations.</p>
[% END %]