koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/reports acquisit


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/reports acquisitions_stats.tmpl,NONE,1.4.2.1 borrowers_stats.tmpl,NONE,1.5.2.1 catalogue_stats.tmpl,NONE,1.6.2.1 issues_stats.tmpl,NONE,1.4.2.1 issues_by_borrower_category.tmpl,1.2,1.2.2.1 reports-home.tmpl,1.9,1.9.2.1
Date: Fri, 18 Mar 2005 01:50:10 -0800

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/reports
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2976/koha-tmpl/intranet-tmpl/default/en/reports

Modified Files:
      Tag: rel_2_2
        issues_by_borrower_category.tmpl reports-home.tmpl 
Added Files:
      Tag: rel_2_2
        acquisitions_stats.tmpl borrowers_stats.tmpl 
        catalogue_stats.tmpl issues_stats.tmpl 
Log Message:
The stats module (ported from head)

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="reportswcal-top.inc" -->
<div id="mainbloc" >

<!-- TMPL_IF NAME="do_it" -->
        <!-- TMPL_LOOP NAME="mainloop" -->
                <h1 class="reports">Koha : Acquisitions statistics </h1>
                <!-- TMPL_IF NAME="loopfilter"-->
                        <p>Filtered on</p>
                        <!-- TMPL_LOOP NAME="loopfilter" -->
                                        <p><!-- TMPL_IF NAME="err" --> <font 
color="red"> <b><!--/TMPL_IF --><label class="label100"> <!-- TMPL_VAR 
NAME="crit"--> =</label><!-- TMPL_VAR NAME="filter"--><!-- TMPL_IF NAME="err" 
--> </font> </b><!--/TMPL_IF --></p>
                        <!-- /TMPL_LOOP -->
                <!-- /TMPL_IF NAME="loopfilter"-->
                <br>
                <table border="1">
                        <tr >
                                <th class="reports"><!-- TMPL_VAR name="line" 
--> / <!-- TMPL_VAR name="column" --></th>
                                <!-- TMPL_LOOP NAME="loopcol" -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="coltitle" --></th>
                                <!-- /TMPL_LOOP -->
                                <th class="reports">TOTAL</th>
                        </tr>
                                <!-- TMPL_LOOP NAME="looprow" -->
                                        <tr>
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
                                                <!-- TMPL_VAR NAME="rowtitle" 
--></td>
                                                <!-- TMPL_LOOP NAME="loopcell" 
-->
                                                        <!-- TMPL_IF 
NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td 
class="number"><!-- /TMPL_IF -->
                                                                <!-- TMPL_IF 
Name="value" --><!-- TMPL_VAR NAME="value" -->
                                                                <!-- 
TMPL_ELSE--> &nbsp;
                                                                <!-- /TMPL_IF 
-->
                                                        </td>
                                                <!-- /TMPL_LOOP -->
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- 
/TMPL_IF -->
                                                        <!-- TMPL_VAR 
NAME="totalrow" -->
                                                </td>
                                        </tr>
                                <!-- /TMPL_LOOP NAME="looprow" -->
                                <tr >
                                        <th class="reports">TOTAL</th>
                                        <!-- TMPL_LOOP NAME="loopfooter" -->
                                                <th class="reports">
                                                        <!-- TMPL_VAR 
NAME="totalcol" -->
                                                </th>
                                        <!-- /TMPL_LOOP -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="total" --></th>
                                </tr>
                </table>
        <!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
        <h1 class = "reports">Koha : Acquisitions statistics </h1>
        <form method="post">
        <table>
                <thead>
                        <tr>
                        <th class="reports"><div 
class="label100">Title</div></th>
                        <th class="reports">Row</th>
                        <th class="reports">Column</th>
                        <th class="reports">Filter</th>
                        </tr>
                </thead>
                <tbody>
                        <tr class="hilighted">
                                <td>Placed On</td>
                                <td align="center"><input type="radio" 
name="Line" value="aqbasket.closedate"></td>
                                <td align="center"><input type="radio" 
name="Column" value="aqbasket.closedate"></td>
                                <td > From <input type="text" 
readonly="readonly" size="10" id="from" name="Filter" >
                                                        <img src="<!-- TMPL_VAR 
Name="themelang" -->/includes/calendar/cal.gif" border="0" hspace="0" 
vspace="0" id="openCalendarFrom" style="cursor: pointer;" valign="top">
                                                                <script 
language="JavaScript" type="text/javascript">
                                                                        
function validate1(date) {
                                                                                
var day = date.getDate();
                                                                                
var month = date.getMonth() + 1;
                                                                                
var year = date.getFullYear();
                                                                                
var weekDay = date.getDay();
                                                                                
var dayMonth = month + '-' + day;
                                                                                
var dateString = year + '-' + month + '-' + day;
                                                                                
var dateTo = document.getElementById('to').value.split("-");
                                                                                
var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
                                                                                
if (date > limitDate) {
                                                                                
        return true;
                                                                                
} else {
                                                                                
        return false;
                                                                                
}
                                                                        }
                                        
                                                                        
Calendar.setup(
                                                                                
{
                                                                                
        inputField : "from",
                                                                                
        ifFormat : "%Y-%m-%d",
                                                                                
        button : "openCalendarFrom",
                                                                                
        disableFunc : validate1,
                                                                                
        dateStatusFunc : validate1
                                                                                
}
                                                                        );
                                                                </script>
                                        To <input readonly="readonly" size="10" 
id="to" name="Filter" value="" type="text">
                                                <img src="<!-- TMPL_VAR 
