1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Serials</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?");
44 <!-- TMPL_INCLUDE NAME="header.inc" -->
45 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
47 <div id="doc3" class="yui-t2">
51 <div class="yui-b"><div class="yui-g">
53 <h1>Check In subscription for: <!-- TMPL_VAR name="bibliotitle" --></h1>
55 <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="detail of the subscription">Subscription Details</a>
56 <!-- <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> -->
57 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Show Biblio</a>
58 <!-- TMPL_IF NAME="routing" -->
59 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="subscription routing list">Routing list</a>
63 <h2>waited or late numbers</h2>
64 <form method="post" name="f" action="serials-recieve.pl" onsubmit="return barcode_check()">
65 <input type="hidden" name="op" value="serialchangestatus">
66 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
67 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
68 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
69 <table cellspacing="0" cellpadding="0" border="0" class="collapse">
87 <!-- TMPL_LOOP name="serialslist" -->
90 Issue <input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size="20" maxlength="100">
91 <!--TMPL_IF Name="serialadditems" -->
93 Callnumber <input type="text" name="itemcallnumber" value="<!--TMPL_VAR NAME="callnumber"-->" size="15" maxlength="100">
94 Barcode <input type="text" name="barcode" value="<!-- TMPL_VAR NAME="barcode"-->" id="barcode<!-- TMPL_VAR NAME="num" -->" size="20" maxlength="20">
98 <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size="10" maxlength="15">
99 <!--TMPL_IF Name="serialadditems" -->
104 <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size="10" maxlength="15">
105 <!--TMPL_IF Name="serialadditems" -->
107 <select name="branch" size="1">
108 <option value="">Branch</option>
109 <!-- TMPL_LOOP name="branchloop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
111 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
118 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->">
119 <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->">
120 <!--TMPL_IF name="status1" -->
121 <option value="1" selected="selected">Waited</option>
123 <!--TMPL_IF name="status2" -->
124 <option value="2" selected="selected">Arrived</option>
126 <option value="2">Arrived</option>
128 <!--TMPL_IF name="status3" -->
129 <option value="3" selected="selected">Late</option>
131 <option value="3">Late</option>
133 <!--TMPL_IF name="status4" -->
134 <option value="4" selected="selected">Missing</option>
136 <option value="4">Missing</option>
138 <!--TMPL_IF name="status5" -->
139 <option value="5" selected="selected">Not Available</option>
141 <option value="5">Not Available</option>
143 <!--TMPL_IF name="status6" -->
144 <option value="6" selected="selected">Delete</option>
146 <option value="6">Delete</option>
149 <!--TMPL_IF Name="serialadditems" -->
151 <!--TMPL_IF Name="itemstatus"-->
152 <!--TMPL_IF Name="choice"-->
153 <!-- TMPL_LOOP name="itemstatusloop" -->
154 <!-- TMPL_VAR name="itemlib" -->:
155 <!-- TMPL_IF name="selected" -->
156 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" checked="checked" />
158 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" />
162 <select name="itemstatus" size="1">
163 <option value="">Item Status</option>
164 <!-- TMPL_LOOP name="itemstatusloop" -->
165 <!-- TMPL_IF name="selected" -->
166 <option value="<!-- TMPL_VAR name="itemval" -->" selected="selected"><!-- TMPL_VAR name="itemlib" --></option>
168 <option value="<!-- TMPL_VAR name="itemval" -->"><!-- TMPL_VAR name="itemlib" --></option>
180 <input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size="20" maxlength="255">
181 <!--TMPL_IF Name="serialadditems" -->
183 <!--TMPL_IF Name="itemlocation"-->
184 <select name="location" size="1">
185 <option value="">Location</option>
186 <!-- TMPL_LOOP name="itemlocationloop" -->
187 <!-- TMPL_IF name="selected" -->
188 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemlocationname" --></option>
190 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemlocationname" --></option>
201 <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
204 Manual issue <input type="text" name="serialseq" size="30" maxlength="100" value="<!-- TMPL_VAR NAME="missingseq" -->">
205 <!--TMPL_IF Name="serialadditems" -->
207 Callnumber <input type="text" name="itemcallnumber" value="" size="10" maxlength="15">
208 Barcode <input type="text" name="barcode" value="" size="20" maxlength="20">
212 <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size="10" maxlength="15">
213 <!--TMPL_IF Name="serialadditems" -->
218 <input type="text" name="planneddate" size="10" maxlength="15" value="<!-- TMPL_VAR NAME="missingdate" -->">
219 <!--TMPL_IF Name="serialadditems" -->
221 <select name="branch" size="1">
222 <option value="">Branch</option>
223 <!-- TMPL_LOOP name="branchloop" -->
224 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
226 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
233 <!-- TMPL_IF NAME="frommissing" -->
234 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="missingid" -->">
236 <input type="hidden" name="serialid" value="0">
238 <select name="status" size="1">
239 <!-- TMPL_IF NAME="frommissing" -->
240 <option value="2" selected="selected">Arrived</option>
242 <option value="2">Arrived</option>
245 <!-- TMPL_IF NAME="frommissing" -->
246 <option value="3">Late</option>
248 <option value="3" selected="selected">Late</option>
250 <option value="4">Missing</option>
251 <option value="5">Not Available</option>
255 <!--TMPL_IF Name="serialadditems" -->
257 <!-- TMPL_IF Name="itemstatus"-->
258 <!--TMPL_IF Name="choice"-->
259 <!-- TMPL_LOOP name="itemstatusloop" -->
260 <!-- TMPL_VAR name="itemlib" -->:
261 <!-- TMPL_IF name="selected" -->
262 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" checked="checked" />
264 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" />
268 <select name="itemstatus" size="1">
269 <option value="">Item Status</option>
270 <!-- TMPL_LOOP name="itemstatusloop" -->
271 <!-- TMPL_IF name="selected" -->
272 <option value="<!-- TMPL_VAR name="itemval" -->" selected="selected"><!-- TMPL_VAR name="itemlib" --></option>
274 <option value="<!-- TMPL_VAR name="itemval" -->"><!-- TMPL_VAR name="itemlib" --></option>
286 <!--TMPL_IF Name="serialadditems" -->
288 <!-- TMPL_IF Name="itemlocation"-->
289 <select name="location" size="1">
290 <option value="">Location</option>
291 <!-- TMPL_LOOP name="itemlocationloop" -->
292 <!-- TMPL_IF name="selected" -->
293 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemlocationname" --></option>
295 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemlocationname" --></option>
305 <!-- /TMPL_UNLESS -->
307 <input type="submit" value="Save changes" accesskey="w" class="button">
308 <!-- TMPL_IF name="hassubscriptionexpired" -->
309 <h3>Subscription has expired.</h3>
310 <p><b>Waited last issue status can't be changed. <a href="#" onclick="popup()" class="button">Renew</a> your subscription</b></p>
312 <!-- TMPL_IF name="abouttoexpire" -->
313 <h3>Note: Subscription is about to expire next issue.</h3>
314 <script type="text/javascript">
316 alert("Subscription is about to expire next issue");
322 <h2>Subscription summary</h2>
323 <form method="post" name="f2" action="serials-recieve.pl">
324 <input type="hidden" name="op" value="modsubscriptionhistory">
325 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
326 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
327 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
328 <p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
329 <p><label>Starting date:</label><input type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->"> (the date of the 1st subscription)</p>
330 <p><label>Ending date:</label><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->">(if empty : subscription still active)</p>
331 <p>Recieved issues</p>
332 <p><textarea name="recievedlist" cols="60" rows="5"><!-- TMPL_VAR name="recievedlist" --></textarea></p>
333 <p>Missing issues</p>
334 <p><textarea name="missinglist" cols="60" rows="2"><!-- TMPL_VAR name="missinglist" --></textarea></p>
336 <p><textarea name="opacnote" cols="60" rows="5"><!-- TMPL_VAR name="opacnote" --></textarea></p>
337 <input type="submit" value="Save changes" class="button">
347 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
348 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->