From 2f41a53bb48f7452ae2794f35e0c17394d19ef18 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Thu, 19 Dec 2019 10:38:19 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/fourn/commande/dispatch.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index 7d25bd7bdc0..46b2f6a50ad 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -240,7 +240,7 @@ if ($action == 'dispatch' && $user->rights->fournisseur->commande->receptionner) $qty = "qty_".$reg[1].'_'.$reg[2]; $ent = "entrepot_".$reg[1].'_'.$reg[2]; if (empty(GETPOST($ent))) $ent = $fk_default_warehouse; - $pu = "pu_".$reg[1].'_'.$reg[2]; // This is unit price including discount + $pu = "pu_".$reg[1].'_'.$reg[2]; // This is unit price including discount $fk_commandefourndet = "fk_commandefourndet_".$reg[1].'_'.$reg[2]; if (!empty($conf->global->SUPPLIER_ORDER_CAN_UPDATE_BUYINGPRICE_DURING_RECEIPT)) { @@ -490,7 +490,6 @@ if ($id > 0 || !empty($ref)) { || $object->statut == CommandeFournisseur::STATUS_RECEIVED_PARTIALLY || $object->statut == CommandeFournisseur::STATUS_RECEIVED_COMPLETELY) { - require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; $formproduct = new FormProduct($db); $formproduct->loadWarehouses();