From 4c941e8c5b1e74fa0ab06abf8c5febbda432cf26 Mon Sep 17 00:00:00 2001 From: thomas-Ngr Date: Thu, 3 Oct 2024 21:03:13 +0200 Subject: [PATCH] finish fix (#31203) --- htdocs/product/stock/replenish.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php index 04a1f7fae6f61..12ce1c17de1c6 100644 --- a/htdocs/product/stock/replenish.php +++ b/htdocs/product/stock/replenish.php @@ -196,17 +196,9 @@ // TODO Get desc in language of thirdparty } - // If we use multicurrency - if (isModEnabled('multicurrency') && !empty($productsupplier->fourn_multicurrency_code) && $productsupplier->fourn_multicurrency_code != $conf->currency) { - $line->multicurrency_code = $productsupplier->fourn_multicurrency_code; - $line->fk_multicurrency = $productsupplier->fourn_multicurrency_id; - $line->multicurrency_subprice = $productsupplier->fourn_multicurrency_unitprice; - } - $line->tva_tx = $productsupplier->vatrate_supplier; $tva = $line->tva_tx / 100; - // BEGIN EASYA urgent change // If we use multicurrency if (isModEnabled('multicurrency') && !empty($productsupplier->fourn_multicurrency_code) && $productsupplier->fourn_multicurrency_code != $conf->currency) { $line->multicurrency_code = $productsupplier->fourn_multicurrency_code; @@ -216,7 +208,6 @@ $line->multicurrency_total_tva = $line->multicurrency_total_ht * $tva; $line->multicurrency_total_ttc = $line->multicurrency_total_ht + $line->multicurrency_total_tva; } - // END EASYA urgent change $line->subprice = $productsupplier->fourn_pu; $line->total_ht = $productsupplier->fourn_pu * $qty;