瀏覽代碼

[Administration] Distribution > édition commande : impossible modifier prix facturés #1309

feature/souke
Guillaume Bourgeois 1 年之前
父節點
當前提交
d477f261f5
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. +1
    -4
      backend/controllers/OrderController.php

+ 1
- 4
backend/controllers/OrderController.php 查看文件

@@ -957,10 +957,7 @@ class OrderController extends BackendController
$productOrder->quantity = $quantity;
$productOrder->price = $dataProductOrder->price;

if(isset($dataProductOrder->invoice_price)
&& $dataProductOrder->invoice_price
&& $dataProductOrder->invoice_price != $dataProductOrder->price) {

if(isset($dataProductOrder->invoice_price) && $dataProductOrder->invoice_price) {
$productOrder->invoice_price = $dataProductOrder->invoice_price;
}
} else {

Loading…
取消
儲存