Name="themelang" -->/includes/calendar/cal.gif" id="openCalendarTo" 
style="cursor: pointer;" valign="top" border="0" hspace="0" vspace="0">
                                                        <script 
type="text/javascript">
                                                                function 
validate2(date) {
                                                                        var day 
= date.getDate();
                                                                        var 
month = date.getMonth() + 1;
                                                                        var 
year = date.getFullYear();
                                                                        var 
weekDay = date.getDay();
                                                                        var 
dayMonth = month + '-' + day;
                                                                        var 
dateString = year + '-' + month + '-' + day;
                                                                        var 
dateFrom = document.getElementById('from').value.split("-");
                                                                        var 
limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
                                                                        if 
(limitDate > date) {
                                                                                
return true;
                                                                        } else {
                                                                                
return false;
                                                                        }
                                                                }
                
                                                                Calendar.setup(
                                                                        {
                                                                                
inputField : "to",
                                                                                
ifFormat : "%Y-%m-%d",
                                                                                
button : "openCalendarTo",
                                                                                
disableFunc : validate2,
                                                                                
dateStatusFunc : validate2
                                                                        }
                                                                );
                                                        </script>
                                </td>
                        </tr>
                        <tr class="hilighted"> 
                                <td>&nbsp;</td>
                                <td align="center" colspan="2">group by <select 
name="PlacedOnDisplay">
                                        <option value="">None</option>
                                        <option value ="1">Day of week</option>
                                        <option value ="2">Month</option>
                                        <option value ="3">Year</option>
                                        </select>
                                        
                                </td>
                                <td>&nbsp;</td>
                        </tr>
                        <tr>
                                <td>Received On</td>
                                <td align="center"><input type="radio" 
name="Line" value="aqorderdelivery.deliverydate"></td>
                                <td align="center"><input type="radio" 
name="Column" value="aqorderdelivery.deliverydate"></td>
                                <td > From <input type="text" 
readonly="readonly" size="10" id="fromRO" name="Filter" >
                                                        <img src="<!-- TMPL_VAR 
Name="themelang" -->/includes/calendar/cal.gif" border="0" hspace="0" 
vspace="0" id="openCalendarFromRO" style="cursor: pointer;" valign="top">
                                                                <script 
language="JavaScript" type="text/javascript">
                                                                        
function validate1(date) {
                                                                                
var day = date.getDate();
                                                                                
var month = date.getMonth() + 1;
                                                                                
var year = date.getFullYear();
                                                                                
var weekDay = date.getDay();
                                                                                
var dayMonth = month + '-' + day;
                                                                                
var dateString = year + '-' + month + '-' + day;
                                                                                
var dateTo = document.getElementById('toRO').value.split("-");
                                                                                
var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
                                                                                
if (date > limitDate) {
                                                                                
        return true;
                                                                                
} else {
                                                                                
        return false;
                                                                                
}
                                                                        }
                                        
                                                                        
Calendar.setup(
                                                                                
{
                                                                                
        inputField : "fromRO",
                                                                                
        ifFormat : "%Y-%m-%d",
                                                                                
        button : "openCalendarFromRO",
                                                                                
        disableFunc : validate1,
                                                                                
        dateStatusFunc : validate1
                                                                                
}
                                                                        );
                                                                </script>
                                        To <input type="text" 
readonly="readonly" size="10" id="toRO" name="Filter" value="" >
                                                <img src="<!-- TMPL_VAR 
Name="themelang" -->/includes/calendar/cal.gif" id="openCalendarToRO" 
style="cursor: pointer;" valign="top" border="0" hspace="0" vspace="0">
                                                        <script 
type="text/javascript">
                                                                function 
validate2(date) {
                                                                        var day 
= date.getDate();
                                                                        var 
month = date.getMonth() + 1;
                                                                        var 
year = date.getFullYear();
                                                                        var 
weekDay = date.getDay();
                                                                        var 
dayMonth = month + '-' + day;
                                                                        var 
dateString = year + '-' + month + '-' + day;
                                                                        var 
dateFrom = document.getElementById('fromRO').value.split("-");
                                                                        var 
limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
                                                                        if 
(limitDate > date) {
                                                                                
return true;
                                                                        } else {
                                                                                
return false;
                                                                        }
                                                                }
                
                                                                Calendar.setup(
                                                                        {
                                                                                
inputField : "toRO",
                                                                                
ifFormat : "%Y-%m-%d",
                                                                                
button : "openCalendarToRO",
                                                                                
disableFunc : validate2,
                                                                                
dateStatusFunc : validate2
                                                                        }
                                                                );
                                                        </script>
                                </td>
                        </tr>
                        <tr> 
                                <td>&nbsp;</td>
                                <td align="center" colspan="2">group by <select 
name="ReceivedOnDisplay">
                                        <option value="">None</option>
                                        <option value ="1">Day of week</option>
                                        <option value ="2">Month</option>
                                        <option value ="3">Year</option>
                                        </select>
                                        
                                </td>
                                <td>&nbsp;</td>
                        </tr>
                        <tr class="hilighted">
                                <td>Book Seller</td>
                                <td align="center"><input type="radio" 
name="Line" value="aqbooksellers.name"></td>
                                <td align="center"><input type="radio" 
name="Column" value="aqbooksellers.name"></td>
                                <td ><!-- TMPL_VAR NAME="CGIBookSeller" --></td>
                        </tr>
                        <tr>
                                <td>Budget</td>
                                <td align="center"><input type="radio" 
name="Line" value="aqorderbreakdown.bookfundid"></td>
                                <td align="center"><input type="radio" 
