6 [% USE AuthorisedValues %]
7 [% PROCESS 'i18n.inc' %]
9 [% INCLUDE 'doc-head-open.inc' %]
10 <title>[% FILTER collapse %]
11 [% t("Pending on-site checkouts") | html %] ›
12 [% t("Circulation") | html %] ›
13 [% t("Koha") | html %]
15 [% INCLUDE 'doc-head-close.inc' %]
18 <body id="circ_stats" class="circ">
19 [% WRAPPER 'header.inc' %]
20 [% INCLUDE 'circ-search.inc' %]
23 [% WRAPPER 'sub-header.inc' %]
24 [% WRAPPER breadcrumbs %]
25 [% WRAPPER breadcrumb_item %]
26 <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
28 [% WRAPPER breadcrumb_item bc_active= 1 %]
29 <span>Pending on-site checkouts</span>
31 [% END #/ WRAPPER breadcrumbs %]
32 [% END #/ WRAPPER sub-header.inc %]
34 <div class="main container-fluid">
36 <div class="col-sm-12">
40 [% IF Koha.Preference('CircSidebar') %]
41 <div class="col-sm-10 col-sm-push-2">
43 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
45 [% INCLUDE 'messages.inc' %]
47 <h1>Pending on-site checkouts</h1>
48 [% IF pending_onsite_checkouts %]
49 <div class="page-section">
50 <table id="pending_onsite_checkout">
53 <th>Date</th><th>Patron</th><th>Title</th><th>Call number</th><th>Barcode</th><th>Library</th><th>Location</th>
57 [% FOREACH item IN pending_onsite_checkouts %]
59 <td data-order="[% item.date_due | html %]">
60 [% IF item.is_overdue %]<span class="overdue">[% END %]
61 [% item.date_due | $KohaDates as_due_date => 1 %]
62 [% IF item.is_overdue %]</span>[% END %]
65 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber | uri %]">[% item.firstname | html %] [% item.surname | html %]</a>
68 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber | uri %]"><strong>[% item.title | html %]</strong></a>[% IF ( item.author ) %], by [% item.author | html %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes | $raw %]</span>[% END %]
70 <td>[% item.itemcallnumber | html %]</td>
72 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]&itemnumber=[% item.itemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a>
74 <td>[% Branches.GetName(item.branchcode) | html %]</td>
75 <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td>
80 </div> <!-- /.page-section -->
82 <h3>No pending on-site checkout.</h3>
85 [% IF Koha.Preference('CircSidebar') %]
86 </div> <!-- /.col-sm-10.col-sm-push-2 -->
87 <div class="col-sm-2 col-sm-pull-10">
89 [% INCLUDE 'circ-nav.inc' %]
91 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
96 </div> <!-- /.col-sm-12 -->
99 [% MACRO jsinclude BLOCK %]
100 [% INCLUDE 'datatables.inc' %]
102 $(document).ready(function(){
103 if ( $("#pending_onsite_checkout").length ) {
104 $("#pending_onsite_checkout").dataTable($.extend(true, {}, dataTablesDefaults));
110 [% INCLUDE 'intranet-bottom.inc' %]