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