name="Column" value="aqorderbreakdown.bookfundid"></td>
                                <td ><!-- TMPL_VAR NAME="CGIBudget" --></td>
                        </tr>
                        <!-- TMPL_IF Name="hassort1" -->
                                <tr class="hilighted"> 
                                        <td>Sort1</td>
                                        <td align="center"><input type="radio" 
name="Line" value="aqorders.sort1"></td>
                                        <td align="center"><input type="radio" 
name="Column" value="aqorders.sort1"></td>
                                        <td><!-- TMPL_VAR NAME="CGISort1" --> 
</td>
                                </tr>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_IF Name="hassort2" -->
                                <!-- TMPL_IF Name="HglghtSort2"--><tr 
class="hilighted"> <!-- TMPL_ELSE --><tr><!--/TMPL_IF --> 
                                        <td>Sort2</td>
                                        <td align="center"><input type="radio" 
name="Line" value="aqorders.sort2"></td>
                                        <td align="center"><input type="radio" 
name="Column" value="aqorders.sort2"></td>
                                        <td><!-- TMPL_VAR NAME="CGISort2" --> 
</td>
                                </tr>
                        <!-- /TMPL_IF -->
                        <tr></tr>
                </tbody>
        </table>
        
        <div id="bloc25">
                <h3 class="reports"> Cell value </h3>
                        <input type="radio" name="Cellvalue" value="1" checked> 
Count items
                        <input type="radio" name="Cellvalue" value="2"> Amount
        </div>
        <div id="bloc25">
                <h3 class="reports"> Output </h3>
                <input type="radio" checked name="output" value="screen" > To 
screen into the browser
                <br>
                <input type="radio" name="output" value="file"> To file <input 
type="text" name="basename" value="Export"> into an application  
                <!-- TMPL_VAR NAME="CGIextChoice" -->
                <!-- TMPL_VAR NAME="CGIsepChoice" -->
        </p>
        </div>
        <p>
        <input TYPE="submit" value="OK" class="button reports">
        <input type="hidden" name="report_name" value="<!--TMPL_VAR 
NAME="report_name" -->">
        <input type="hidden" name="do_it" value="1">
        </form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="reports-top.inc" -->
<div id="mainbloc" >

<!-- TMPL_IF NAME="do_it" -->
        <!-- TMPL_LOOP NAME="mainloop" -->
                <h1 class="reports">Koha : Borrowers statistics </h1>
                <!-- TMPL_IF NAME="loopfilter"-->
                        <p>Filtered on</p>
                        <!-- TMPL_LOOP NAME="loopfilter" -->
                                        <p><label> <!-- TMPL_VAR NAME="crit"--> 
=</label><!-- TMPL_VAR NAME="filter"--></p>
                        <!-- /TMPL_LOOP -->
                <!-- /TMPL_IF NAME="loopfilter"-->
                <table border="1">
                        <tr >
                                <th class="reports"><!-- TMPL_VAR name="line" 
--> / <!-- TMPL_VAR name="column" --></th>
                                <!-- TMPL_LOOP NAME="loopcol" -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="coltitle" --></th>
                                <!-- /TMPL_LOOP -->
                                <th class="reports">TOTAL</th>
                        </tr>
                                <!-- TMPL_LOOP NAME="looprow" -->
                                        <tr>
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
                                                <!-- TMPL_VAR NAME="rowtitle" 
--></td>
                                                <!-- TMPL_LOOP NAME="loopcell" 
-->
                                                        <!-- TMPL_IF 
NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td 
class="number"><!-- /TMPL_IF -->
                                                                <!--TMPL_IF 
NAME="value" --><!-- TMPL_VAR NAME="value" -->
                                                                <!--TMPL_ELSE-->
                                                                        &nbsp;
                                                                <!--/TMPL_IF-->
                                                                </td>
                                                <!-- /TMPL_LOOP -->
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- 
/TMPL_IF -->
                                                        <!-- TMPL_VAR 
NAME="totalrow" -->
                                                </td>
                                        </tr>
                                <!-- /TMPL_LOOP NAME="looprow" -->
                                <tr >
                                        <th class="reports">TOTAL</th>
                                        <!-- TMPL_LOOP NAME="loopfooter" -->
                                                <th class="reports">
                                                        <!-- TMPL_VAR 
NAME="totalcol" -->
                                                </th>
                                        <!-- /TMPL_LOOP -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="total" --></th>
                                </tr>
                </table>
        <!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
        <h1 class = "reports">Borrowers statistics</h1>
        <form method="post">
        <table>
                <thead>
                        <tr>
                        <th class="reports">Title</th>
                        <th class="reports">Row</th>
                        <th class="reports">Column</th>
                        <th class="reports">Filter</th>
                        </tr>
                </thead>
                <tbody>
                        <tr class="hilighted">
                        <td>Borrower category</td>
                        <td align="center"><input type="radio" name="Line" 
value="categorycode"></td>
                        <td align="center"><input type="radio" name="Column" 
value="categorycode"></td>
                        <td ><!-- TMPL_VAR NAME="CGICatCode" --></td>
                        </tr>
                        <tr>
                        <td>Borrower status</td>
                        <td></td>
                        <td></td>
                        <td ><select name="status"><option value=""> 
</option><option value="debarred">debarred</option><option 
value="gonenoadress">gone no adress</option><option 
value="lost">lost</option></td>
                        </tr>
                        <tr class="hilighted">
                        <td>
                        Zip Code
                        </td>
                        <td align="center"><input type="radio" name="Line" 
