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" -->
66 <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
72 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->">
73 <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->">
74 <!--TMPL_IF name="status1" -->
75 <option value="1" selected>Waited</option>
77 <!--TMPL_IF name="status2" -->
78 <option value="2" selected>Arrived</option>
80 <option value="2">Arrived</option>
82 <!--TMPL_IF name="status3" -->
83 <option value="3" selected>Late</option>
85 <option value="3">Late</option>
87 <!--TMPL_IF name="status4" -->
88 <option value="4" selected>Missing</option>
90 <option value="4">Missing</option>
92 <!--TMPL_IF name="status5" -->
93 <option value="5" selected>Not Available</option>
95 <option value="5">Not Available</option>
97 <!--TMPL_IF name="status6" -->
98 <option value="6" selected>Delete</option>
100 <option value="6">Delete</option>
103 <!--TMPL_IF Name="serialadditems" -->
105 <!--TMPL_IF Name="itemstatus"-->
106 <!--TMPL_IF Name="choice"-->
107 <!-- TMPL_LOOP name="itemstatusloop" -->
108 <!-- TMPL_VAR name="itemlib" -->: <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->checked<!-- /TMPL_IF -->>
111 <select name="itemstatus" size="1">
112 <option value="">Item Status</option>
113 <!-- TMPL_LOOP name="itemstatusloop" -->
114 <option value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlib" --></option>
125 <input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size=20 maxlength=255>
126 <!--TMPL_IF Name="serialadditems" -->
128 <!--TMPL_IF Name="itemlocation"-->
129 <select name="location" size="1">
130 <option value="">Location</option>
131 <!-- TMPL_LOOP name="itemlocationloop" -->
132 <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlocationname" --></option>
142 <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
145 Manual issue <input type="text" name="serialseq" size=30 maxlength=100 value="<!-- TMPL_VAR NAME="missingseq" -->">
146 <!--TMPL_IF Name="serialadditems" -->
148 Callnumber <input type="text" name="itemcallnumber" value="" size=10 maxlength=15>
149 Barcode <input type="text" name="barcode" value="" size=20 maxlength=20>
153 <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size=10 maxlength=15>
154 <!--TMPL_IF Name="serialadditems" -->
159 <input type="text" name="planneddate" size=10 maxlength=15 value="<!-- TMPL_VAR NAME="missingdate" -->">
160 <!--TMPL_IF Name="serialadditems" -->
162 <select name="branch" size="1">
163 <option value="">Branch</option>
164 <!-- TMPL_LOOP name="branchloop" -->
165 <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
171 <!-- TMPL_IF NAME="frommissing" -->
172 <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="missingid" -->">
174 <input type="hidden" name="serialid" value="0">
176 <select name="status" size="1">
177 <!-- TMPL_IF NAME="frommissing" -->
178 <option value="2" selected >Arrived</option>
180 <option value="2">Arrived</option>
183 <!-- TMPL_IF NAME="frommissing" -->
184 <option value="3">Late</option>
186 <option value="3" selected>Late</option>
188 <option value="4">Missing</option>
189 <option value="5">Not Available</option>
193 <!--TMPL_IF Name="serialadditems" -->
195 <!-- TMPL_IF Name="itemstatus"-->
196 <!--TMPL_IF Name="choice"-->
197 <!-- TMPL_LOOP name="itemstatusloop" -->
198 <!-- TMPL_VAR name="itemlib" -->: <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->checked<!-- /TMPL_IF -->>
201 <select name="itemstatus" size="1">
202 <option value="">Item Status</option>
203 <!-- TMPL_LOOP name="itemstatusloop" -->
204 <option value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlib" --></option>
215 <!--TMPL_IF Name="serialadditems" -->
217 <!-- TMPL_IF Name="itemlocation"-->
218 <select name="location" size="1">
219 <option value="">Location</option>
220 <!-- TMPL_LOOP name="itemlocationloop" -->
221 <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlocationname" --></option>
230 <!-- /TMPL_UNLESS -->
232 <input type="submit" value="Save changes" accesskey="w" class="button">
233 <!-- TMPL_IF name="hassubscriptionexpired" -->
234 <h3>Subscription has expired.</h3>
235 <p><b>Waited last issue status can't be changed. <a href="#" onClick="popup()" class="button">Renew</a> your subscription</b></p>
237 <!-- TMPL_IF name="abouttoexpire" -->
238 <h3>Note: Subscription is about to expire next issue.</h3>
239 <script type="text/javascript">
241 alert("Subscription is about to expire next issue");
247 <h2>Subscription summary</h2>
248 <form method="post" name="f2" action="serials-recieve.pl">
249 <input type="hidden" name="op" value="modsubscriptionhistory">
250 <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
251 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
252 <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
253 <p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
254 <p><label>Starting date:</label><input type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->"> (the date of the 1st subscription)</p>
255 <p><label>Ending date:</label><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->">(if empty : subscription still active)</p>
256 <p>Recieved issues</p>
257 <p> <textarea name="recievedlist" COLS=60 ROWS=5><!-- TMPL_VAR name="recievedlist" --></textarea></p>
258 <p>Missing issues</p>
259 <p> <textarea name="missinglist" COLS=60 ROWS=2><!-- TMPL_VAR name="missinglist" --></textarea></p>
261 <p> <textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR name="opacnote" --></textarea></p>
262 <input type="submit" value="Save changes" class="button">
266 <script language="JavaScript" type="text/javascript">
269 window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR
270 name="subscriptionid">","subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
273 function barcode_check(){
274 <!-- TMPL_IF NAME="count" -->
275 var count = '<!-- TMPL_VAR NAME="count" -->';
276 for(var i=1;i<=count;i++){
278 var barcodenum = "barcode"+i;
279 var statusnum = "status"+i;
280 var elembarcode = "document.getElementById('"+barcodenum+"')";
281 var elemstatus = "document.getElementById('"+statusnum+"')";
282 // alert(elembarcode+"\n"+eval(elembarcode+".value));
283 // alert(elemstatus+"\n"+eval(elemstatus+".value"));
284 if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
285 var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
292 if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
293 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?");
305 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->