diff options
author | ivan <ivan> | 2011-04-15 22:34:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-15 22:34:24 +0000 |
commit | 3682c553fa1ba99465273250a10c8b9993d3ae81 (patch) | |
tree | 846940793a108b5b98ee0e84b5087b3e0286d14e | |
parent | 74624f65353a505fa5d1c812ed657a3e46308596 (diff) |
link new tax report to cust_credit_bill_pkg for credits, RT#12332
-rw-r--r-- | FS/FS/tax_rate.pm | 2 | ||||
-rwxr-xr-x | httemplate/search/report_newtax.cgi | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 05aae20ac..12cdc4ff3 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -1973,7 +1973,7 @@ sub generate_liability_report { $dateagentlink .= ';agentnum='. $args{agentnum} if length($agentname); my $baselink = $args{p}. "search/cust_bill_pkg.cgi?$dateagentlink"; - my $creditlink = $p. "search/cust_credit_bill_pkg.html?$dateagentlink"; + my $creditlink = $args{p}. "search/cust_credit_bill_pkg.html?$dateagentlink"; print $report <<EOF; diff --git a/httemplate/search/report_newtax.cgi b/httemplate/search/report_newtax.cgi index 4ec3f4da4..ade33c75b 100755 --- a/httemplate/search/report_newtax.cgi +++ b/httemplate/search/report_newtax.cgi @@ -64,6 +64,8 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); +#shit, all sorts of false laxiness w/tax_rate::geneate_liability_report + my $conf = new FS::Conf; my $money_char = $conf->config('money_char') || '$'; |