[-] BO: Fix #PSCFV-7734 multiple order delivery number for the same order

This commit is contained in:
Rémi Gaillard
2013-02-15 16:24:46 +01:00
parent 447ab05575
commit f6f1cb409a
+3
View File
@@ -1175,6 +1175,9 @@ class OrderCore extends ObjectModel
$order_invoice_collection = $this->getInvoicesCollection();
foreach ($order_invoice_collection as $order_invoice)
{
if ($order_invoice->delivery_number)
continue;
$number = (int)Configuration::get('PS_DELIVERY_NUMBER', null, null, $this->id_shop);
if (!$number)
{