Merge commit 'kc/master'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / transferstoreceive.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation &rsaquo; Transfers to your library</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/javascript" language="JavaScript">
6 //<![CDATA[
7 $.tablesorter.addParser({
8     id: 'articles',
9     is: function(s) {return false;  },
10     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
11     type: 'text'
12 });
13 $(document).ready(function() {
14     <!-- TMPL_LOOP NAME="branchesloop" -->
15     $.tablesorter.defaults.widgets = ['zebra'];
16     $("#transferst<!-- TMPL_VAR NAME="branchcode" -->").tablesorter({<!-- TMPL_IF ="dateformat_metric" -->
17         dateFormat: 'uk',<!-- /TMPL_IF -->
18         sortList: [[0,0]],
19         headers: { 1: { sorter: 'articles' }}
20     });
21     <!-- /TMPL_LOOP -->
22 });
23 //]]>
24 </script>
25 </head>
26 <body>
27 <!-- TMPL_INCLUDE NAME="header.inc" -->
28 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
29
30 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>  &rsaquo; Transfers to your library</div>
31
32 <div id="doc" class="yui-t7">
33
34    <div id="bd">
35         <div id="yui-main">
36         <div class="yui-g">
37
38         <h1>Transfers made to your library as of <!-- TMPL_VAR NAME="show_date" --></h1>
39         <!-- TMPL_IF name="branchesloop" -->
40         <p>Your library is the destination for the following transfer(s)</p>
41                 <!-- TMPL_IF NAME="latetransfers" --><p>Transfers are <span class="error">considered late</span> after <!-- TMPL_VAR NAME="TransfersMaxDaysWarning" --> days.</p><!-- /TMPL_IF -->
42         <div id="resultlist">
43         <!-- TMPL_LOOP NAME="branchesloop" -->
44             <!-- TMPL_IF NAME="branchcode" -->
45             <table style="width: 100%" id="transferst<!-- TMPL_VAR NAME="branchcode" -->">
46             <caption>Coming from <!-- TMPL_VAR NAME="branchname" --></caption>
47             <thead><tr>
48                 <th>Date of transfer</th>
49                 <th>Title</th>
50                 <th>On hold for</th>
51                 <th>Home library</th>
52                 <th>Call no.</th>
53             </tr></thead>
54             <tbody><!-- TMPL_LOOP NAME="reserv" -->
55                 <!-- TMPL_IF NAME="messcompa" -->
56                 <tr class="problem">
57                 <!-- TMPL_ELSE -->
58                 <tr>
59                 <!-- /TMPL_IF -->
60                     <td><p><!-- TMPL_VAR NAME="datetransfer" --></p> <!-- TMPL_IF NAME="messcompa" --><span class="error">Transfer is <!-- TMPL_VAR NAME="diff" --> days late</span><!-- /TMPL_IF --></td>
61                     <td><span style="display:none;"><!-- TMPL_VAR NAME="title" escape="html" --></span><!-- invisible title for tablesorter -->
62                    <!-- TMPL_INCLUDE NAME="biblio-default-view.inc" --><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_IF NAME="subtitle" --> <!-- TMPL_LOOP NAME="subtitle" --><!-- TMPL_VAR NAME="subfield" --><!-- /TMPL_LOOP --><!-- /TMPL_IF --></a> <!-- TMPL_IF NAME="author" -->by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
63                             <!-- TMPL_IF NAME="itemtype" -->&nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --></b>)<!-- /TMPL_IF -->
64                             <br />Barcode: <!-- TMPL_VAR NAME="barcode" -->
65                     </td>
66                     <td><!-- TMPL_IF NAME="borrowername" -->
67                         <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernum"-->">
68                             <!-- TMPL_VAR NAME="borrowername" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" -->
69                         </a>
70                         <br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
71                             <!-- TMPL_IF NAME="borrowermail" -->
72                                 <a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Reservation: <!-- TMPL_VAR NAME="title" ESCAPE="html" -->">
73                                     <!-- TMPL_VAR NAME="borrowermail" -->
74                                 </a>
75                             <!--/TMPL_IF-->
76                         <!-- TMPL_ELSE -->
77                         <p>None</p>
78                     <!-- /TMPL_IF -->
79                     </td>
80                     <td><!-- TMPL_VAR NAME="homebranch" --></td>
81                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
82                 </tr>
83             <!-- /TMPL_LOOP --></tbody>
84             </table>
85             <!-- /TMPL_IF -->
86         <!-- /TMPL_LOOP -->
87         </div>
88     <!-- TMPL_ELSE -->
89         <p>No transfers to receive</p>
90     <!-- /TMPL_IF -->
91
92 </div>
93 </div>
94 </div>
95 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->