value="zipcode"></td>
                        <td align="center"><input type="radio" name="Column" 
value="zipcode"></td>
                        <td><input type="text"  name="Filter"></td>
                        </tr>
                        <tr class="hilighted">
                        <td>&nbsp;</td>
                        <td align="center" colspan="2"><select name="digits">
                        <option value=""> </option>
                        <option value ="1">1</option>
                        <option value ="2">2</option>
                        <option value ="3">3</option>
                        <option value ="4">4</option>
                        <option value ="5">5</option>
                        <option value ="6">6</option>
                        <option value ="7">7</option>
                        <option value ="8">8</option>
                        <option value ="9">9</option>
                        <option value ="10">10</option>
                        </select>
                        digits 
                        </td>
                        <td>&nbsp;</td>
                        </tr>
                        <!-- TMPL_IF name="hassort1" -->
                                <tr>
                                <td>Sort1</td>
                                <td align="center"><input type="radio" 
name="Line" value="sort1"></td>
                                <td align="center"><input type="radio" 
name="Column" value="sort1"></td>
                                <td ><!-- TMPL_VAR NAME="CGISort1" --></td>
                                </tr>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_IF name="hassort2" -->
                                <tr class="hilighted" >
                                <td>Sort2</td>
                                <td align="center"><input type="radio" 
name="Line" value="sort2"></td>
                                <td align="center"><input type="radio" 
name="Column" value="sort2"></td>
                                <td><!-- TMPL_VAR NAME="CGISort2" --></td>
                                </tr>
                        <!-- /TMPL_IF -->
                </tbody>
        </table>
        
        <div id="bloc25">
                <h3 class="reports"> Output </h3>
                <input type="radio" checked name="output" value="screen" > To 
screen into the browser
                <br>
                <input type="radio" name="output" value="file"> To file <input 
type="text" name="basename" value="Export"> into an application  
                <!-- TMPL_VAR NAME="CGIextChoice" -->
                <!-- TMPL_VAR NAME="CGIsepChoice" -->
        </p>
        </div>
        <p>
        <input TYPE="submit" value="OK" class="button reports">
        <input type="hidden" name="report_name" value="<!--TMPL_VAR 
NAME="report_name" -->">
        <input type="hidden" name="do_it" value="1">
        </form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="reports-top.inc" -->
<div id="mainbloc" >

<!-- TMPL_IF NAME="do_it" -->
        <!-- TMPL_LOOP NAME="mainloop" -->
                <h1 class="reports">Koha : Catalogue statistics </h1>
                <!-- TMPL_IF NAME="loopfilter"-->
                        <p>Filtered on</p>
                        <!-- TMPL_LOOP NAME="loopfilter" -->
                                        <p><!-- TMPL_IF NAME="err" --> <font 
color="red"> <b><!--/TMPL_IF --><label class="label100"> <!-- TMPL_VAR 
NAME="crit"--> =</label><!-- TMPL_VAR NAME="filter"--><!-- TMPL_IF NAME="err" 
--> </font> </b><!--/TMPL_IF --></p>
                        <!-- /TMPL_LOOP -->
                <!-- /TMPL_IF NAME="loopfilter"-->
                <br>
                <table border="1">
                        <tr >
                                <th class="reports"><!-- TMPL_VAR name="line" 
--> / <!-- TMPL_VAR name="column" --></th>
                                <!-- TMPL_LOOP NAME="loopcol" -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="coltitle" --></th>
                                <!-- /TMPL_LOOP -->
                                <th class="reports">TOTAL</th>
                        </tr>
                                <!-- TMPL_LOOP NAME="looprow" -->
                                        <tr>
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
                                                <!-- TMPL_VAR NAME="rowtitle" 
--></td>
                                                <!-- TMPL_LOOP NAME="loopcell" 
-->
                                                        <!-- TMPL_IF 
NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td 
class="number"><!-- /TMPL_IF -->
                                                                <!--TMPL_IF 
NAME="value" --><!-- TMPL_VAR NAME="value" -->
                                                                
<!--TMPL_ELSE-->&nbsp;
                                                                <!--/TMPL_IF-->
                                                        </td>
                                                <!-- /TMPL_LOOP -->
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- 
/TMPL_IF -->
                                                        <!-- TMPL_VAR 
NAME="totalrow" -->
                                                </td>
                                        </tr>
                                <!-- /TMPL_LOOP NAME="looprow" -->
                                <tr >
                                        <th class="reports">TOTAL</th>
                                        <!-- TMPL_LOOP NAME="loopfooter" -->
                                                <th class="reports">
                                                        <!-- TMPL_VAR 
NAME="totalcol" -->
                                                </th>
                                        <!-- /TMPL_LOOP -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="total" --></th>
                                </tr>
                </table>
        <!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
        <h1 class = "reports">Koha : Catalogue statistics</h1>
        <form method="post">
        <table>
                <thead>
                        <tr>
                        <th class="reports"><div 
class="label100">Title</div></th>
                        <th class="reports">Row</th>
                        <th class="reports">Column</th>
                        <th class="reports">Filter</th>
                        </tr>
                </thead>
                <tbody>
                        <!-- TMPL_IF Name="hasdewey" -->
                                <tr class="hilighted">
                                        <td>Dewey Classification</td>
                                        <td align="center"><input type="radio" 
name="Line" value="dewey"></td>
                                        <td align="center"><input type="radio" 
name="Column" value="dewey"></td>
                                        <td > From <!-- TMPL_VAR 
