7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha › Circulation › Transfers to receive</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 [% Asset.css("css/datatables.css") | $raw %]
13 <body id="circ_transferstoreceive" class="circ">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'circ-search.inc' %]
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Transfers to receive</div>
19 <div class="main container-fluid">
21 <div class="col-sm-12">
25 [% IF Koha.Preference('CircSidebar') %]
26 <div class="col-sm-10 col-sm-push-2">
28 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
31 <h1>Transfers made to your library as of [% show_date | $KohaDates %]</h1>
32 [% IF ( branchesloop ) %]
33 <p>Your library is the destination for the following transfer(s)</p>
34 [% IF ( latetransfers ) %]<p>Transfers are <span class="error">considered late</span> after [% TransfersMaxDaysWarning | html %] days.</p>[% END %]
36 [% FOREACH branchesloo IN branchesloop %]
37 [% IF ( branchesloo.branchcode ) %]
38 <table style="width: 100%" id="transferst[% branchesloo.branchcode | html %]">
39 <caption>Coming from [% branchesloo.branchname | html %]</caption>
41 <th class="title-string">Date of transfer</th>
42 <th class="anti-the">Title</th>
48 <tbody>[% FOREACH reser IN branchesloo.reserv %]
49 [% IF ( reser.messcompa ) %]
54 <td><p><span title="[% reser.datetransfer | html %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff | html %] days late</span>[% END %]</td>
56 [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title | html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield | html %][% END %][% END %]</a> [% IF ( reser.author ) %]by [% reser.author | html %][% END %]
57 [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype | html %]</b>)[% END %]
58 <br />Barcode: [% reser.barcode | html %]
60 <td>[% IF ( reser.patron ) %]
61 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reser.patron.borrowernumber | uri %]">
62 [% reser.patron.surname | html %][%IF ( reser.patron.firstname ) %], [% reser.patron.firstname | html %][% END %]
64 [% IF ( reser.patron.phone ) %]<br />[% reser.patron.phone | html %][% END %]
65 [% IF ( reser.patron.first_valid_email_address ) %]
67 [% BLOCK subject %]Hold:[% END %]
68 <a href="mailto:[% reser.patron.first_valid_email_address | uri %]?subject=[% INCLUDE subject %] [% reser.title | uri %]">
69 [% reser.patron.first_valid_email_address | html %]
76 <td>[% IF reser.homebranch %][% Branches.GetName( reser.homebranch ) | html %][% END %]</td>
77 <td>[% reser.itemcallnumber | html %]</td>
78 <td class="actions"><a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% reser.itemnumber | uri %]&canceltransfer=1&dest=ttr" class="btn btn-default btn-xs"><i class="fa fa-times"></i> Cancel transfer</a></td>
86 <p>No transfers to receive</p>
89 [% IF Koha.Preference('CircSidebar') %]
90 </div> <!-- /.col-sm-10.col-sm-push-2 -->
91 <div class="col-sm-2 col-sm-pull-10">
93 [% INCLUDE 'circ-nav.inc' %]
95 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
100 </div> <!-- /.col-sm-12 -->
101 </div> <!-- /.row -->
103 [% MACRO jsinclude BLOCK %]
104 [% INCLUDE 'datatables.inc' %]
106 $(document).ready(function() {
107 [% FOREACH branchesloo IN branchesloop %]
108 $("#transferst[% branchesloo.branchcode | html %]").dataTable($.extend(true, {}, dataTablesDefaults, {
110 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
111 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
112 { "sType": "title-string", "aTargets" : [ "title-string" ] }
122 [% INCLUDE 'intranet-bottom.inc' %]