20b0288c722713d48ee4110bd428fec018b2a71c
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / suggestion / suggestion.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  
2 <!-- TMPL_IF name="op_save" --><!-- TMPL_IF name="suttesionid" -->Edit purchase suggestion #<!-- TMPL_VAR name="suggestionid" --><!--TMPL_ELSE-->Enter a new purchase suggestion<!-- /TMPL_IF --><!--TMPL_ELSE-->Suggestions<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!--TMPL_IF Name="op_else"--> <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/JavaScript">
6 // <![CDATA[
7
8     function yuiToolbar() {
9         new YAHOO.widget.Button("newsuggestion");
10     }
11 $.tablesorter.addParser({
12     id: 'articles', 
13     is: function(s) {return false;  }, 
14     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
15     type: 'text' 
16 });
17 /**
18 *  displayOther.
19 *  This function display the select or an textaera to write a reason.
20 */
21 function displayOther(id,show,hide) {$("#"+hide+id).hide(); $("#"+show+id).show(); }
22 $(document).ready(function() {
23     yuiToolbar();
24     $('#suggestiontabs > ul').tabs({
25         select: function(ui) {
26             $("#loadingtab").show();
27         },
28         show: function(ui) {
29             $("#loadingtab").hide();
30         }
31         });
32     $.tablesorter.defaults.widgets = ['zebra'];
33
34 <!--TMPL_LOOP Name="suggestions"-->
35     $("#<!--TMPL_VAR Name="suggestiontype"-->t").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
36     dateFormat: 'uk',<!-- /TMPL_IF -->
37     headers: {0:{sorter: false}, 1: { sorter: 'articles' },5:{sorter: false},6:{sorter: false},7:{sorter: false}, 8:{sorter: false},9:{sorter: false},10:{sorter: false}}
38     });
39     $("#CheckAll<!--TMPL_VAR Name="suggestiontype"-->").click(function(){
40         $("#<!--TMPL_VAR Name="suggestiontype"-->t :checkbox").attr('checked', $("#CheckAll<!--TMPL_VAR Name="suggestiontype"-->").is(':checked'));
41     });
42     $("div[id*=other_reason<!--TMPL_VAR Name="suggestiontype"-->]").hide();
43     $("input[name*=other_reason<!--TMPL_VAR Name="suggestiontype"-->]").focus(function(){ $(this).val(""); });
44     $("select[name*=reason<!--TMPL_VAR Name="suggestiontype"-->]").change(function(){
45     if($(this).children("[selected]").val() == "other"){
46     displayOther($(this).attr("name").replace(/reason/,""),"other_reason<!--TMPL_VAR Name="suggestiontype"-->","select-reason<!--TMPL_VAR Name="suggestiontype"-->");
47     }
48     });
49 <!--/TMPL_LOOP-->
50     $("a[href*=back]").click(function(){
51     var sid = $(this).attr("href").replace(/#back/,"");
52     displayOther(sid,"select-reason","other_reason");
53     $("#reason"+sid).find("option[value='']").attr("selected","selected");
54     });
55 }); 
56 // ]]>
57 </script>
58 <style type="text/css">
59 .overlay { top: 180px; left: 50%; position: absolute; margin-left: -100px; width: 200px; text-align: center; display: none; margin-top: -10px; background: #eeffd4; padding : .5em; color: #000; }
60 </style>
61 <!--/TMPL_IF-->
62 </head>
63 <body>              
64 <!-- TMPL_INCLUDE name="header.inc" -->
65 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
66 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <!-- TMPL_IF name="op_save" --><!-- TMPL_IF name="suggestionid" -->Suggestion edit #<!-- TMPL_VAR name="suggestionid" --><!--TMPL_ELSE-->New purchase suggestion<!-- /TMPL_IF --><!--TMPL_ELSE-->Suggestions<!-- /TMPL_IF --> </div>
67
68 <div id="doc3" class="yui-t2">
69 <div id="bd">
70     <div id="yui-main">
71     <div class="yui-b">
72 <!-- TMPL_IF name="op_save" -->
73     <form id="add_edit" action="suggestion.pl" method="post">
74     <!-- TMPL_IF name="suggestionid" -->
75         <h1>Edit purchase suggestion #<!-- TMPL_VAR name="suggestionid" --></h1>
76         <input type="hidden" name="suggestionid" value="<!-- TMPL_VAR name="suggestionid" -->"/>
77     <!--TMPL_ELSE-->  
78         <h1>Enter a new purchase suggestion</h1>
79     <!--/TMPL_IF-->    
80     <fieldset class="rows"> <legend>Bibliographic information</legend><ol>
81         <li><label for="title">Title:</label> <input type="text" id="title" name="title" size="50" maxlentgh="80" value="<!--TMPL_VAR Name="title"-->"/></li>
82         <li><label for="author">Author:</label> <input type="text" id="author" name="author" size="50" maxlength="80" value="<!--TMPL_VAR Name="author"-->"/></li>
83         <li><label for="copyrightdate">Copyright date:</label> <input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="<!--TMPL_VAR Name="copyrightdate"-->" /></li>
84         <li><label for="isbn">ISBN or ISSN or other standard number:</label> <input type="text" id="isbn" name="isbn" size="50" maxlength="80" value="<!--TMPL_VAR Name="isbn"-->"/></li>
85         <li><label for="publishercode">Publisher:</label ><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="<!--TMPL_VAR Name="publishercode"-->"/></li>
86         <li><label for="place">Publication Place:</label> <input type="text" id="place" name="place" size="50" maxlength="80" value="<!--TMPL_VAR Name="place"-->"/></li>
87         <li><label for="collectiontitle">Collection Title:</label> <input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" value="<!--TMPL_VAR Name="collectiontitle"-->"/></li>
88         <li><label for="itemtype">Document Type :</label>
89             <select name="itemtype" >
90             <!--TMPL_LOOP Name="itemtypeloop"-->
91                 <!--TMPL_IF Name="selected"--><option selected="selected" value="<!--TMPL_VAR Name="code" -->"><!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="code" -->"><!--/TMPL_IF-->
92                 <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->
93                 <!--TMPL_VAR Name="description" --></option>
94             <!--/TMPL_LOOP-->
95             </select>
96         </li>
97         <li><label for="note">Notes:</label><textarea name="note" id="note" rows="5" cols="40" value="<!--TMPL_VAR Name="note"-->"></textarea></li>
98         </ol>
99     </fieldset>
100     <fieldset class="rows"> <legend>Suggestion management</legend><ol>
101         <!--TMPL_IF Name="suggestionid"-->
102             <li><label for="status"> status :</label><select name="status"><option value="">No Status</option>
103                 <!-- TMPL_LOOP name="status_loop" -->
104                     <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF -->
105                 <!-- /TMPL_LOOP -->
106             </select>
107         <!--/TMPL_IF-->
108         <table>
109             <thead><th>&nbsp;</th><th>date</th><th>by</th></thead>
110             <tbody>
111             <tr>
112                 <td>Suggestion Creation </td>
113                 <td><input type="text" id="suggesteddate" name="suggesteddate" size="10" maxlentgh="10" value="<!--TMPL_VAR Name="suggesteddate"-->"/></td>
114                 <td><input type="hidden" id="suggestedby" name="suggestedby" value="<!--TMPL_VAR Name="suggestedby"-->"/><!-- TMPL_IF NAME="suggestedby_borrowernumber" --><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="suggestedby_borrowernumber" -->"><!--TMPL_VAR Name="suggestedby_surname"-->, <!-- TMPL_VAR NAME="suggestedby_firstname" --></a>  <!-- TMPL_VAR NAME="suggestedby_branchcode" --> (<!-- TMPL_VAR NAME="suggestedby_description" -->)<!-- /TMPL_IF -->
115                 </td>
116             </tr>
117             <tr>
118                 <td>Suggestion Management </td>
119                 <td><input type="text" id="managedon" name="manageddate" size="10" maxlength="10" value="<!--TMPL_VAR Name="manageddate"-->" /></td>
120                 <td><input type="hidden" id="managedby" name="managedby" value="<!--TMPL_VAR Name="managedby"-->"/><!-- TMPL_IF NAME="managedby_borrowernumber" --><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="managedby_borrowernumber" -->"><!--TMPL_VAR Name="managedby_surname"-->, <!-- TMPL_VAR NAME="managedby_firstname" --></a> <!-- TMPL_VAR NAME="managedby_branchcode" --> (<!-- TMPL_VAR NAME="managedby_description" -->)<!-- /TMPL_IF --></td>
121             </tr>
122             <tr>
123                 <td>Suggestion Accepted </td>
124                 <td><input type="text" id="accepteddate" name="accepteddate" size="10" maxlength="10" value="<!--TMPL_VAR Name="accepteddate"-->" /></td>
125                 <td><input type="hidden" id="acceptedby" name="acceptedby" value="<!--TMPL_VAR Name="acceptedby"-->"/><!-- TMPL_IF NAME="acceptedby_borrowernumber" --><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="acceptedby_borrowernumber" -->"><!--TMPL_VAR Name="acceptedby_surname"-->, <!-- TMPL_VAR NAME="acceptedby_firstname" --></a> <!-- TMPL_VAR NAME="acceptedby_branchcode" --> (<!-- TMPL_VAR NAME="acceptedby_description" -->)<!-- /TMPL_IF --></td>
126             </tr>
127             </tbody>
128         </table>
129     </fieldset>
130     <fieldset class="rows"> <legend>Acquisition information</legend><ol>
131         <li><label for="branchcode">Branch:</label> 
132             <select name="branchcode" id="branchcode">
133                 <option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
134                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
135             </select>
136         </li>
137         <li><label for="budgetid">Budget:</label>
138             <select name="budgetid" id="budgetid">
139                 <option value="">Any</option><!-- TMPL_LOOP name="budgetsloop" -->
140                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="budget_id" -->" selected="selected"><!-- TMPL_VAR name="budget_name" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="budget_id" -->"><!-- TMPL_VAR name="budget_name" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
141             </select>
142         </li>
143     </fieldset>
144     <fieldset class="action"><input type="hidden" name="op" value="<!--TMPL_VAR Name="op"-->" /><!--TMPL_IF Name="suggestionid"--><input type="submit" value="Save" /><a class="action" href="suggestion.pl?suggestionid=<!--TMPL_VAR Name="suggestionid"-->">Cancel</a><!--TMPL_ELSE--><input type="submit" value="Submit Your Suggestion" /><a class="action" href="add.pl">Cancel</a><!--/TMPL_IF-->
145     </fieldset>
146     </form>
147 <!-- /TMPL_IF -->
148
149 <!-- TMPL_IF name="op_else" -->
150     <div id="toolbar">
151     <ul class="toolbar">
152     <li> <a id="newsuggestion" href="suggestion.pl?op=add">New purchase suggestion</a></li>
153     </ul></div>
154 <!--Filter block-->
155     <form name="suggestionfilter" action="suggestion.pl" method="get">
156 <a onclick="javascript:if (document.getElementsByName('limits')[0].style.display=='none'){document.getElementsByName('limits')[0].style.display='block';} else {document.getElementsByName('limits')[0].style.display='none';}">Filters</a>
157                 <div style="display:none;" name="limits">
158                 <fieldset><legend> Bibliographic information : </legend>
159                     <label for="title"> Title :</label><input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
160                     <label for="author"> Author :</label><input type="text" name="author" value="<!-- TMPL_VAR name="author"-->" />
161                     <label for="isbn"> ISBN :</label><input type="text" name="isbn" value="<!-- TMPL_VAR name="isbn"-->" /><br/>
162                     <label for="publishercode"> Publisher :</label><input type="text" name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->" />
163                     <label for="publicationyear"> Publication year :</label><input type="text" name="publicationyear" value="<!-- TMPL_VAR name="publicationyear"-->" />
164                     <label for="collectiontitle"> Collection Title :</label><input type="text" name="collectiontitle" value="<!-- TMPL_VAR name="collectiontitle"-->" />
165                 </fieldset>
166                 <fieldset><legend> Suggestion information: </legend>
167                     <label for="status"> Status :</label><select name="status"><option value="">Any</option>
168 <!-- TMPL_LOOP name="status_loop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
169                                                           </select><br/>
170                     <label for="suggestedby"> Suggested By :</label><select name="suggestedby"><option value="">Any</option>
171 <!-- TMPL_LOOP name="suggestedby_loop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
172                                                                      </select>
173                     <label for="suggesteddate"> Suggested on :</label><!--TMPL_VAR Name="suggesteddate"--><br/>
174                     <label for="managedby"> Management user :</label><select name="suggestionmanagedby"><option value="">Any</option>
175 <!-- TMPL_LOOP name="suggestionmanagedby_loop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
176                                                                      </select>
177                     <label for="manageddate"> Management date :</label><!--TMPL_VAR Name="manageddate"--><br/>
178                     <label for="acceptedby"> Accepted by :</label><select name="suggestionacceptedby"><option value="">Any</option>
179 <!-- TMPL_LOOP name="suggestionacceptedby_loop" --><!-- TMPL_IF NAME="selected" --> <option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
180                                                       </select>
181                     <label for="accepteddate"> Accepted on:</label><!--TMPL_VAR Name="accepteddate"-->
182                 </fieldset>
183                 <fieldset ><legend> Acquistion information :</legend>
184                     <label for="bookfundid"> Book Fund :</label>
185                     <select name="bookfundid"><option value="">Any</option><!-- TMPL_LOOP name="bookfundsloop" -->
186                         <!-- TMPL_IF NAME="selected" --> <option value="<!-- TMPL_VAR name="bookfundid" -->" selected="selected"><!-- TMPL_VAR name="bookfundname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="bookfundid" -->"><!-- TMPL_VAR name="bookfundname" --></option><!-- /TMPL_IF -->
187                         <!-- /TMPL_LOOP -->
188                     </select>
189                     <label for="branchcode"> For :</label>
190                     <select name="branchcode" id="branchcode">
191                         <option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
192                             <!-- TMPL_IF NAME="selected" --> <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE --> <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF -->
193                             <!-- /TMPL_LOOP -->
194                     </select>
195                 </fieldset>
196                 </div>
197                 <label for="displayby">Organize By</label>
198                 <select name="displayby" id="displayby">
199                     <option value="">No tabs</option>
200                     <option value="STATUS">Status</option>
201                     <option value="branchcode">Library</option>
202                     <option value="itemtype">Item Type</option>
203                     <option value="sort1">Sort1</option>
204                     <option value="managedby">Managed by</option>
205                     <option value="acceptedby">Accepted by</option>
206                 </select><br/>
207                 <input type="submit" value="Search" />
208             </form>
209 <!--TMPL_UNLESS Name="notabs"-->        
210 <div id="sorting" class="overlay">Sorting...</div>
211 <div id="loadingtab" class="overlay">Loading tab...</div>
212 <div id="suggestiontabs" class="toptabs">
213 <ul class="ui-tabs-nav">
214 <!--TMPL_LOOP Name="suggestions"-->
215 <!--TMPL_IF Name="first"--><li class="ui-tabs-selected"><!--TMPL_ELSE--><li><!--/TMPL_IF--><a href="suggestion.pl#<!--TMPL_VAR Name="suggestiontype"-->"><!--TMPL_IF Name="suggestiontypelabel"--><!--TMPL_VAR Name="suggestiontypelabel"--><!--TMPL_ELSE-->No name<!--/TMPL_IF--> (<!--TMPL_VAR Name="suggestionscount"-->)</a></li>
216 <!--/TMPL_LOOP -->
217     </ul>
218     </div>
219 <!--/TMPL_UNLESS -->        
220
221 <!--TMPL_LOOP Name="suggestions"-->
222 <div id="<!--TMPL_VAR Name="suggestiontype"-->">
223 <form name="f<!--TMPL_VAR Name="suggestiontype"-->" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#<!--TMPL_VAR Name="suggestiontype"-->">
224
225 <!-- TMPL_IF NAME="suggestions_loop" -->
226     <table id="<!--TMPL_VAR Name="suggestiontype"-->t" >
227         <thead>
228             <th><input type="checkbox" id="CheckAll<!--TMPL_VAR Name="suggestiontype"-->" >Check <!--TMPL_IF Name="notabs"-->All <!--TMPL_ELSE-->tab <!--/TMPL_IF--></th>
229             <th>Suggestion</th>
230             <th>Suggested by /on</th>
231             <th>Managed by /on</th>
232             <th>For</th>
233             <th>Budget</th>
234             <th>Status</th>
235     </thead>
236         <tbody>
237             <!-- TMPL_LOOP NAME="suggestions_loop" -->
238             <!-- TMPL_IF name="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
239                 <td>
240                     <input type="checkbox" name="edit_field" value="<!--TMPL_VAR name="suggestionid" -->" />
241                 </td>
242                 <td>
243                     <a href="suggestion.pl?suggestionid=<!-- TMPL_VAR NAME="suggestionid" -->&op=edit" title="suggestion" >
244                         <!-- TMPL_VAR NAME="title" --><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
245                     </a>
246                     <br />
247                     <!-- TMPL_IF name="copyrightdate" -->&copy; <!-- TMPL_VAR name="copyrightdate" --> <!-- /TMPL_IF -->
248                         <!-- TMPL_IF name="volumedesc" -->; Volume:<i><!-- TMPL_VAR name="volumedesc" --></i> <!-- /TMPL_IF -->
249                         <!-- TMPL_IF name="isbn" -->; ISBN :<i><!-- TMPL_VAR name="isbn" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" -->; Published by <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> in <i><!-- TMPL_VAR name="publicationyear" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="place" --> in <i><!-- TMPL_VAR name="place" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="collectiontitle" -->;<!-- TMPL_VAR name="collectiontitle" --> <!-- /TMPL_IF --><!-- TMPL_IF name="itemtype" -->;<!-- TMPL_VAR name="itemtype" --> <!-- /TMPL_IF --><br /><!-- TMPL_IF name="note" --><!-- TMPL VAR NAME="note" --><!-- /TMPL_IF -->
250                 </td>
251                 <td>
252                     <!--TMPL_IF Name="emailsuggestedby"--><a href="mailto:<!-- TMPL_VAR name="emailsuggestedby" -->"><!--/TMPL_IF--><!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->, <!-- TMPL_VAR name="firstnamesuggestedby" --><!-- /TMPL_IF --> <!--TMPL_IF Name="emailsuggestedby"--></a><!--/TMPL_IF-->
253                     <!--TMPL_IF Name="suggesteddate"--><br/><!-- TMPL_VAR name="suggesteddate" --><!--/TMPL_IF-->
254                 </td>
255                 <td>
256                     <!--TMPL_IF Name="emailmanagedby"--><a href="mailto:<!-- TMPL_VAR name="emailmanagedby" -->"><!--/TMPL_IF--><!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->, <!-- TMPL_VAR name="firstnamemanagedby" --><!-- /TMPL_IF --> <!--TMPL_IF Name="emailmanagedby"--></a><!--/TMPL_IF-->
257                     <!--TMPL_IF Name="manageddate"--><br/><!-- TMPL_VAR name="manageddate" --><!--/TMPL_IF-->
258                 </td>
259                 <td>
260                     <!-- TMPL_VAR name="branchcode" -->
261                 </td>
262                 <td>
263                     <!-- TMPL_VAR name="aqbudgetid" -->
264                 </td>
265                 <td>
266                     <!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF --> <!-- TMPL_IF name="ACCEPTED" -->Accepted<!-- /TMPL_IF --> <!-- TMPL_IF name="ORDERED" -->Ordered<!-- /TMPL_IF --> <!-- TMPL_IF name="REJECTED" -->Rejected<!-- /TMPL_IF --> <!-- TMPL_IF name="CHECKED" -->Checked<!-- /TMPL_IF --> <!-- TMPL_IF name="reason" --><br />(<!-- TMPL_VAR name="reason" -->)<!-- /TMPL_IF -->
267                 </td>
268         </tr>
269         <!-- /TMPL_LOOP --></tbody>
270         </table>  <fieldset>
271     <div id="select-reason<!-- TMPL_VAR NAME="suggestiontype" -->">
272     <label for="reason<!-- TMPL_VAR NAME="suggestiontype" -->">Choose a reason for all marked entries:</label>                 <select id="reason<!-- TMPL_VAR NAME="suggestiontype" -->" name="reason<!-- TMPL_VAR NAME="suggestiontype" -->">
273                     <option value=""> -- Choose a reason -- </option>
274                         <!--TMPL_LOOP Name="reasonsloop"-->
275                         <option value="<!--TMPL_VAR Name="lib" -->"><!--TMPL_VAR Name="lib" --></option>
276                         <!--/TMPL_LOOP-->
277                     <option value="other">Others...</option>
278                     </select>  
279     </div>
280         <div id="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->">
281         <label for="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->">Enter a reason for all marked entries:</label>
282             <input type="text" size="31" id="select-other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" name="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" value="please note your reason here..." /> <a href="#back<!-- TMPL_VAR NAME="suggestiontype" -->">Cancel</a>
283         </div>
284         <div id="status<!-- TMPL_VAR NAME="suggestiontype" -->">
285         <input type="radio" name="STATUS" value="ACCEPTED">Accept
286         <input type="radio" name="STATUS" value="CHECKED">Check
287         <input type="radio" name="STATUS" value="REJECTED">Reject
288         </div>
289         <div id="action<!-- TMPL_VAR NAME="suggestiontype" -->">
290         <input type="checkbox" onclick="javascript:if (this.checked){document.f<!-- TMPL_VAR NAME="suggestiontype" -->.op.value='delete';}else{document.f<!-- TMPL_VAR NAME="suggestiontype" -->.op.value='change'}"/> Delete
291         </div>
292
293     <input type="hidden" name="tabcode" value="<!-- TMPL_VAR NAME="suggestiontype" -->"/>
294     <input type="hidden" name="op" value="change"/>
295 </fieldset>
296         <fieldset class="action">
297     <input type="submit" value="Submit" /></fieldset>
298 </form>
299 <!-- TMPL_ELSE -->
300     <b>No Results.</b>
301 <!-- /TMPL_IF -->
302 </div>
303 <!--/TMPL_LOOP-->
304     </div>
305     </div>
306
307 </div>
308 <!--TMPL_INCLUDE Name="intranet-bottom.inc"-->