1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
6 Koha › Acquisitions › Suggestion management › Suggestion details
11 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
14 <script type="text/javascript">
15 // #################################################################################
17 // #################################################################################
19 function isNotNull(f,noalert) {
20 if (f.value.length ==0) {
28 var x=f.value.toUpperCase();
34 function isNum(v,maybenull) {
35 var n = new Number(v.value);
39 if (maybenull==0 && v.value=='') {
47 var t = Date.parse(f.value);
59 if (!(isNotNull(window.document.Aform.budgetperiodstartdate,1))) {
60 _alertString += "\n- " + _("budget period start date missing");
63 if (!(isNotNull(window.document.Aform.budgetperiodenddate,1))) {
64 _alertString += "\n- " + _("budget period end date missing");
67 if (!(isNotNull(window.document.Aform.budgetperiodref,1))) {
68 _alertString += "\n- " + _("reference period indicator missing");
71 if (!(isNotNull(window.document.Aform.budgetperioddescription,1))) {
72 _alertString += "\n- " + _("Description missing");
75 if (_alertString.length==0) {
76 document.Aform.submit();
78 alertString2 = _("Form not submitted because of the following problem(s)");
79 alertString2 += "\n------------------------------------------------------------------------------------\n";
80 alertString2 += _alertString;
89 <!-- ################################################################################# -->
91 <!-- ################################################################################# -->
95 <!-- TMPL_INCLUDE NAME="header.inc" -->
96 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
99 <!-- ################################################################################# -->
101 <!-- ################################################################################# -->
104 <div id="breadcrumbs">
106 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
107 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
108 <a href="/cgi-bin/koha/suggestion/acceptorrejectpd.pl?bookfundgroupnumber=<!-- TMPL_VAR name="bookfundgroupnumber" -->">Suggestions Management (PD)</a> ›
112 <!-- ################################################################################# -->
113 <!-- (fin) BREADCRUMBS -->
114 <!-- ################################################################################# -->
119 <!--<div id="doc3" class="yui-t2">
122 <div class="yui-b">-->
127 <!-- ###################################################################### -->
128 <!-- ###################################################################### -->
129 <!-- unique screen -->
130 <!-- ###################################################################### -->
131 <!-- ###################################################################### -->
134 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
136 <h1>Suggestion details (Purchase Department)</h1>
140 <!-- TMPL_IF NAME="step3ormore" -->
142 <!-- ######################################################################## -->
143 <!-- The user cannot edit the fields (step > = 3) -->
144 <!-- ######################################################################## -->
145 <!-- ######################################################################## -->
153 <label for="title">Title :</label> <!-- TMPL_VAR name="title" -->
156 <label for="author">Author:</label> <!-- TMPL_VAR name="author" -->
159 <label for="copyrightdate">Copyright date:</label> <!-- TMPL_VAR name="copyrightdate" -->
162 <label for="isbn">ISBN : </label> <!-- TMPL_VAR name="isbn" -->
165 <label for="rrp">unit price : </label> <!-- TMPL_VAR name="rrp" -->
168 <label for="publishercode">Publisher:</label> <!-- TMPL_VAR name="publishercode" -->
171 <label for="seriestitle">Series:</label> <!-- TMPL_VAR name="seriestitle" -->
174 <label for="note">Notes:</label> <!-- TMPL_VAR name="note" -->
178 <label for="itemtype">Item type :</label> <!-- TMPL_VAR NAME="itemtypedescription" -->
182 <h2>Branch, book fund group, book fund, audience</h2>
185 <!-- ############################################################# -->
186 <!-- 'Branch, book fund group, book fund, audience' -->
187 <!-- ############################################################# -->
190 <label for="branch_loop">Branch :</label> <!-- TMPL_VAR NAME="branchname" -->
194 <label>book fund group :</label> <!-- TMPL_VAR NAME="bookfundgroupname"-->
198 <label for="bookfund_loop">book fund :</label> <!-- TMPL_VAR NAME="bookfundname"-->
202 <label for="audience_loop">audience :</label> <!-- TMPL_VAR NAME="audiencename"-->
206 <h2>Suggestion management</h2>
209 <!-- ############################################################# -->
210 <!-- suggestion management -->
211 <!-- ############################################################# -->
225 <td>suggestion made by</td>
227 <!-- TMPL_VAR name="surnamesuggestedby" -->
228 <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
229 <!-- TMPL_VAR name="firstnamesuggestedby" -->
231 <td><!-- TMPL_VAR name="suggestioncreatedon" --></td>
238 <td>suggestion managed by (GPD)</td>
240 <!-- TMPL_VAR name="surnamemanagedingpdby" -->
241 <!-- TMPL_IF name="firstnamemanagedingpdby" -->,<!-- /TMPL_IF -->
242 <!-- TMPL_VAR name="firstnamemanagedingpdby" -->
244 <td><!-- TMPL_VAR name="suggestionmanagedingpdon" --></td>
258 <td>suggestion managed by (PD)</td>
260 <!-- TMPL_VAR name="surnamemanagedinpdby" -->
261 <!-- TMPL_IF name="firstnamemanagedinpdby" -->,<!-- /TMPL_IF -->
262 <!-- TMPL_VAR name="firstnamemanagedinpdby" -->
264 <td><!-- TMPL_VAR name="suggestionmanagedinpdon" --></td>
265 <td><!-- TMPL_VAR NAME="status" --></td>
266 <td><!-- TMPL_IF name="rejected3" --><!-- TMPL_VAR NAME="reason" --><!-- TMPL_ELSE -->- - - - -<!-- /TMPL_IF --></td>
277 <!-- ###################################################################### -->
278 <!-- ## The user can edit the fields (step=2) -->
279 <!-- ###################################################################### -->
280 <!-- ###################################################################### -->
283 <!-- ######################################################################## -->
284 <!-- description of the document -->
285 <!-- ######################################################################## -->
287 <form action="/cgi-bin/koha/suggestion/suggestiondetailspd.pl" method="post">
289 <input type="hidden" name="ordernumber" value="<!-- TMPL_VAR name="ordernumber" -->" />
291 <input type="hidden" name="bookfundgroupnumber" value="<!-- TMPL_VAR name="bookfundgroupnumber" -->"/>
293 <input type="hidden" name="bookfundgroup_loop" value="<!-- TMPL_VAR name="bookfundgroup_loop" -->"/>
295 <fieldset class="rows">
302 <label for="title">Title: *</label>
303 <input type="text" id="title" name="title" size="50" maxlentgh="80" value="<!-- TMPL_VAR name="title" -->"/>
306 <label for="author">Author: *</label>
307 <input type="text" id="author" name="author" size="50" maxlength="80" value="<!-- TMPL_VAR name="author" -->" />
310 <label for="copyrightdate">Copyright date: </label>
311 <input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="<!-- TMPL_VAR name="copyrightdate" -->"/>
314 <label for="isbn">ISBN: *</label>
315 <input type="text" id="isbn" name="isbn" size="13" maxlength="13" value="<!-- TMPL_VAR name="isbn" -->"/>
318 <label for="rrp">unit price: </label>
319 <input type="text" id="rrp" name="rrp" size="15" maxlength="15" value="<!-- TMPL_VAR name="rrp" -->"/>
322 <label for="publishercode">Publisher: *</label>
323 <input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="<!-- TMPL_VAR name="publishercode" -->"/>
326 <label for="seriestitle">Series:</label>
327 <input type="text" id="seriestitle" name="seriestitle" size="50" maxlength="50" value="<!-- TMPL_VAR name="seriestitle" -->"/>
330 <label for="note">Notes:</label>
331 <textarea name="note" id="note" rows="5" cols="40" value="<!-- TMPL_VAR name="note" -->"><!-- TMPL_VAR name="note" --></textarea>
335 <label for="itemtype">Item type: *</label>
336 <select id="itemtype" name="itemtype">
338 <!-- TMPL_LOOP NAME="itemtypeloop" -->
340 <!-- TMPL_IF NAME="selected" -->
342 <option value="<!-- TMPL_VAR NAME="itemtype" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
346 <option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
355 <h2>Branch, book fund group, book fund, audience</h2>
358 <!-- ############################################################# -->
359 <!-- 'Branch, book fund group, book fund, audience' -->
360 <!-- ############################################################# -->
363 <label for="branch_loop">Branch:</label>
364 <select id="branch_loop" name="branch_loop">
365 <!-- TMPL_LOOP NAME="branch_loop" -->
366 <!-- TMPL_IF NAME="selected" -->
367 <option value="<!-- TMPL_VAR NAME="branchcode" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
369 <option value="<!-- TMPL_VAR NAME="branchcode" -->"><!-- TMPL_VAR NAME="branchname" --></option>
376 <label>Book fund group:</label>
377 <!-- TMPL_VAR NAME="bookfundgroupname"--></li>
380 <label for="bookfund_loop">book fund :</label>
381 <select name="bookfund_loop">
383 <!-- TMPL_IF NAME="chooseabookfund" -->
384 <option value"">choose a book fund</option>
386 <option value"">please 1st specify a book fund group</option>
389 <!-- TMPL_LOOP NAME="bookfund_loop" -->
391 <!-- TMPL_IF NAME="selected" -->
392 <option value="<!-- TMPL_VAR name="bookfundnumber" -->" selected="selected"><!-- TMPL_VAR NAME="bookfundname"--></option>
395 <option value="<!-- TMPL_VAR name="bookfundnumber" -->" ><!-- TMPL_VAR NAME="bookfundname"--></option>
403 <label for="audience_loop">audience:</label>
404 <select name="audience_loop">
406 <!-- TMPL_IF NAME="chooseanaudience" -->
407 <option value"">choose an audience</option>
409 <option value"">please 1st specify a book fund group</option>
412 <!-- TMPL_LOOP NAME="audience_loop" -->
414 <!-- TMPL_IF NAME="selected" -->
415 <option value="<!-- TMPL_VAR name="audiencenumber" -->" selected="selected"><!-- TMPL_VAR NAME="audiencename"--></option>
418 <option value="<!-- TMPL_VAR name="audiencenumber" -->" ><!-- TMPL_VAR NAME="audiencename"--></option>
428 <h2>Suggestion management</h2>
431 <!-- ############################################################# -->
432 <!-- suggestion management -->
433 <!-- ############################################################# -->
447 <td>suggestion made by</td>
449 <!-- TMPL_VAR name="surnamesuggestedby" -->
450 <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
451 <!-- TMPL_VAR name="firstnamesuggestedby" -->
453 <td><!-- TMPL_VAR name="suggestioncreatedon" --></td>
460 <td>suggestion managed by (GPD)</td>
462 <!-- TMPL_VAR name="surnamemanagedingpdby" -->
463 <!-- TMPL_IF name="firstnamemanagedingpdby" -->,<!-- /TMPL_IF -->
464 <!-- TMPL_VAR name="firstnamemanagedingpdby" -->
466 <td><!-- TMPL_VAR name="suggestionmanagedingpdon" --></td>
479 <td>suggestion managed by (PD)</td>
484 <option value=""> -- Choose Action -- </option>
485 <option value="REJECTED">Reject</option>
486 <option value="ACCEPTED">Accept</option>
491 <span id="span-select-reason<!-- TMPL_VAR NAME="ordernumber" -->" class="content_visible">
493 <!-- TMPL_IF NAME="reasons_loop" -->
494 <select name="reason" onchange="displayOther('<!-- TMPL_VAR NAME="ordernumber" -->');">
495 <option value=""> -- Choose a reason -- </option>
497 <!-- TMPL_LOOP NAME="reasons_loop" -->
499 <option value="<!-- TMPL_VAR NAME="lib" -->" <!-- TMPL_IF name="selected" -->selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="lib" --></option>
503 <option value="other" <!-- TMPL_IF name="selected" -->selected="selected"<!-- /TMPL_IF -->>Others...</option>
508 <span class="problem">No reasons defined in <a href="/cgi-bin/koha/admin/authorised_values.pl">authorised values</a></span>
513 <span id="span-other-reason<!-- TMPL_VAR NAME="ordernumber" -->" class="content_hidden">
515 <input type="text" name="other-reason<!-- TMPL_VAR name="ordernumber" -->" value="please note your reason here..." onclick="if(this.value === 'please note your reason here...'){this.value=''}" />
517 <small><a href="#" onclick="displayOther('<!-- TMPL_VAR NAME="ordernumber" -->'); return false;">back to list</a></small>
532 <fieldset class="action">
533 <input type="hidden" name="op" value="add_confirm" />
534 <input type="submit" value="Submit Your Suggestion" />
535 <a class="action" href="/cgi-bin/koha/suggestion/acceptorrejectpd.pl?bookfundgroupnumber=<!-- TMPL_VAR name="bookfundgroupnumber" -->">Cancel</a>
540 <!-- /TMPL_IF --> <!-- ## case : "step=2" (end) ## -->
543 <a href="/cgi-bin/koha/suggestion/acceptorrejectpd.pl?bookfundgroupnumber=<!-- TMPL_VAR name="bookfundgroupnumber" -->">Suggestions Management</a>
548 <!-- <!-- TMPL_INCLUDE NAME="admin-menu.inc" --> -->
551 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->