Sfoglia il codice sorgente

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

feature/souke
Guillaume Bourgeois 1 anno fa
parent
commit
d477f261f5
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  1. +1
    -4
      backend/controllers/OrderController.php

+ 1
- 4
backend/controllers/OrderController.php Vedi File

$productOrder->quantity = $quantity; $productOrder->quantity = $quantity;
$productOrder->price = $dataProductOrder->price; $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; $productOrder->invoice_price = $dataProductOrder->invoice_price;
} }
} else { } else {

Loading…
Annulla
Salva