NAME="CGIFromDeweyClass" --> To <!-- TMPL_VAR NAME="CGIToDeweyClass" --></td>
                                </tr>
                                <tr class="hilighted">
                                        <td>&nbsp;</td>
                                        <td align="center" colspan="2"><select 
name="deweydigits">
                                                <option value=""> </option>
                                                <option value ="1">1</option>
                                                <option value ="2">2</option>
                                                <option value ="3">3</option>
                                                <option value ="4">4</option>
                                                <option value ="5">5</option>
                                                </select>
                                                digits 
                                        </td>
                                        <td>&nbsp;</td>
                                </tr>
                                <!-- TMPL_ELSE -->
                                <tr><input type="hidden" name="Filter" > <input 
type="hidden" name="Filter" ></tr>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_IF Name="haslccn" -->
                                <!--TMPL_IF Name="hlghtlccn"--><tr 
class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                        <td>LoC Classification</td>
                                        <td align="center"><input type="radio" 
name="Line" value="lccn"></td>
                                        <td align="center"><input type="radio" 
name="Column" value="lccn"></td>
                                        <td > From <!-- TMPL_VAR 
NAME="CGIFromLoCClass" --> To <!-- TMPL_VAR NAME="CGIToLoCClass" --></td>
                                </tr>
                                <!--TMPL_IF Name="hlghtlccn"--><tr 
class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                        <td>&nbsp;</td>
                                        <td align="center" colspan="2"><select 
name="lccndigits">
                                                <option value=""> </option>
                                                <option value ="1">1</option>
                                                <option value ="2">2</option>
                                                <option value ="3">3</option>
                                                <option value ="4">4</option>
                                                <option value ="5">5</option>
                                                </select>
                                                characters
                                        </td>
                                        <td>&nbsp;</td>
                                </tr>
                                <!-- TMPL_ELSE -->
                                <tr><input type="hidden" name="Filter" > <input 
type="hidden" name="Filter" ></tr>
                        <!-- /TMPL_IF  -->
                        <!-- TMPL_IF Name="hascote" -->
                                <!--TMPL_IF Name="hlghtcote"--><tr 
class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                        <td>Callnumber</td>
                                        <td align="center"><input type="radio" 
name="Line" value="items.itemcallnumber"></td>
                                        <td align="center"><input type="radio" 
name="Column" value="items.itemcallnumber"></td>
                                        <td>From <!-- TMPL_VAR 
NAME="CGIFromCoteClass" --> To <!-- TMPL_VAR NAME="CGIToCoteClass" --></td>
                                </tr>
                                <!--TMPL_IF Name="hlghtcote"--><tr 
class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                        <td>&nbsp;</td>
                                        <td align="center" colspan="2"><select 
name="cotedigits">
                                                <option value=""> </option>
                                                <option value ="1">1</option>
                                                <option value ="2">2</option>
                                                <option value ="3">3</option>
                                                <option value ="4">4</option>
                                                <option value ="5">5</option>
                                                </select>
                                                characters 
                                        </td>
                                        <td>&nbsp;</td>
                                </tr>
                                <!-- TMPL_ELSE -->
                                <tr><input type="hidden" name="Filter" > <input 
type="hidden" name="Filter" ></tr>
                        <!-- /TMPL_IF -->
                        <!--TMPL_IF Name="hglghtDT"--><tr class="hilighted"> 
<!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                <td>Document Type</td>
                                <td align="center"><input type="radio" 
name="Line" value="itemtype"></td>
                                <td align="center"><input type="radio" 
name="Column" value="itemtype"></td>
                                <td ><!-- TMPL_VAR NAME="CGIItemType" --></td>
                        </tr>
                        <!--TMPL_IF Name="hglghtPub"--><tr class="hilighted"> 
<!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                <td>Publisher</td>
                                <td align="center"><input type="radio" 
name="Line" value="publishercode"></td>
                                <td align="center"><input type="radio" 
name="Column" value="publishercode"></td>
                                <td><!-- TMPL_VAR NAME="CGIPublisher" --></td>
                        </tr>
                        <!--TMPL_IF Name="hglghtPY"--><tr class="hilighted"> 
<!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                <td>Publication Year</td>
                                <td align="center"><input type="radio" 
name="Line" value="publicationyear"></td>
                                <td align="center"><input type="radio" 
name="Column" value="publicationyear"></td>
                                <td>From <input type="text" name="Filter" > To 
<input type="text" name="Filter" ></td>
                        </tr>
                        <!--TMPL_IF Name="hglghtHB"--><tr class="hilighted"> 
<!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                <td>Home Branch</td>
                                <td align="center"><input type="radio" 
name="Line" value="items.homebranch"></td>
                                <td align="center"><input type="radio" 
name="Column" value="items.homebranch"></td>
                                <td><!-- TMPL_VAR NAME="CGIBranch" --></td>
                        </tr>
                        <!--TMPL_IF Name="hglghtLOC"--><tr class="hilighted"> 
<!--TMPL_ELSE --><tr><!--/TMPL_IF-->
                                <td>Location</td>
                                <td align="center"><input type="radio" 
name="Line" value="items.location"></td>
                                <td align="center"><input type="radio" 
name="Column" value="items.location"></td>
                                <td><!-- TMPL_VAR NAME="CGILocation" --> </td>
                        </tr>
                </tbody>
        </table>
        
        <div id="bloc25">
                <h3 class="reports"> Output </h3>
                <input type="radio" checked name="output" value="screen" > To 
screen into the browser
                <br>
                <input type="radio" name="output" value="file"> To file <input 
