projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74624f6
)
link new tax report to cust_credit_bill_pkg for credits, RT#12332
author
ivan
<ivan>
Fri, 15 Apr 2011 22:34:24 +0000
(22:34 +0000)
committer
ivan
<ivan>
Fri, 15 Apr 2011 22:34:24 +0000
(22:34 +0000)
FS/FS/tax_rate.pm
patch
|
blob
|
history
httemplate/search/report_newtax.cgi
patch
|
blob
|
history
diff --git
a/FS/FS/tax_rate.pm
b/FS/FS/tax_rate.pm
index
05aae20
..
12cdc4f
100644
(file)
--- 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";
$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;
print $report <<EOF;
diff --git
a/httemplate/search/report_newtax.cgi
b/httemplate/search/report_newtax.cgi
index
4ec3f4d
..
ade33c7
100755
(executable)
--- 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');
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') || '$';
my $conf = new FS::Conf;
my $money_char = $conf->config('money_char') || '$';