1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation › Billing</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- Additions to enable Calendar system -->
5 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-system.css" />
6 <!-- End of additions --><!-- Additions to enable Calendar system -->
7 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar.js"></script>
8 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-en.js"></script>
9 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-setup.js"></script>
10 <!-- End of additions -->
13 <!-- TMPL_INCLUDE NAME="header.inc" -->
14 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Billing</div>
19 <div id="doc" class="yui-t7">
26 <!-- TMPL_VAR NAME="todaysdate" --> <br/>From <!-- TMPL_VAR NAME="from" -->
27 to <!-- TMPL_VAR NAME="to" --></h1>
30 <form action="/cgi-bin/koha/circ/billing.pl" method="post" >
35 <input type="text" size="5" id="ratio" name="ratio" value="<!-- TMPL_VAR NAME="ratio" -->" />
39 <input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR NAME="from" -->" />
40 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFrom" style="cursor: pointer;" alt="" />
41 <script language="JavaScript" type="text/javascript">
42 function validate1(date) {
43 var day = date.getDate();
44 var month = date.getMonth() + 1;
45 var year = date.getFullYear();
46 var weekDay = date.getDay();
47 var dayMonth = month + '-' + day;
48 var dateString = year + '-' + month + '-' + day;
49 var dateTo = document.getElementById('to').value.split("-");
50 var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
51 if (date > limitDate) {
60 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
61 button : "openCalendarFrom",
62 disableFunc : validate1,
63 dateStatusFunc : validate1
70 <input size="10" id="to" name="to" value="<!-- TMPL_VAR NAME="to" -->" type="text" />
71 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="" id="openCalendarTo" style="cursor: pointer;" border="0" />
72 <script type="text/javascript">
73 function validate2(date) {
74 var day = date.getDate();
75 var month = date.getMonth() + 1;
76 var year = date.getFullYear();
77 var weekDay = date.getDay();
78 var dayMonth = month + '-' + day;
79 var dateString = year + '-' + month + '-' + day;
80 var dateFrom = document.getElementById('from').value.split("-");
81 var limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
82 if (limitDate > date) {
92 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
93 button : "openCalendarTo",
94 disableFunc : validate2,
95 dateStatusFunc : validate2
101 <input type="submit" value="Go" class="submit"/>
104 <p>The following patrons have bills.</p>
108 <div class="searchresults">
109 <!-- TMPL_IF NAME="billingloop" -->
113 <a href="/cgi-bin/koha/circ/billing.pl?order=patron&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
116 <a href="/cgi-bin/koha/circ/billing.pl?order=fee&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
119 <a href="/cgi-bin/koha/circ/billing.pl?order=desc&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
122 <a href="/cgi-bin/koha/circ/billing.pl?order=type&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
125 <a href="/cgi-bin/koha/circ/billing.pl?order=date&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
128 <a href="/cgi-bin/koha/circ/billing.pl?order=total&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
132 <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
134 <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
137 <!-- TMPL_LOOP NAME="billingloop" -->
139 <!-- TMPL_IF name="surname" -->
141 <p><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="patronname" --></a><br /><!-- TMPL_VAR NAME="phone" --><br />
142 <!-- TMPL_IF NAME="email" --><a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Account: <!-- TMPL_VAR NAME="title" -->">
143 <!-- TMPL_VAR NAME="email" --></a><!--/TMPL_IF-->
147 <p><!-- TMPL_VAR NAME="l_amountoutstanding" --></p>
150 <p><!-- TMPL_VAR NAME="l_description" --></p>
153 <p><!-- TMPL_VAR NAME="l_accounttype" --></p>
156 <p><!-- TMPL_VAR NAME="l_date" --></p>
159 <p><!-- TMPL_VAR NAME="sum_amount" --></p>
165 <b>No items found.</b>
172 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->