diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-02-11 05:39:44 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-02-11 05:39:44 -0800 |
| commit | 29fb80073eb21f453515618f01d2c0d03a3004ec (patch) | |
| tree | 24aad887b1f998a9b916b5eec55f5dc57a453bea /httemplate | |
| parent | 33a67a59980166adf689f2f5327c7147e2cdf0bf (diff) | |
fix advanced package report, RT#40292, fallout from RT#20173
Diffstat (limited to 'httemplate')
| -rwxr-xr-x | httemplate/search/cust_main.cgi | 1 | ||||
| -rwxr-xr-x | httemplate/search/cust_pkg.cgi | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index 2e81a4a8c..11cd3a37a 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -518,6 +518,7 @@ my $addl_from = qq{ AND recur_option.optionname = 'recur_fee' ) }; +local($FS::cust_pkg::cache_enabled) = 1; #for $cust_pkg->part_pkg my %all_pkgs = map { $_->custnum => [ $_->$pkgs_method({ select => $select, addl_from => $addl_from, diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index f1e686a83..dbd346dba 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -44,7 +44,7 @@ }, sub { my $c = shift; sprintf( $money_char.'%.2f', - $c->part_pkg->base_recur($c) + $c->base_recur ); }, sub { FS::part_pkg::freq_pretty(shift); }, |
