Explorar el Código

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

feature/souke
Guillaume Bourgeois hace 1 año
padre
commit
d477f261f5
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. +1
    -4
      backend/controllers/OrderController.php

+ 1
- 4
backend/controllers/OrderController.php Ver fichero

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

Cargando…
Cancelar
Guardar