Przeglądaj źródła

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

feature/souke
Guillaume Bourgeois 1 rok temu
rodzic
commit
d477f261f5
1 zmienionych plików z 1 dodań i 4 usunięć
  1. +1
    -4
      backend/controllers/OrderController.php

+ 1
- 4
backend/controllers/OrderController.php Wyświetl plik

@@ -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 {

Ładowanie…
Anuluj
Zapisz