Adding jquery as default js library and staff-global.js for global js functions....
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / branchtransfers.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation &rsaquo; Transfers</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="menu-circ.inc" -->
8
9 <div id="doc3" class="yui-t2">
10    
11    <div id="bd">
12         <div id="yui-main">
13         <div class="yui-b"><div class="yui-g">
14
15 <h1>Circulation &rsaquo; Transfers</h1>
16
17 <!-- TMPL_IF Name="found" -->
18     <h3>Reserve Found</h3>
19     <table>
20         <caption>
21             <!-- TMPL_IF Name="reserved" -->
22                 Reserve found for <!-- TMPL_VAR Name="name" --> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->"><!-- TMPL_VAR Name="borrowernumber" --></a>).
23             <!-- /TMPL_IF -->
24             <!-- TMPL_IF Name="waiting" -->
25                 Item is marked waiting at <!-- TMPL_VAR Name="branchname" --> for <!-- TMPL_VAR Name="name" --> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->"><!-- TMPL_VAR Name="borrowernumber" --></a>).
26             <!-- /TMPL_IF -->
27         </caption>
28         <tr>
29             <th>
30                 <!-- TMPL_IF Name="reserved" -->Set reserve to waiting and transfer book to <!-- TMPL_VAR Name="branchname" -->: <!-- /TMPL_IF -->
31                 <!-- TMPL_IF Name="waiting" -->Cancel reservation and then attempt transfer: <!-- /TMPL_IF -->
32             </th>
33             <td>
34                 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
35                     <!-- TMPL_LOOP Name="trsfitemloop" -->
36                         <input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
37                         <input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
38                         <input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
39                     <!-- /TMPL_LOOP -->
40                     <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
41                     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
42                     <!-- TMPL_IF Name="waiting" -->
43                         <input type="hidden" name="barcode" value="<!-- TMPL_VAR Name="barcode" -->" />
44                         <input type="hidden" name="request" value="KillWaiting" />
45                         <input type="submit" value="Cancel" />
46                     <!-- /TMPL_IF -->
47                     <!-- TMPL_IF Name="reserved" -->
48                         <input type="hidden" name="request" value="SetWaiting" />
49                         <input type="submit" value="Waiting" />
50                     <!-- /TMPL_IF -->
51                 </form>
52             </td>
53         </tr>
54             <!-- TMPL_IF Name="reserved" -->
55                 <tr>
56                     <th>Cancel reservation and then attempt transfer:</th>
57                     <td>
58                         <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
59                             <!-- TMPL_LOOP Name="trsfitemloop" -->
60                                 <input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
61                                 <input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
62                                 <input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
63                             <!-- /TMPL_LOOP -->
64                             <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR Name="biblionumber" -->" />
65                             <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
66                             <input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobranchcd" -->" />
67                             <input type="hidden" name="barcode" value="<!-- TMPL_VAR Name="barcode" -->" />
68                             <input type="hidden" name="request" value="KillReserved" />
69                             <input type="submit" value="Cancel" />
70                         </form>
71                     </td>
72                 </tr>
73             <!-- /TMPL_IF -->
74                 <tr>
75                     <th>Ignore and return to transfers: </th>
76                         <td>
77                             <form method="post" name="mainform" id="mainform" action="branchtransfers.pl" />
78                                 <input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobranchcd" -->" />
79                                 <input type="hidden" name="barcode" />
80                                 <!-- TMPL_LOOP Name="trsfitemloop" -->
81                                     <input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
82                                     <input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
83                                     <input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
84                                 <!-- /TMPL_LOOP -->
85                                 <input type="submit" value="Ignore" />
86                             </form>
87                         </td>
88                 </tr>
89     </table>
90
91 <!-- TMPL_ELSE -->
92     <table>
93         <caption>Messages</caption>
94         <tr>
95             <td>
96                 <!-- TMPL_IF Name="reqmessage" -->
97                     <!-- TMPL_IF Name="cancelled" -->
98                         Reserve Cancelled<br />
99                     <!-- /TMPL_IF -->
100                     <!-- TMPL_IF Name="setwaiting" -->
101                         Item should now be waiting at library: <!-- TMPL_VAR Name="reqbrchname" --><br />
102                     <!-- /TMPL_IF -->
103                 <!-- /TMPL_IF -->
104                 <!-- TMPL_LOOP Name="errmsgloop" -->
105                     <!-- TMPL_IF Name="errbadcode" -->
106                         No Item with barcode: <!-- TMPL_VAR Name="msg" -->
107                     <!-- /TMPL_IF -->
108                     <!-- TMPL_IF Name="errispermanent" -->
109                             Please return item to home library: <!-- TMPL_VAR Name="msg" -->
110                     <!-- /TMPL_IF -->
111                     <!-- TMPL_IF Name="errdesteqholding" -->
112                         Item is already at destination library.
113                     <!-- /TMPL_IF -->
114                     <!-- TMPL_IF Name="errwasreturned" -->
115                         Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->"><!-- TMPL_VAR Name="borrowernumber" --></a>
116 <!-- TMPL_VAR Name="name" --> and has been returned.
117                     <!-- /TMPL_IF -->
118                 <!-- /TMPL_LOOP -->
119             </td>
120         </tr>
121     </table>
122     <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
123         <table>
124             <caption>Transfer</caption>
125             <tr>
126                 <th scope="row">Destination library:</th>
127                 <td>
128                     <select name="tobranchcd">
129                         <!-- TMPL_LOOP Name="branchoptionloop" -->
130                             <option value="<!-- TMPL_VAR Name="code" -->" <!-- TMPL_VAR Name="selected" -->>
131                                 <!-- TMPL_VAR Name="name" -->
132                             </option>
133                         <!-- /TMPL_LOOP -->
134                     </select>
135                 </td>
136             </tr>
137             <tr>
138                 <th scope="row">Enter barcode</th>
139                 <td><input name="barcode" size="15" class="focus" /></td>
140             </tr>
141         </table>
142         <input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobrancd" -->" />
143         <!-- TMPL_LOOP Name="trsfitemloop" -->
144             <input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
145             <input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
146             <input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
147         <!-- /TMPL_LOOP -->
148         <input type="submit" value="Do transfer" />
149     </form>
150         
151     <!-- TMPL_IF Name="trsfitemloop" -->
152         <table>
153             <caption>Transfered Items</caption>
154             <tr>
155                 <th>Bar Code</th>
156                 <th>Title</th>
157                 <th>To</th>
158             </tr>
159             <!-- TMPL_LOOP Name="trsfitemloop" -->
160                 <tr>
161                     <td>
162                         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR Name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a>
163                     </td>
164                     <td>
165                         <p><!-- TMPL_VAR Name="title" --> (<!-- TMPL_VAR Name="author" -->)</p>
166                         <p><!-- TMPL_VAR Name="ccode" --></p>
167                     </td>
168                     <td><!-- TMPL_VAR Name="tobrname" --></td>
169                 </tr>
170             <!-- /TMPL_LOOP -->
171         </table>
172     <!-- /TMPL_IF -->
173 <!-- /TMPL_IF -->
174
175 </div>
176 </div>
177 </div>
178
179 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
180 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->