diff options
author | Mark Wells <mark@freeside.biz> | 2013-03-19 11:41:28 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-03-19 11:41:28 -0700 |
commit | bc193b14d10f81548a659d52f68b58fa7599b646 (patch) | |
tree | 48dc0b9c4e39b5549cf8577154215df03f3eacca /httemplate/view | |
parent | 35b1ca7d644c773f4e0aebf6d8798c93f76a7cd8 (diff) |
invoice batch report, #940
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/bill_batch.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/bill_batch.cgi b/httemplate/view/bill_batch.cgi index 7d640395e..55ee4be1c 100644 --- a/httemplate/view/bill_batch.cgi +++ b/httemplate/view/bill_batch.cgi @@ -13,7 +13,7 @@ 'hashref' => { }, 'addl_from' => 'LEFT JOIN cust_bill USING ( invnum ) '. - 'LEFT JOIN cust_main USING ( custnum )', + FS::UI::Web::join_cust_main('cust_bill'), 'extra_sql' => " WHERE batchnum = $batchnum", }, 'count_query' => "SELECT COUNT(*) FROM cust_bill_batch WHERE batchnum = $batchnum", |