Merge branch 'ticket-13015-modifAdminSale' into develop
This commit is contained in:
commit
cf81f171ca
15
override/classes/Employee.php
Normal file
15
override/classes/Employee.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
class Employee extends EmployeeCore {
|
||||
|
||||
public static function getEmployeesByProfile($id_profiles=array())
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
return Db::getInstance()->ExecuteS('
|
||||
SELECT `id_employee`, CONCAT(`firstname`, \' \', `lastname`) AS "name"
|
||||
FROM `'._DB_PREFIX_.'employee`
|
||||
WHERE `active` = 1 AND id_profile IN ('.implode(',',$id_profiles).')
|
||||
ORDER BY `email`');
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user