Browse Source

Merge branch 'dev'

master
Guillaume 4 years ago
parent
commit
55df6ea924
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/models/Distribution.php

+ 1
- 1
common/models/Distribution.php View File

@@ -329,7 +329,7 @@ class Distribution extends ActiveRecordCommon
if($ordersArray) {
foreach($ordersArray as $order) {
foreach($order->productOrder as $productOrder) {
if($order->productOrder->id_product == $product->id) {
if($productOrder->id_product == $product->id) {
$productOrder->price = $product->price ;
$productOrder->save() ;
}

Loading…
Cancel
Save