[-] Project : #PSCFV-2633 #PSCFV-2622 - Fix problems with multishipping and order payment & invoice

This commit is contained in:
mDeflotte
2012-06-01 15:40:32 +00:00
parent 04e3030c29
commit c060909bd1
15 changed files with 376 additions and 54 deletions
+2 -1
View File
@@ -84,6 +84,7 @@ class PaymentCCCore extends OrderPayment
public static function getByOrderId($id_order)
{
Tools::displayAsDeprecated();
return OrderPayment::getByOrderId($id_order);
$order = new Order($id_order);
return OrderPayment::getByOrderReference($order->reference);
}
}