Merge branch 'ticket-13166-ReturnProcess_2'

This commit is contained in:
Marion Muszynski 2017-06-09 10:17:08 +02:00
commit 466960618f

View File

@ -1251,8 +1251,9 @@ class AdminAntReturnprocess extends AdminTab
$messages = Db::getInstance()->ExecuteS('
SELECT `message`, `date_add`
FROM `ps_message`
WHERE `id_order` =
AND `message` LIKE "%REFUNDTRANSACTIONID%"
WHERE `id_order` = '.$order->id.'
AND (`message` LIKE "%Refund operation%" || `message` LIKE "%Cancel products%")
ORDER BY `date_add` DESC
');
if($messages && !empty($messages)) {
foreach ($messages as $message) {