Bladeren bron

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

feature/souke
Guillaume Bourgeois 1 jaar geleden
bovenliggende
commit
d477f261f5
1 gewijzigde bestanden met toevoegingen van 1 en 4 verwijderingen
  1. +1
    -4
      backend/controllers/OrderController.php

+ 1
- 4
backend/controllers/OrderController.php Bestand weergeven

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

Laden…
Annuleren
Opslaan