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