summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/CA.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/CA.pm b/LedgerSMB/CA.pm
index 61df47fd..8ce44f6a 100644
--- a/LedgerSMB/CA.pm
+++ b/LedgerSMB/CA.pm
@@ -370,7 +370,7 @@ sub all_transactions {
ac.source, a.till, ac.chart_id
FROM ar a
JOIN acc_trans ac ON (ac.trans_id = a.id)
- JOIN customer c ON (a.customer_id = c.id)
+ JOIN customer c USING (entity_id)
$dpt_join
WHERE ac.chart_id = ?
$fromdate_where