summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-04-15 22:34:24 +0000
committerivan <ivan>2011-04-15 22:34:24 +0000
commit3682c553fa1ba99465273250a10c8b9993d3ae81 (patch)
tree846940793a108b5b98ee0e84b5087b3e0286d14e
parent74624f65353a505fa5d1c812ed657a3e46308596 (diff)
link new tax report to cust_credit_bill_pkg for credits, RT#12332
-rw-r--r--FS/FS/tax_rate.pm2
-rwxr-xr-xhttemplate/search/report_newtax.cgi2
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') || '$';