summaryrefslogtreecommitdiff
path: root/httemplate/search/report_tax.cgi
blob: ac76fad6e7ad50c2add0f8cb6a34a41cda96cb97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!-- mason kludge -->
<%

my $user = getotaker;

$cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/;
my $beginning = $1;

$cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/;
my $ending = $1;

print header('Tax Report Results');

open (REPORT, "freeside-tax-report -v -s $beginning -f $ending $user |");

print '<PRE>';
while(<REPORT>) {
  print $_;
}
print '</PRE>';

print '</BODY></HTML>';

%>