1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Serials › Check In subscription for <!-- TMPL_VAR name="bibliotitle" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script language="JavaScript" type="text/javascript">
7 window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR
8 name="subscriptionid">","subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
11 function barcode_check(){
12 <!-- TMPL_IF NAME="count" -->
13 var count = '<!-- TMPL_VAR NAME="count" -->';
14 for(var i=1;i<=count;i++){
16 var barcodenum = "barcode"+i;
17 var statusnum = "status"+i;
18 var elembarcode = "document.getElementById('"+barcodenum+"')";
19 var elemstatus = "document.getElementById('"+statusnum+"')";
20 // alert(elembarcode+"\n"+eval(elembarcode+".value));
21 // alert(elemstatus+"\n"+eval(elemstatus+".value"));
22 if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
23 var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
30 if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
31 var answer = confirm("A barcode was not entered.\nDo you want to put in a barcode\nor do you want to use a system generated barcode?");
45 <!-- TMPL_INCLUDE NAME="header.inc" -->
46 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
48 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Check In subscription for <i><!-- TMPL_VAR name="bibliotitle" --></i></div>
50 <div id="doc3" class="yui-t2">
56 <h1>Check In subscription for <i><!-- TMPL_VAR name="bibliotitle" --></i></h1>
58 <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="detail of the subscription">Subscription Details</a>
59 <!-- <a href="/cgi-bin/koha/serials/serials-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Search All Subscriptions</a> -->
60 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Show Biblio</a>
61 <!-- TMPL_IF NAME="routing" -->
62 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="subscription routing list">Routing list</a>
66 <h2>Expected or late</h2>
67 <form method="post" name="f" action="serials-recieve.pl" onsubmit="return barcode_check()">
68 <input type="hidden" name="op" value="serialchangestatus" />
69 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->" />
70 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
71 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->" />
80 <!-- TMPL_LOOP name="serialslist" -->
83 Issue <input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size="20" maxlength="100" />
84 <!--TMPL_IF Name="serialadditems" -->
86 Callnumber <input type="text" name="itemcallnumber" value="<!--TMPL_VAR NAME="callnumber"-->" size="15" maxlength="100" />
87 Barcode <input type="text" name="barcode" value="<!-- TMPL_VAR NAME="barcode"-->" id="barcode<!-- TMPL_VAR NAME="num" -->" size="20" maxlength="20" />
91 <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size="10" maxlength="15" />
92 <!--TMPL_IF Name="serialadditems" -->
97 <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size="10" maxlength="15" />
98 <!--TMPL_IF Name="serialadditems" -->
100 <select name="branch">
101 <option value="">Branch</option>
102 <!-- TMPL_LOOP name="branchloop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
104 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
111 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->" />
112 <select name="status" id="status<!-- TMPL_VAR NAME="num" -->">
113 <!--TMPL_IF name="status1" -->
114 <option value="1" selected="selected">Expected</option>
116 <!--TMPL_IF name="status2" -->
117 <option value="2" selected="selected">Arrived</option>
119 <option value="2">Arrived</option>
121 <!--TMPL_IF name="status3" -->
122 <option value="3" selected="selected">Late</option>
124 <option value="3">Late</option>
126 <!--TMPL_IF name="status4" -->
127 <option value="4" selected="selected">Missing</option>
129 <option value="4">Missing</option>
131 <!--TMPL_IF name="status5" -->
132 <option value="5" selected="selected">Not Available</option>
134 <option value="5">Not Available</option>
136 <!--TMPL_IF name="status6" -->
137 <option value="6" selected="selected">Delete</option>
139 <option value="6">Delete</option>
142 <!--TMPL_IF Name="serialadditems" -->
144 <!--TMPL_IF Name="itemstatus"-->
145 <!--TMPL_IF Name="choice"-->
146 <!-- TMPL_LOOP name="itemstatusloop" -->
147 <!-- TMPL_VAR name="itemlib" -->:
148 <!-- TMPL_IF name="selected" -->
149 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" checked="checked" />
151 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" />
155 <select name="itemstatus">
156 <option value="">Item Status</option>
157 <!-- TMPL_LOOP name="itemstatusloop" -->
158 <!-- TMPL_IF name="selected" -->
159 <option value="<!-- TMPL_VAR name="itemval" -->" selected="selected"><!-- TMPL_VAR name="itemlib" --></option>
161 <option value="<!-- TMPL_VAR name="itemval" -->"><!-- TMPL_VAR name="itemlib" --></option>
173 <input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size="20" maxlength="255" />
174 <!--TMPL_IF Name="serialadditems" -->
176 <!--TMPL_IF Name="itemlocation"-->
177 <select name="location">
178 <option value="">Location</option>
179 <!-- TMPL_LOOP name="itemlocationloop" -->
180 <!-- TMPL_IF name="selected" -->
181 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemlocationname" --></option>
183 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemlocationname" --></option>
194 <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
197 Manual issue <input type="text" name="serialseq" size="30" maxlength="100" value="<!-- TMPL_VAR NAME="missingseq" -->" />
198 <!--TMPL_IF Name="serialadditems" -->
200 Callnumber <input type="text" name="itemcallnumber" value="" size="10" maxlength="15" />
201 Barcode <input type="text" name="barcode" value="" size="20" maxlength="20" />
205 <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size="10" maxlength="15" />
206 <!--TMPL_IF Name="serialadditems" -->
211 <input type="text" name="planneddate" size="10" maxlength="15" value="<!-- TMPL_VAR NAME="missingdate" -->" />
212 <!--TMPL_IF Name="serialadditems" -->
214 <select name="branch">
215 <option value="">Branch</option>
216 <!-- TMPL_LOOP name="branchloop" -->
217 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
219 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
226 <!-- TMPL_IF NAME="frommissing" -->
227 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="missingid" -->" />
229 <input type="hidden" name="serialid" value="0" />
231 <select name="status">
232 <!-- TMPL_IF NAME="frommissing" -->
233 <option value="2" selected="selected">Arrived</option>
235 <option value="2">Arrived</option>
238 <!-- TMPL_IF NAME="frommissing" -->
239 <option value="3">Late</option>
241 <option value="3" selected="selected">Late</option>
243 <option value="4">Missing</option>
244 <option value="5">Not Available</option>
248 <!--TMPL_IF Name="serialadditems" -->
250 <!-- TMPL_IF Name="itemstatus"-->
251 <!--TMPL_IF Name="choice"-->
252 <!-- TMPL_LOOP name="itemstatusloop" -->
253 <!-- TMPL_VAR name="itemlib" -->:
254 <!-- TMPL_IF name="selected" -->
255 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" checked="checked" />
257 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" />
261 <select name="itemstatus">
262 <option value="">Item Status</option>
263 <!-- TMPL_LOOP name="itemstatusloop" -->
264 <!-- TMPL_IF name="selected" -->
265 <option value="<!-- TMPL_VAR name="itemval" -->" selected="selected"><!-- TMPL_VAR name="itemlib" --></option>
267 <option value="<!-- TMPL_VAR name="itemval" -->"><!-- TMPL_VAR name="itemlib" --></option>
279 <!--TMPL_IF Name="serialadditems" -->
281 <!-- TMPL_IF Name="itemlocation"-->
282 <select name="location">
283 <option value="">Location</option>
284 <!-- TMPL_LOOP name="itemlocationloop" -->
285 <!-- TMPL_IF name="selected" -->
286 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemlocationname" --></option>
288 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemlocationname" --></option>
298 <!-- /TMPL_UNLESS -->
300 <input type="submit" value="Save changes" accesskey="w" class="button" />
301 <!-- TMPL_IF name="hassubscriptionexpired" -->
302 <h3>Subscription has expired.</h3>
303 <p><b>Expected issue status can't be changed. <a href="#" onclick="popup()" class="button">Renew</a> your subscription</b></p>
305 <!-- TMPL_IF name="abouttoexpire" -->
306 <h3>Note: Subscription is about to expire next issue.</h3>
307 <script type="text/javascript">
309 alert("Subscription is about to expire next issue");
315 <h2>Subscription summary</h2>
316 <form method="post" name="f2" action="serials-recieve.pl">
317 <input type="hidden" name="op" value="modsubscriptionhistory" />
318 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->" />
319 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
320 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->" />
321 <p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
322 <p><label>Starting date:</label><input type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->" /> (the date of the 1st subscription)</p>
323 <p><label>Ending date:</label><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->" />(if empty subscription is still active)</p>
324 <p>Received issues</p>
325 <p><textarea name="recievedlist" cols="60" rows="5"><!-- TMPL_VAR name="recievedlist" --></textarea></p>
326 <p>Missing issues</p>
327 <p><textarea name="missinglist" cols="60" rows="2"><!-- TMPL_VAR name="missinglist" --></textarea></p>
329 <p><textarea name="opacnote" cols="60" rows="5"><!-- TMPL_VAR name="opacnote" --></textarea></p>
330 <input type="submit" value="Save changes" class="button" />
338 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
341 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->