Merge branch 'develop' into text-changes

This commit is contained in:
abhishek-webkul
2022-12-01 11:41:52 +05:30
committed by GitHub
2902 changed files with 5524 additions and 106667 deletions

View File

@@ -95,7 +95,7 @@ class AdminLogsControllerCore extends AdminController
)
);
$this->list_no_link = true;
$this->_select .= 'CONCAT(LEFT(e.firstname, 1), \'. \', e.lastname) employee';
$this->_select .= 'CONCAT(e.firstname, \' \', e.lastname) employee';
$this->_join .= ' LEFT JOIN '._DB_PREFIX_.'employee e ON (a.id_employee = e.id_employee)';
$this->_use_found_rows = false;
parent::__construct();
@@ -124,8 +124,8 @@ class AdminLogsControllerCore extends AdminController
$template = $this->context->smarty->createTemplate('controllers/logs/employee_field.tpl', $this->context->smarty);
$employee = new Employee((int)$tr['id_employee']);
$template->assign(array(
'employee_image' => $employee->getImage(),
'employee_name' => $value
'employee_name' => $value,
'employee_email' => $employee->email,
));
return $template->fetch();
}