summaryrefslogtreecommitdiff
path: root/LedgerSMB/AA.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/AA.pm')
-rwxr-xr-xLedgerSMB/AA.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm
index 266ce9eb..77c97b0a 100755
--- a/LedgerSMB/AA.pm
+++ b/LedgerSMB/AA.pm
@@ -694,8 +694,8 @@ sub transactions {
a.ponumber $acc_trans_flds
FROM $table a
JOIN $form->{vc} vc ON (a.$form->{vc}_id = vc.id)
- LEFT JOIN employee e ON (a.employee_id = e.id)
- LEFT JOIN employee m ON (e.managerid = m.id)
+ LEFT JOIN employees e ON (a.employee_id = e.id)
+ LEFT JOIN employees m ON (e.managerid = m.id)
LEFT JOIN exchangerate ex ON (ex.curr = a.curr
AND ex.transdate = a.transdate)
LEFT JOIN department d ON (a.department_id = d.id)
@@ -916,7 +916,7 @@ sub get_name {
e.name AS employee, e.id AS employee_id
FROM $form->{vc} c
LEFT JOIN business b ON (b.id = c.business_id)
- LEFT JOIN employee e ON (e.id = c.employee_id)
+ LEFT JOIN employees e ON (e.id = c.employee_id)
WHERE c.id = ?|;
@queryargs = ($form->{"$form->{vc}_id"});