summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/cust_main_dayranges.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-03-06 15:04:14 -0800
committerMark Wells <mark@freeside.biz>2013-03-06 15:04:14 -0800
commit0704f3f641deb525399521368f1e6ba9ff5b71cd (patch)
treea300eb157ac9c34b6fdae154d02d42ce28131506 /httemplate/search/elements/cust_main_dayranges.html
parent5fe75497ce60689c128d93a3f1c9339e7c5e4e49 (diff)
customer location columns in more reports, #940
Diffstat (limited to 'httemplate/search/elements/cust_main_dayranges.html')
-rw-r--r--httemplate/search/elements/cust_main_dayranges.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/elements/cust_main_dayranges.html b/httemplate/search/elements/cust_main_dayranges.html
index eb7566494..c9c71f274 100644
--- a/httemplate/search/elements/cust_main_dayranges.html
+++ b/httemplate/search/elements/cust_main_dayranges.html
@@ -172,10 +172,11 @@ my $count_sql = "select count(*) from cust_main $where";
my $sql_query = {
'table' => 'cust_main',
+ 'addl_from' => FS::UI::Web::join_cust_main('cust_main'),
'hashref' => {},
'select' => join(',',
#'cust_main.*',
- 'custnum',
+ 'cust_main.custnum',
$range_cols,
$packages_cols,
FS::UI::Web::cust_sql_fields(),