summaryrefslogtreecommitdiff
path: root/httemplate/view/bill_batch.cgi
diff options
context:
space:
mode:
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",