From a487cf6806fb96d69a4267b310407a98a85a854a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 26 May 2018 15:15:38 +0200 Subject: [PATCH 1/2] Update price.php --- htdocs/product/price.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index ad73b57d76f..dd0f6f6f5d1 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -45,9 +45,7 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) { $prodcustprice = new Productcustomerprice($db); } -$langs->load("products"); -$langs->load("bills"); -$langs->load("companies"); +$langs->loadLangs(array("products", "bills", "companies")); $mesg=''; $error=0; $errors=array(); @@ -945,6 +943,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUI } print ''; + print '(' . $langs->trans("DisablePriceByQty").')'; } else { print $langs->trans("No"); print '  (' . $langs->trans("Activate") . ')'; From cf5f7bf06d3f671a0dd997c9a5bed5245fa0e81a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 May 2018 10:52:55 +0200 Subject: [PATCH 2/2] Update price.php --- htdocs/product/price.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index f87fbc60ba3..93474b16554 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -944,7 +944,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUI } print ''; - print '(' . $langs->trans("DisablePriceByQty").')'; + print '(' . $langs->trans("DisablePriceByQty").')'; } else { print $langs->trans("No"); print '  (' . $langs->trans("Activate") . ')';