log statistics, RT#39822
[freeside.git] / httemplate / search / report_tax.html
index 20aa07f..8d8d108 100755 (executable)
       taxclass  => 'Tax class',
       pkgclass  => 'Package class',
       city      => 'City',
+      district  => 'District',
     },
   &>
+  <TR>
+    <TD></TD>
+    <TD>Deduct credited tax if it was 
+      <SELECT NAME="credit_date">
+        <OPTION VALUE="cust_bill" SELECTED>invoiced in this period</OPTION>
+        <OPTION VALUE="cust_credit_bill">credited in this period</OPTION>
+      </SELECT>
+    </TD>
+  </TR>
+
 </TABLE>
 
 <BR><INPUT TYPE="submit" VALUE="Get Report">
@@ -64,5 +75,8 @@ if ( FS::pkg_class->count() > 0 ) {
 if ( FS::cust_main_county->count("city is not null and city != ''") > 0 ) {
   push @breakdown, 'city';
 }
+if ( FS::cust_main_county->count("district is not null") > 0 ) {
+  push @breakdown, 'district';
+}
 
 </%init>