type="text" name="basename" value="Export"> into an application  
                <!-- TMPL_VAR NAME="CGIextChoice" -->
                <!-- TMPL_VAR NAME="CGIsepChoice" -->
        </p>
        </div>
        <p>
        <input TYPE="submit" value="OK" class="button reports">
        <input type="hidden" name="report_name" value="<!--TMPL_VAR 
NAME="report_name" -->">
        <input type="hidden" name="do_it" value="1">
        </form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="reportswcal-top.inc" -->
<div id="mainbloc" >

<!-- TMPL_IF NAME="do_it" -->
        <!-- TMPL_LOOP NAME="mainloop" -->
                <h1 class="reports">Koha : Issues statistics </h1>
                <!-- TMPL_IF NAME="loopfilter"-->
                        <p>Filtered on</p>
                        <!-- TMPL_LOOP NAME="loopfilter" -->
                                        <p><!-- TMPL_IF NAME="err" --> <font 
color="red"> <b><!--/TMPL_IF --><label class="label100"> <!-- TMPL_VAR 
NAME="crit"--> =</label><!-- TMPL_VAR NAME="filter"--><!-- TMPL_IF NAME="err" 
--> </font> </b><!--/TMPL_IF --></p>
                        <!-- /TMPL_LOOP -->
                <!-- /TMPL_IF NAME="loopfilter"-->
                <br>
                <table border="1"> 
                        <tr >
                                <th class="reports"><!-- TMPL_VAR name="line" 
--> / <!-- TMPL_VAR name="column" --></th>
                                <!-- TMPL_LOOP NAME="loopcol" -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="coltitle" --></th>
                                <!-- /TMPL_LOOP -->
                                <th class="reports">TOTAL</th>
                        </tr>
                                <!-- TMPL_LOOP NAME="looprow" -->
                                        <tr>
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
                                                <!-- TMPL_VAR NAME="rowtitle" 
--></td>
                                                <!-- TMPL_LOOP NAME="loopcell" 
-->
                                                        <!-- TMPL_IF 
NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td 
class="number"><!-- /TMPL_IF -->
                                                                <!-- TMPL_IF 
NAME="value" --><!-- TMPL_VAR NAME="value" -->
                                                                <!-- TMPL_ELSE 
--> &nbsp;
                                                                <!-- /TMPL_IF 
-->
                                                        </td>
                                                <!-- /TMPL_LOOP -->
                                                <!-- TMPL_IF NAME="hilighted" 
--><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- 
/TMPL_IF -->
                                                        <!-- TMPL_VAR 
NAME="totalrow" -->
                                                </td>
                                        </tr>
                                <!-- /TMPL_LOOP NAME="looprow" -->
                                <tr >
                                        <th class="reports">TOTAL</th>
                                        <!-- TMPL_LOOP NAME="loopfooter" -->
                                                <th class="reports">
                                                        <!-- TMPL_VAR 
NAME="totalcol" -->
                                                </th>
                                        <!-- /TMPL_LOOP -->
                                        <th class="reports"><!-- TMPL_VAR 
NAME="total" --></th>
                                </tr>
                </table>
        <!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
        <h1 class = "reports">Koha : Issues statistics </h1>
        <form method="post">
        <table>
                <thead>
                        <tr>
                        <th class="reports"><div 
class="label100">Title</div></th>
                        <th class="reports">Row</th>
                        <th class="reports">Column</th>
                        <th class="reports">Filter</th>
                        </tr>
                </thead>
                <tbody>
                        <tr class="hilighted">
                                <td>Period</td>
                                <td align="center"><input type="radio" 
name="Line" value="datetime"></td>
                                <td align="center"><input type="radio" 
name="Column" value="datetime"></td>
                                <td > From <input type="text" 
readonly="readonly" size="10" id="from" name="Filter" >
                                                        <img src="<!-- TMPL_VAR 
Name="themelang" -->/includes/calendar/cal.gif" border="0" hspace="0" 
vspace="0" id="openCalendarFrom" style="cursor: pointer;" valign="top">
                                                                <script 
language="JavaScript" type="text/javascript">
                                                                        
function validate1(date) {
                                                                                
var day = date.getDate();
                                                                                
var month = date.getMonth() + 1;
                                                                                
var year = date.getFullYear();
                                                                                
var weekDay = date.getDay();
                                                                                
var dayMonth = month + '-' + day;
                                                                                
var dateString = year + '-' + month + '-' + day;
                                                                                
var dateTo = document.getElementById('to').value.split("-");
                                                                                
var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
                                                                                
if (date > limitDate) {
                                                                                
        return true;
                                                                                
} else {
                                                                                
        return false;
                                                                                
}
                                                                        }
                                        
                                                                        
Calendar.setup(
                                                                                
{
                                                                                
        inputField : "from",
                                                                                
        ifFormat : "%Y-%m-%d",
                                                                                
        button : "openCalendarFrom",
                                                                                
        disableFunc : validate1,
                                                                                
        dateStatusFunc : validate1
                                                                                
}
                                                                        );
                                                                </script>
                                        To <input readonly="readonly" size="10" 
id="to" name="Filter" value="" type="text">
                                                <img src="<!-- TMPL_VAR 
Name="themelang" -->/includes/calendar/cal.gif" id="openCalendarTo" 
style="cursor: pointer;" valign="top" border="0" hspace="0" vspace="0">
                                                        <script 
type="text/javascript">
                                                                function 
