8 [% PROCESS 'transfer_reasons.inc' %]
9 [% INCLUDE 'doc-head-open.inc' %]
10 <title>Koha › Circulation › Transfers to send</title>
11 [% INCLUDE 'doc-head-close.inc' %]
14 <body id="circ_transferstosend" class="circ">
15 [% INCLUDE 'header.inc' %]
16 [% INCLUDE 'circ-search.inc' %]
18 <nav id="breadcrumbs" aria-labal="Breadcrumb" class="breadcrumb">
21 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
24 <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
27 <a href="#" aria-current="page">Transfers to send</a>
32 <div class="main container-fluid">
34 <div class="col-sm-12">
38 [% IF Koha.Preference('CircSidebar') %]
39 <div class="col-sm-10 col-sm-push-2">
41 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
44 <h1>Transfers requested of your library as of [% show_date | $KohaDates %]</h1>
46 [% IF ( libraries ) %]
47 <p>Your library is the origin for the following transfer(s)</p>
49 [% FOREACH library IN libraries %]
50 [% IF ( library.branchcode ) %]
51 <table style="width: 100%" id="transferst[% library.branchcode | html %]">
52 <caption>Sending to [% library.branchname | html %]</caption>
55 <th>Date of request</th>
56 <th class="anti-the">Title</th>
65 [% FOREACH transfer IN library.inbound_transfers %]
66 [% UNLESS transfer.datesent %]
68 <td data-order="[% transfer.daterequested | html %]">
69 [% transfer.daterequested | $KohaDates %]
72 [% INCLUDE 'biblio-title.inc' biblio = transfer.item.biblio link = 1 %][% IF ( transfer.item.biblio.author ) %] by [% transfer.item.biblio.author | html %][% END %]
73 [% IF ( transfer.item.effective_itemtype ) %] (<b>[% ItemTypes.GetDescription( transfer.item.effective_itemtype ) | html %]</b>)[% END %]
74 <br />Barcode: [% transfer.item.barcode | html %]
76 <td><p>[% PROCESS transfer_reason transfer=transfer %]</p></td>
77 <td>[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]On shelf[% END %]</td>
78 <td>[% Branches.GetName( transfer.item.homebranch ) | html %]</td>
79 <td>[% transfer.item.itemcallnumber | html %]</td>
81 [% IF transfer.reason == 'StockrotationAdvance' %]
82 <a href="/cgi-bin/koha/catalogue/stockrotation.pl?op=toggle_in_demand&stage_id=4&item_id=[% transfer.itemnumber | uri %]&biblionumber=[% transfer.item.biblionumber | uri %]" class="btn btn-default btn-xs"><i class="fa fa-fire"></i> Mark "In demand"</a>
94 <p>No transfers to send</p>
97 </div> <!-- /.col-sm-10.col-sm-push-2 OR /.col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2-->
99 [% IF Koha.Preference('CircSidebar') %]
100 <div class="col-sm-2 col-sm-pull-10">
102 [% INCLUDE 'circ-nav.inc' %]
104 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
107 </div> <!-- /.row -->
109 </div> <!-- /.col-sm-12 -->
110 </div> <!-- /.row -->
112 [% MACRO jsinclude BLOCK %]
113 [% INCLUDE 'datatables.inc' %]
115 $(document).ready(function() {
116 [% FOREACH library IN libraries %]
117 $("#transferst[% library.branchcode | html %]").dataTable($.extend(true, {}, dataTablesDefaults, {
119 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
120 { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
130 [% INCLUDE 'intranet-bottom.inc' %]