koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/reports inv... [rel_2_2]


From: Ryan Higgins
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/reports inv... [rel_2_2]
Date: Tue, 05 Jun 2007 15:21:33 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Ryan Higgins <rych>     07/06/05 15:21:33

Modified files:
        koha-tmpl/intranet-tmpl/npl/en/reports: inventory.tmpl 

Log message:
        fix barcode upload for npl tmpl, add lc sort option, and add js 
calendar widgets to inventory report

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/reports/inventory.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.3&r2=1.1.2.4

Patches:
Index: inventory.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/reports/Attic/inventory.tmpl,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- inventory.tmpl      22 May 2006 12:24:12 -0000      1.1.2.3
+++ inventory.tmpl      5 Jun 2007 15:21:33 -0000       1.1.2.4
@@ -1,4 +1,4 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Reports: Inventory<!-- 
TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Reports: Inventory<!-- 
TMPL_INCLUDE NAME="doc-head-close-calendar.inc" -->
 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
 
@@ -10,10 +10,21 @@
        <caption>Select items you want to check</caption>
        <tr><th><label for="minlocation">Item Location (items.itemcallnumber) 
between:</label></th><td><input type="text" name="minlocation" id="minlocation" 
value="<!-- TMPL_VAR NAME="minlocation" -->" /> 
                        <label for="maxlocation">...and...</label>
-                               <input type="text" name="maxlocation" 
id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" /></td></tr>
-       <tr><th><label for="datelastseen">Not seen since 
(yyyy-mm-dd):</label></th><td><input type="text" name="datelastseen" 
id="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" size="10" 
maxlength="10" /></td></tr>
-       <tr><th><label for="pagesize">Items per Page: </label></th><td><input 
type="text" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" 
maxlength="5" size="5" /></td></tr>
-       <tr><th><label for="offset">Beginning at Page: </label></th><td><input 
type="text" name="offset" id="offset" value="<!-- TMPL_VAR NAME="offset" -->" 
size="5" maxlength="5" /></td></tr>
+                               <input type="text" name="maxlocation" 
id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" /></td>
+                               <td><input type="checkbox" name="lcsort" 
/><label for="checkbox">LC sort</label></tr>
+       <tr><th><label for="datelastseen">Not seen since:</label></th>
+<td><input type="text" name="datelastseen" id="datelastseen" value="<!-- 
TMPL_VAR NAME="datelastseen" -->" size="10" maxlength="10" />
+<img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" 
id="button1" style="cursor: pointer;"  />
+ <script type="text/javascript">                                           
+        Calendar.setup({
+               inputField:"datelastseen",
+               ifFormat :"%Y-%m-%d",
+               button :"button1",
+                align : "Tl" 
+       });
+</script></td><td></td></tr>
+       <tr><th><label for="pagesize">Items per Page: </label></th><td><input 
type="text" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" 
maxlength="5" size="5" /></td><td></td></tr>
+       <tr><th><label for="offset">Beginning at Page: </label></th><td><input 
type="text" name="offset" id="offset" value="<!-- TMPL_VAR NAME="offset" -->" 
size="5" maxlength="5" /></td><td></td></tr>
        </table>
                <p>
                        <input type="submit" value="Generate Report" 
class="submit">
@@ -21,11 +32,24 @@
        </form>
        
        <div class="data">
-               <form action="/cgi-bin/koha/reports/inventory.pl"  
name="barcodefile" method="post">
+               <form action="/cgi-bin/koha/reports/inventory.pl"  
name="barcodefile" enctype="multipart/form-data" method="post">
 <table>
 <caption>Use a barcode file</caption>
 <tr><th><label for="uploadbarcodes">Barcode filename:</label> </th><td><input 
type="file" id="uploadbarcodes" name="uploadbarcodes" /></td></tr>
-       <tr><th><label for="setdate">Set datelastseen to:</label></th> 
<td><input type="text" id="setdate" name="setdate" /></td></tr></table>
+       <tr><th><label for="setdate">Set datelastseen to:</label></th> 
<td><input type="text" id="setdate" name="setdate" />
+<img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" 
id="button2" style="cursor: pointer;"  />
+ <script type="text/javascript">                                           
+     Calendar.setup({
+        inputField:"setdate",
+        ifFormat :"%Y-%m-%d",
+        button :"button2",
+         align : "Tl" 
+    });
+</script>
+</td></tr></table>
+<input type="hidden" name="maxlocation" value="<!-- TMPL_VAR 
NAME="maxlocation" -->" />
+<input type="hidden" name="minlocation" value="<!-- TMPL_VAR 
NAME="minlocation" -->" />
+<input type="hidden" name="datelastseen" value="<!-- TMPL_VAR 
NAME="datelastseen" -->" />
 <p><input type="submit" value="Submit" class="submit"></p>
                </form>
                <!--TMPL_IF Name="Number" --><p><!--TMPL_VAR Name="Number"--> 
items modified: datelastseen set to <!--TMPL_VAR Name="date"--></p><!-- 
/TMPL_IF-->
@@ -48,6 +72,7 @@
        <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" 
-->" />
        
        <table>
+         <caption>Items in range: <!-- TMPL_VAR NAME="numitems" --></caption>
                <tr>
                        <th>Seen</th>
                        <th>Barcode</th>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]