validate2(date) {
                                                                        var day 
= date.getDate();
                                                                        var 
month = date.getMonth() + 1;
                                                                        var 
year = date.getFullYear();
                                                                        var 
weekDay = date.getDay();
                                                                        var 
dayMonth = month + '-' + day;
                                                                        var 
dateString = year + '-' + month + '-' + day;
                                                                        var 
dateFrom = document.getElementById('from').value.split("-");
                                                                        var 
limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
                                                                        if 
(limitDate > date) {
                                                                                
return true;
                                                                        } else {
                                                                                
return false;
                                                                        }
                                                                }
                
                                                                Calendar.setup(
                                                                        {
                                                                                
inputField : "to",
                                                                                
ifFormat : "%Y-%m-%d",
                                                                                
button : "openCalendarTo",
                                                                                
disableFunc : validate2,
                                                                                
dateStatusFunc : validate2
                                                                        }
                                                                );
                                                        </script>
                                </td>
                        </tr>
                        <tr class="hilighted"> 
                                <td>Type :<select name="PeriodTypeSel">
                                        <option value ="issue">Issue</option>
                                        <option value ="return">Return</option>
                                        </select></td>
                                <td align="center" colspan="2">group by <select 
name="DisplayBy">
                                        <option value="">None</option>
                                        <option value ="1">Day of week</option>
                                        <option value ="2">Month</option>
                                        <option value ="3">Year</option>
                                        </select>
                                        
                                </td>
                                <td>
                                        Select Day : <select 
name="PeriodDaySel">
                                        <option value =""></option>
                                        <option value ="Monday">Monday</option>
                                        <option value 
="Tuesday">Tuesday</option>
                                        <option value 
="Wednesday">Wednesday</option>
                                        <option value 
="Thursday">Thursday</option>
                                        <option value ="Friday">Friday</option>
                                        <option value 
="Saturday">Saturday</option>
                                        <option value ="Sunday">Sunday</option>
                                        </select>
                                        Select Month : <select 
name="PeriodMonthSel">
                                        <option value =""></option>
                                        <option value 
="January">January</option>
                                        <option value 
="February">February</option>
                                        <option value ="March">March</option>
                                        <option value ="April">April</option>
                                        <option value ="May">May</option>
                                        <option value ="June">June</option>
                                        <option value ="July">July</option>
                                        <option value ="August">August</option>
                                        <option value 
="September">September</option>
                                        <option value 
="October">October</option>
                                        <option value 
="November">November</option>
                                        <option value 
="December">December</option>
                                        </select>
                                </td>
                        </tr>
                        <tr >
                                <td>Borrower Category</td>
                                <td align="center"><input type="radio" 
name="Line" value="borrowers.categorycode"></td>
                                <td align="center"><input type="radio" 
name="Column" value="borrowers.categorycode"></td>
                                <td><!-- TMPL_VAR NAME="CGIBorCat" --></td>
                        </tr>
                        <tr class="hilighted">
                                <td>Document Type</td>
                                <td align="center"><input type="radio" 
name="Line" value="itemtype"></td>
                                <td align="center"><input type="radio" 
name="Column" value="itemtype"></td>
                                <td ><!-- TMPL_VAR NAME="CGIItemType" --></td>
                        </tr>
                        <tr>
                                <td>Branch</td>
                                <td align="center"><input type="radio" 
name="Line" value="branch"></td>
                                <td align="center"><input type="radio" 
name="Column" value="branch"></td>
                                <td><!-- TMPL_VAR NAME="CGIBranch" --></td>
                        </tr>
                        <!-- TMPL_IF Name="hassort1" -->
                                <tr class="hilighted"> 
                                        <td>Sort1</td>
                                        <td align="center"><input type="radio" 
name="Line" value="borrowers.sort1"></td>
                                        <td align="center"><input type="radio" 
name="Column" value="borrowers.sort1"></td>
                                        <td><!-- TMPL_VAR NAME="CGISort1" --> 
</td>
                                </tr>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_IF Name="hassort2" -->
                                <!-- TMPL_IF Name="HglghtSort2"--><tr 
class="hilighted"> <!-- TMPL_ELSE --><tr><!--/TMPL_IF --> 
                                        <td>Sort2</td>
                                        <td align="center"><input type="radio" 
name="Line" value="borrowers.sort2"></td>
                                        <td align="center"><input type="radio" 
name="Column" value="borrowers.sort2"></td>
                                        <td><!-- TMPL_VAR NAME="CGISort2" --> 
</td>
                                </tr>
                        <!-- /TMPL_IF -->
                        <tr></tr>
                </tbody>
        </table>
        
        <div id="bloc25">
                <h3 class="reports"> Cell value </h3>
                        <p><input type="radio" name="Cellvalue" value="1" 
checked> Count issues </p>
                        <p><input type="radio" name="Cellvalue" value="3"> 
Circulation rate </p>
        </div>
        <div id="bloc25">
                <h3 class="reports"> Output </h3>
                <input type="radio" checked name="output" value="screen" > To 
screen into the browser
                <br>
                <input type="radio" name="output" value="file"> To file <input 
type="text" name="basename" value="Export"> into an application  
                <!-- TMPL_VAR NAME="CGIextChoice" -->
                <!-- TMPL_VAR NAME="CGIsepChoice" -->
        </p>
        </div>
        <p>
        <input TYPE="submit" value="OK" class="button reports">
        <input type="hidden" name="report_name" value="<!--TMPL_VAR 
NAME="report_name" -->">
        <input type="hidden" name="do_it" value="1">
        </form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->

