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;
88 <!-- ################################################################################# -->
89 <!-- ################################################################################# -->
91 <!-- ################################################################################# -->
92 <!-- ################################################################################# -->
96 <!-- TMPL_INCLUDE NAME="header.inc" -->
97 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
100 <!-- ################################################################################# -->
102 <!-- ################################################################################# -->
105 <div id="breadcrumbs">
107 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
108 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
109 <a href="/cgi-bin/koha/suggestion/acceptorreject.pl">Suggestions Management (GPD)</a> ›
115 <!--<div id="doc3" class="yui-t2">
118 <div class="yui-b">-->
119 <!-- TMPL_INCLUDE NAME="acquisitions-toolbar.inc" -->
124 <!-- ###################################################################### -->
125 <!-- ###################################################################### -->
126 <!-- display the suggestion details -->
127 <!-- ###################################################################### -->
128 <!-- ###################################################################### -->
130 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
132 <h1>Suggestion details (General Purchase Department)</h1>
137 <!-- TMPL_IF NAME="step2ormore" -->
139 <!-- ###################################################################### -->
140 <!-- The user cannot edit the fields -->
141 <!-- ###################################################################### -->
142 <!-- ###################################################################### -->
149 <label for="title">Title :</label> <!-- TMPL_VAR name="title" -->
152 <label for="author">Author:</label> <!-- TMPL_VAR name="author" -->
155 <label for="copyrightdate">Copyright date:</label> <!-- TMPL_VAR name="copyrightdate" -->
158 <label for="isbn">ISBN : </label> <!-- TMPL_VAR name="isbn" -->
161 <label for="rrp">unit price : </label> <!-- TMPL_VAR name="rrp" -->
164 <label for="publishercode">Publisher:</label> <!-- TMPL_VAR name="publishercode" -->
167 <label for="seriestitle">Series:</label> <!-- TMPL_VAR name="seriestitle" -->
170 <label for="note">Notes:</label> <!-- TMPL_VAR name="note" -->
174 <label for="itemtype">Item type :</label> <!-- TMPL_VAR NAME="itemtypedescription" -->
178 <h2>Branch, book fund group, book fund, audience</h2>
181 <!-- ############################################################# -->
182 <!-- 'Branch, book fund group, book fund, audience' -->
183 <!-- ############################################################# -->
186 <label for="branch_loop">Branch :</label> <!-- TMPL_VAR NAME="branchname" -->
190 <label for="bookfundgroup_loop">book fund group :</label> <!-- TMPL_VAR NAME="bookfundgroupname"-->
194 <label for="bookfund_loop">book fund :</label> <!-- TMPL_VAR NAME="bookfundname"-->
198 <label for="audience_loop">audience :</label> <!-- TMPL_VAR NAME="audiencename"-->
202 <h2>Suggestion management</h2>
205 <!-- ############################################################# -->
206 <!-- suggestion management -->
207 <!-- ############################################################# -->
221 <td>suggestion made by</td>
223 <!-- TMPL_VAR name="surnamesuggestedby" -->
224 <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
225 <!-- TMPL_VAR name="firstnamesuggestedby" -->
227 <td><!-- TMPL_VAR name="suggestioncreatedon" --></td>
234 <td>suggestion managed by (GPD)</td>
236 <!-- TMPL_VAR name="surnamemanagedingpdby" -->
237 <!-- TMPL_IF name="firstnamemanagedingpdby" -->,<!-- /TMPL_IF -->
238 <!-- TMPL_VAR name="firstnamemanagedingpdby" -->
240 <td><!-- TMPL_VAR name="suggestionmanagedingpdon" --></td>
243 <!-- TMPL_IF name="rejected2" -->
251 <!-- TMPL_IF name="rejected2" -->
252 <!-- TMPL_VAR NAME="reason" -->
260 <!-- "suggestion managed by (PD) " -->
261 <!-- ################################################### -->
264 <td>suggestion managed by (PD)</td>
266 <!-- TMPL_IF name="rejected2" -->
274 <!-- TMPL_IF name="accepted2" -->
282 <!-- TMPL_VAR name="surnamemanagedinpdby" -->
283 <!-- TMPL_IF name="firstnamemanagedinpdby" -->,<!-- /TMPL_IF -->
284 <!-- TMPL_VAR name="firstnamemanagedinpdby" -->
286 <td><!-- TMPL_VAR name="suggestionmanagedinpdon" --></td>
287 <td><!-- TMPL_VAR NAME="status" --></td>
288 <td><!-- TMPL_VAR NAME="reason" --></td>
302 <!-- ###################################################################### -->
303 <!-- ## the user can edit the fields (step=1) -->
304 <!-- ###################################################################### -->
305 <!-- ###################################################################### -->
308 <!-- ###################################################################### -->
309 <!-- description of the item -->
310 <!-- ###################################################################### -->
313 <form action="/cgi-bin/koha/suggestion/suggestiondetails.pl" method="post">
315 <input type="hidden" name="ordernumber" value=<!-- TMPL_VAR name="ordernumber" --> />
317 <fieldset class="rows">
323 <label for="title">Title: *</label>
324 <input type="text" id="title" name="title" size="50" maxlentgh="80" value="<!-- TMPL_VAR name="title" -->"/>
327 <label for="author">Author: *</label>
328 <input type="text" id="author" name="author" size="50" maxlength="80" value="<!-- TMPL_VAR name="author" -->" />
331 <label for="copyrightdate">Copyright date: </label>
332 <input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="<!-- TMPL_VAR name="copyrightdate" -->"/>
335 <label for="isbn">ISBN: *</label>
336 <input type="text" id="isbn" name="isbn" size="13" maxlength="13" value="<!-- TMPL_VAR name="isbn" -->"/>
339 <label for="rrp">unit price: </label>
340 <input type="text" id="rrp" name="rrp" size="15" maxlength="15" value="<!-- TMPL_VAR name="rrp" -->"/>
343 <label for="publishercode">Publisher: *</label>
344 <input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="<!-- TMPL_VAR name="publishercode" -->"/>
347 <label for="seriestitle">Series:</label>
348 <input type="text" id="seriestitle" name="seriestitle" size="50" maxlength="50" value="<!-- TMPL_VAR name="seriestitle" -->"/>
351 <label for="note">Notes:</label>
352 <textarea name="note" id="note" rows="5" cols="40" value="<!-- TMPL_VAR name="note" -->"><!-- TMPL_VAR name="note" --></textarea>
356 <label for="itemtype">Item type: *</label>
357 <select id="itemtype" name="itemtype">
359 <!-- TMPL_LOOP NAME="itemtypeloop" -->
361 <!-- TMPL_IF NAME="selected" -->
363 <option value="<!-- TMPL_VAR NAME="itemtype" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
367 <option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
377 <h2>Branch, book fund group, book fund, audience</h2>
380 <!-- ############################################################# -->
381 <!-- 'Branch, book fund group, book fund, audience' -->
382 <!-- ############################################################# -->
385 <label for="branch_loop">Branch: *</label>
386 <select id="branch_loop" name="branch_loop">
387 <!-- TMPL_LOOP NAME="branch_loop" -->
388 <!-- TMPL_IF NAME="selected" -->
389 <option value="<!-- TMPL_VAR NAME="branchcode" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
391 <option value="<!-- TMPL_VAR NAME="branchcode" -->"><!-- TMPL_VAR NAME="branchname" --></option>
398 <label for="bookfundgroup_loop">book fund group: *</label>
399 <select name="bookfundgroup_loop">
400 <option value="">choose a book fund group</option>
402 <!-- TMPL_LOOP NAME="bookfundgroup_loop" -->
404 <!-- TMPL_IF NAME="selected" -->
405 <option value="<!-- TMPL_VAR name="bookfundgroupnumber" -->" selected="selected"><!-- TMPL_VAR NAME="bookfundgroupname"--></option>
408 <option value="<!-- TMPL_VAR name="bookfundgroupnumber" -->" ><!-- TMPL_VAR NAME="bookfundgroupname"--></option>
417 <label for="bookfund_loop">book fund :</label>
418 <select name="bookfund_loop">
420 <!-- TMPL_IF NAME="chooseabookfund" -->
421 <option value"">choose a book fund</option>
423 <option value"">please 1st specify a book fund group</option>
426 <!-- TMPL_LOOP NAME="bookfund_loop" -->
428 <!-- TMPL_IF NAME="selected" -->
429 <option value="<!-- TMPL_VAR name="bookfundnumber" -->" selected="selected"><!-- TMPL_VAR NAME="bookfundname"--></option>
432 <option value="<!-- TMPL_VAR name="bookfundnumber" -->" ><!-- TMPL_VAR NAME="bookfundname"--></option>
440 <label for="audience_loop">audience :</label>
441 <select name="audience_loop">
443 <!-- TMPL_IF NAME="chooseanaudience" -->
444 <option value"">choose an audience</option>
446 <option value"">please 1st specify a book fund group</option>
449 <!-- TMPL_LOOP NAME="audience_loop" -->
451 <!-- TMPL_IF NAME="selected" -->
452 <option value="<!-- TMPL_VAR name="audiencenumber" -->" selected="selected"><!-- TMPL_VAR NAME="audiencename"--></option>
455 <option value="<!-- TMPL_VAR name="audiencenumber" -->" ><!-- TMPL_VAR NAME="audiencename"--></option>
465 <h2>Suggestion management</h2>
468 <!-- ############################################################# -->
469 <!-- suggestion management -->
470 <!-- ############################################################# -->
484 <td>suggestion made by</td>
486 <!-- TMPL_VAR name="surnamesuggestedby" -->
487 <!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF -->
488 <!-- TMPL_VAR name="firstnamesuggestedby" -->
490 <td><!-- TMPL_VAR name="suggestioncreatedon" --></td>
497 <td>suggestion managed by (GPD)</td>
502 <option value=""> -- Choose Action -- </option>
503 <option value="REJECTED" <!-- TMPL_IF name="rejected1" -->selected="selected"<!-- /TMPL_IF -->>Reject</option>
504 <option value="ACCEPTED" <!-- TMPL_IF name="accepted1" -->selected="selected"<!-- /TMPL_IF -->>Accept</option>
510 <span id="span-select-reason<!-- TMPL_VAR NAME="ordernumber" -->" class="content_visible">
513 <!-- TMPL_IF NAME="reasons_loop" -->
514 <select name="reason" onchange="displayOther('<!-- TMPL_VAR NAME="ordernumber" -->');">
515 <option value=""> -- Choose a reason -- </option>
517 <!-- TMPL_LOOP NAME="reasons_loop" -->
519 <option value="<!-- TMPL_VAR NAME="lib" -->" <!-- TMPL_IF name="selected" -->selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="lib" --></option>
523 <option value="other" <!-- TMPL_IF name="selected" -->selected="selected"<!-- /TMPL_IF -->>Others...</option>
528 <span class="problem">No reasons defined in <a href="/cgi-bin/koha/admin/authorised_values.pl">authorised values</a></span>
533 <span id="span-other-reason<!-- TMPL_VAR NAME="ordernumber" -->" class="content_hidden">
535 <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=''}" />
537 <small><a href="#" onclick="displayOther('<!-- TMPL_VAR NAME="ordernumber" -->'); return false;">back to list</a></small>
546 <td>suggestion managed by (PD)</td>
559 <fieldset class="action">
560 <input type="hidden" name="op" value="add_confirm" />
561 <input type="submit" value="Submit Your Suggestion" />
562 <a class="action" href="/cgi-bin/koha/suggestion/acceptorreject.pl">Cancel</a>
570 <a href="/cgi-bin/koha/suggestion/acceptorreject.pl">Suggestions Management</a>
576 <!--<!-- TMPL_INCLUDE NAME="admin-menu.inc" -->-->
579 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->