Merge branch 'ticket-15155-paypal-order-display'

This commit is contained in:
David 2018-01-16 18:22:07 +01:00
commit 010ec70298

View File

@ -320,7 +320,7 @@ class Order extends OrderCore
WHERE `id_order`='.(int)$order->id
);
$paypal_base_url = 'https://www.paypal.com/activity/payment/';
$returned_string .= '<p style="margin-bottom:0px;">ID TRANS. : '.
$returned_string .= '<p style="margin-bottom:0px;">ID : '.
$infos['id_transaction'].' (<a href="'.$paypal_base_url. $infos['id_transaction'].'" target="_blank"><span class="anticon anticon-link"></span></a>)'.
'</p>';
}elseif(strtolower($order->payment) === 'paybox'){
@ -329,7 +329,7 @@ class Order extends OrderCore
FROM `'._DB_PREFIX_.'paybox_transaction`
where `id_cart` ='.(int)$order->id_cart
);
$returned_string .= '<p style="margin-bottom:0px;">ID : '.
$returned_string .= '<p style="margin-bottom:0px;">ID TRANS. : '.
$infos['num_transaction'].' - '.$infos['paiement'].
'</p>';
}