Index: issues_by_borrower_category.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/reports/issues_by_borrower_category.tmpl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** issues_by_borrower_category.tmpl    19 Jul 2004 20:55:55 -0000      1.2
--- issues_by_borrower_category.tmpl    18 Mar 2005 09:50:08 -0000      1.2.2.1
***************
*** 1,7 ****
  <!-- TMPL_INCLUDE NAME="reports-top.inc" -->
! <div id="mainbloc">
  <!-- TMPL_IF NAME="do_it" -->
  <!-- TMPL_LOOP NAME="mainloop" -->
!       <h1>Koha : Issues by borrower category <!--TMPL_IF 
NAME="borrower_category" --> for category = <!-- TMPL_VAR 
NAME="borrower_category" --><!-- /TMPL_IF --></h1>
        <table>
                <tr>
--- 1,7 ----
  <!-- TMPL_INCLUDE NAME="reports-top.inc" -->
! <div id="mainbloc" >
  <!-- TMPL_IF NAME="do_it" -->
  <!-- TMPL_LOOP NAME="mainloop" -->
!       <h1 class="reports">Koha : Issues by borrower category <!--TMPL_IF 
NAME="borrower_category" --> for category = <!-- TMPL_VAR 
NAME="borrower_category" --><!-- /TMPL_IF --></h1>
        <table>
                <tr>
***************
*** 33,46 ****
                                        </th>
                                <!-- /TMPL_LOOP -->
!                               <th>&nbsp;</th>
                        </tr>
        </table>
  <!-- /TMPL_LOOP -->
  <!-- TMPL_ELSE -->
!       <h1>Issues by borrower category</h1>
        <form method="post">
                <p>Select a borrower category (or don't if you want to see 
global status) <input type="text" name="value"></p>
                <p>Select a branch : <!-- TMPL_VAR NAME="CGIbranch" --></p>
!               <input type="submit" value="OK" class="button">
                <input type="hidden" name="report_name" value="<!--TMPL_VAR 
NAME="report_name" -->">
                <input type="hidden" name="do_it" value="1">
--- 33,46 ----
                                        </th>
                                <!-- /TMPL_LOOP -->
!                               <th><!-- TMPL_VAR NAME="grantotal" --></th>
                        </tr>
        </table>
  <!-- /TMPL_LOOP -->
  <!-- TMPL_ELSE -->
!       <h1 class = "reports">Issues by borrower category</h1>
        <form method="post">
                <p>Select a borrower category (or don't if you want to see 
global status) <input type="text" name="value"></p>
                <p>Select a branch : <!-- TMPL_VAR NAME="CGIbranch" --></p>
!               <input type="submit" value="OK" class="button reports">
                <input type="hidden" name="report_name" value="<!--TMPL_VAR 
NAME="report_name" -->">
                <input type="hidden" name="do_it" value="1">

Index: reports-home.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/reports/reports-home.tmpl,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** reports-home.tmpl   19 Jul 2004 20:55:55 -0000      1.9
--- reports-home.tmpl   18 Mar 2005 09:50:08 -0000      1.9.2.1
***************
*** 2,15 ****
  <!-- ------------------------MAIN BODY OF PAGE------------------------ -->
  <div id="mainbloc">
! <h1>Reports</h1>
! <ul>
!       <li><a href="/cgi-bin/koha/stats.pl?time=yesterday">Till 
Reconciliation:</a> Daily Report (yesterday)</li>
!       <li><a href="/cgi-bin/koha/stats.pl?time=today">Till 
Reconciliation:</a> Daily Report (today)</li>
!       <li><a href="/cgi-bin/koha/overdue.pl">Overdue items</a></li>
!       <li><a 
href="/cgi-bin/koha/reports/inventory.pl">Inventory/Stocktaking</a></li>
!       <li><a 
href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalogue by 
itemtype</a></li>
!       <li><a 
href="/cgi-bin/koha/reports/manager.pl?report_name=issues_by_borrower_category">Issues
 by borrower category</a></li>
!       
! </ul>
  </div>
  <!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->
--- 2,35 ----
  <!-- ------------------------MAIN BODY OF PAGE------------------------ -->
  <div id="mainbloc">
! <h1 class="reports">Reports</h1>
! <div id="bloc25">
!       <h2 class="reports">Stat wizard on </h2>
!       <p><a 
href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></p>
!       <p><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Borrowers</a></p>
!       <p><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalogue</a></p>
!       <p><a href="/cgi-bin/koha/reports/issues_stats.pl">Issues</a></p>
! </div>
! <div id="bloc25">
!       <h2 class="reports">Other stats</h2>
!       <p>on catalogue</p>
!       <ul>
!               <li><a 
href="/cgi-bin/koha/reports/inventory.pl">Inventory/Stocktaking</a></li>
!               <li><a 
href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalogue by 
itemtype</a></li>
!       </ul>
!       <p>on issues</p>
!       <ul>
!               <li><a href="/cgi-bin/koha/stats.pl?time=yesterday">Till 
Reconciliation:</a> Daily Report (yesterday)</li>
!               <li><a href="/cgi-bin/koha/stats.pl?time=today">Till 
Reconciliation:</a> Daily Report (today)</li>
!               <li><a href="/cgi-bin/koha/overdue.pl">Overdue items</a></li>
!               <li><a 
href="/cgi-bin/koha/reports/manager.pl?report_name=issues_by_borrower_category">Issues
 by borrower category</a></li>
!       </ul>
! </div>
! <div id="bloc25">
!       <h2 class="reports">data exports</h2>
!               <li>Borrowers</li>
!               <li>Circulation</li>
!               <li>Acquisitions</li>
!               <li>Issues</li>
! </div>
  </div>
  <!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->




reply via email to

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