[+] BO : in order tab you have new information of new customer message
This commit is contained in:
1 parent
2de487e5cd
commit
36aacc8b8a
4 files changed
+35
-3
No files matched your search
@@ -653,6 +653,12 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
if (!$this->errors && $value)
|
||||
Configuration::updateValue('PS_SAV_IMAP_OPT', implode('', $value));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function ajaxProcessMarkAsRead()
|
||||
{
|
||||
$id_thread = Tools::getValue('id_thread');
|
||||
$messages = CustomerThread::getMessageCustomerThreads($id_thread);
|
||||
if (count($messages))
|
||||
Db::getInstance()->execute('UPDATE '._DB_PREFIX_.'customer_message set `read` = 1');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user