diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-08 19:18:07 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-08 19:18:07 +0000 |
commit | 91c7ac3db95a85457522e26eb70ffd1e75ec8c16 (patch) | |
tree | 172a5fc207f94213a75e30b6bbd7617deabdbfea /LedgerSMB/Form.pm | |
parent | 240c36fb8f941248bec8c754dbdf3d61b9e7f6ae (diff) |
Moved other .pm's from 'employee' to 'employees'
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@866 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Form.pm')
-rwxr-xr-x | LedgerSMB/Form.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 8f51c2ff..b8fc4540 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -547,7 +547,7 @@ sub get_my_emp_num { my $dbh = $form->{dbh}; # we got a connection, check the version my $query = qq| - SELECT employeenumber FROM employee + SELECT employeenumber FROM employees WHERE login = ?|; my $sth = $dbh->prepare($query); $sth->execute($form->{login}) || $form->dberror($query); @@ -1662,7 +1662,7 @@ sub get_employee { $login =~ s/@.*//; my $query = qq|SELECT name, id - FROM employee + FROM employees WHERE login = ?|; $sth = $self->{dbh}->prepare($query); @@ -2084,7 +2084,7 @@ sub create_links { c.language_code, a.ponumber FROM $arap a JOIN $vc c ON (a.${vc}_id = c.id) - LEFT JOIN employee e ON (e.id = a.employee_id) + LEFT JOIN employees e ON (e.id = a.employee_id) LEFT JOIN department d ON (d.id = a.department_id) WHERE a.id = ?|; |