diff options
author | ivan <ivan> | 2011-04-15 22:34:26 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-15 22:34:26 +0000 |
commit | f42a474e970ceddc647da8a4bd4f4bc0e5778e29 (patch) | |
tree | 09a3de80ba5430e3a885da0779323dd5ac597010 | |
parent | 572e6130709f51761fa0497d214fc94667525261 (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 4109e286c..fee88c995 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') || '$'; |