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