summaryrefslogtreecommitdiff
path: root/httemplate/view/bill_batch.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-03-19 11:41:28 -0700
committerMark Wells <mark@freeside.biz>2013-03-19 11:41:28 -0700
commitbc193b14d10f81548a659d52f68b58fa7599b646 (patch)
tree48dc0b9c4e39b5549cf8577154215df03f3eacca /httemplate/view/bill_batch.cgi
parent35b1ca7d644c773f4e0aebf6d8798c93f76a7cd8 (diff)
invoice batch report, #940
Diffstat (limited to 'httemplate/view/bill_batch.cgi')
-rw-r--r--httemplate/view/bill_batch.cgi2
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",