From d72262dd99b3d583cc4158239c6f4aff7568de83 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Thu, 13 Apr 2017 13:01:51 +0200 Subject: [PATCH] add override employee --- override/classes/Employee.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 override/classes/Employee.php diff --git a/override/classes/Employee.php b/override/classes/Employee.php new file mode 100644 index 00000000..52c8a666 --- /dev/null +++ b/override/classes/Employee.php @@ -0,0 +1,15 @@ +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`'); + } + +} \ No newline at end of file