1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Serials</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
8 <!--------------------------MAIN BODY OF PAGE-------------------------->
9 <h1>Check In subscription for: <!-- TMPL_VAR name="bibliotitle" --></h1>
11 <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="detail of the subscription">Subscription Details</a>
12 <!-- <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> -->
13 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Show Biblio</a>
14 <!-- TMPL_IF NAME="routing" -->
15 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="subscription routing list">Routing list</a>
19 <h2>waited or late numbers</h2>
20 <form method="post" name="f" action="serials-recieve.pl" onsubmit="return barcode_check()">
21 <input type="hidden" name="op" value="serialchangestatus">
22 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
23 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
24 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
25 <table cellspacing="0" cellpadding="0" border="0" class="collapse">
43 <!-- TMPL_LOOP name="serialslist" -->
46 Issue <input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size="20" maxlength="100">
47 <!--TMPL_IF Name="serialadditems" -->
49 Callnumber <input type="text" name="itemcallnumber" value="<!--TMPL_VAR NAME="callnumber"-->" size=15 maxlength=100>
50 Barcode <input type="text" name="barcode" value="<!-- TMPL_VAR NAME="barcode"-->" id="barcode<!-- TMPL_VAR NAME="num" -->" size=20 maxlength=20>
54 <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size=10 maxlength=15>
55 <!--TMPL_IF Name="serialadditems" -->
60 <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
61 <!--TMPL_IF Name="serialadditems" -->
63 <select name="branch" size="1">
64 <option value="">Branch</option>
65 <!-- TMPL_LOOP name="branchloop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
67 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
74 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->">
75 <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->">
76 <!--TMPL_IF name="status1" -->
77 <option value="1" selected>Waited</option>
79 <!--TMPL_IF name="status2" -->
80 <option value="2" selected>Arrived</option>
82 <option value="2">Arrived</option>
84 <!--TMPL_IF name="status3" -->
85 <option value="3" selected>Late</option>
87 <option value="3">Late</option>
89 <!--TMPL_IF name="status4" -->
90 <option value="4" selected>Missing</option>
92 <option value="4">Missing</option>
94 <!--TMPL_IF name="status5" -->
95 <option value="5" selected>Not Available</option>
97 <option value="5">Not Available</option>
99 <!--TMPL_IF name="status6" -->
100 <option value="6" selected>Delete</option>
102 <option value="6">Delete</option>
105 <!--TMPL_IF Name="serialadditems" -->
107 <!--TMPL_IF Name="itemstatus"-->
108 <!--TMPL_IF Name="choice"-->
109 <!-- TMPL_LOOP name="itemstatusloop" -->
110 <!-- TMPL_VAR name="itemlib" -->:
111 <!-- TMPL_IF name="selected" -->
112 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" checked="checked" />
114 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" />
118 <select name="itemstatus" size="1">
119 <option value="">Item Status</option>
120 <!-- TMPL_LOOP name="itemstatusloop" -->
121 <!-- TMPL_IF name="selected" -->
122 <option value="<!-- TMPL_VAR name="itemval" -->" selected="selected"><!-- TMPL_VAR name="itemlib" --></option>
124 <option value="<!-- TMPL_VAR name="itemval" -->"><!-- TMPL_VAR name="itemlib" --></option>
136 <input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size=20 maxlength=255>
137 <!--TMPL_IF Name="serialadditems" -->
139 <!--TMPL_IF Name="itemlocation"-->
140 <select name="location" size="1">
141 <option value="">Location</option>
142 <!-- TMPL_LOOP name="itemlocationloop" -->
143 <!-- TMPL_IF name="selected" -->
144 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemlocationname" --></option>
146 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemlocationname" --></option>
157 <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
160 Manual issue <input type="text" name="serialseq" size=30 maxlength=100 value="<!-- TMPL_VAR NAME="missingseq" -->">
161 <!--TMPL_IF Name="serialadditems" -->
163 Callnumber <input type="text" name="itemcallnumber" value="" size=10 maxlength=15>
164 Barcode <input type="text" name="barcode" value="" size=20 maxlength=20>
168 <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size=10 maxlength=15>
169 <!--TMPL_IF Name="serialadditems" -->
174 <input type="text" name="planneddate" size=10 maxlength=15 value="<!-- TMPL_VAR NAME="missingdate" -->">
175 <!--TMPL_IF Name="serialadditems" -->
177 <select name="branch" size="1">
178 <option value="">Branch</option>
179 <!-- TMPL_LOOP name="branchloop" -->
180 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
182 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
189 <!-- TMPL_IF NAME="frommissing" -->
190 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="missingid" -->">
192 <input type="hidden" name="serialid" value="0">
194 <select name="status" size="1">
195 <!-- TMPL_IF NAME="frommissing" -->
196 <option value="2" selected >Arrived</option>
198 <option value="2">Arrived</option>
201 <!-- TMPL_IF NAME="frommissing" -->
202 <option value="3">Late</option>
204 <option value="3" selected>Late</option>
206 <option value="4">Missing</option>
207 <option value="5">Not Available</option>
211 <!--TMPL_IF Name="serialadditems" -->
213 <!-- TMPL_IF Name="itemstatus"-->
214 <!--TMPL_IF Name="choice"-->
215 <!-- TMPL_LOOP name="itemstatusloop" -->
216 <!-- TMPL_VAR name="itemlib" -->:
217 <!-- TMPL_IF name="selected" -->
218 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" checked="checked" />
220 <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" />
224 <select name="itemstatus" size="1">
225 <option value="">Item Status</option>
226 <!-- TMPL_LOOP name="itemstatusloop" -->
227 <!-- TMPL_IF name="selected" -->
228 <option value="<!-- TMPL_VAR name="itemval" -->" selected="selected"><!-- TMPL_VAR name="itemlib" --></option>
230 <option value="<!-- TMPL_VAR name="itemval" -->"><!-- TMPL_VAR name="itemlib" --></option>
242 <!--TMPL_IF Name="serialadditems" -->
244 <!-- TMPL_IF Name="itemlocation"-->
245 <select name="location" size="1">
246 <option value="">Location</option>
247 <!-- TMPL_LOOP name="itemlocationloop" -->
248 <!-- TMPL_IF name="selected" -->
249 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemlocationname" --></option>
251 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemlocationname" --></option>
261 <!-- /TMPL_UNLESS -->
263 <input type="submit" value="Save changes" accesskey="w" class="button">
264 <!-- TMPL_IF name="hassubscriptionexpired" -->
265 <h3>Subscription has expired.</h3>
266 <p><b>Waited last issue status can't be changed. <a href="#" onClick="popup()" class="button">Renew</a> your subscription</b></p>
268 <!-- TMPL_IF name="abouttoexpire" -->
269 <h3>Note: Subscription is about to expire next issue.</h3>
270 <script type="text/javascript">
272 alert("Subscription is about to expire next issue");
278 <h2>Subscription summary</h2>
279 <form method="post" name="f2" action="serials-recieve.pl">
280 <input type="hidden" name="op" value="modsubscriptionhistory">
281 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
282 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
283 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
284 <p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
285 <p><label>Starting date:</label><input type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->"> (the date of the 1st subscription)</p>
286 <p><label>Ending date:</label><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->">(if empty : subscription still active)</p>
287 <p>Recieved issues</p>
288 <p> <textarea name="recievedlist" COLS=60 ROWS=5><!-- TMPL_VAR name="recievedlist" --></textarea></p>
289 <p>Missing issues</p>
290 <p> <textarea name="missinglist" COLS=60 ROWS=2><!-- TMPL_VAR name="missinglist" --></textarea></p>
292 <p> <textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR name="opacnote" --></textarea></p>
293 <input type="submit" value="Save changes" class="button">
297 <script language="JavaScript" type="text/javascript">
300 window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR
301 name="subscriptionid">","subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
304 function barcode_check(){
305 <!-- TMPL_IF NAME="count" -->
306 var count = '<!-- TMPL_VAR NAME="count" -->';
307 for(var i=1;i<=count;i++){
309 var barcodenum = "barcode"+i;
310 var statusnum = "status"+i;
311 var elembarcode = "document.getElementById('"+barcodenum+"')";
312 var elemstatus = "document.getElementById('"+statusnum+"')";
313 // alert(elembarcode+"\n"+eval(elembarcode+".value));
314 // alert(elemstatus+"\n"+eval(elemstatus+".value"));
315 if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
316 var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
323 if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
324 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?");
336 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->