Correction anomalie 0000022 soumise le 16/04/2020 : Encore des problèmes de calcul de la TVA

This commit is contained in:
2020-04-16 23:09:12 +02:00
parent 2fe0f96c7c
commit 23c666e59f
4 changed files with 17 additions and 6 deletions

View File

@@ -60,7 +60,8 @@ class PrelevementSepaValidationModuleFrontController extends ModuleFrontControll
}
$currency = $this->context->currency;
$total = (float)$cart->getOrderTotal(true, Cart::BOTH);
$total = (float) $cart->getOrderTotal(false, Cart::BOTH) * 1.20;
// $total = (float)$cart->getOrderTotal(true, Cart::BOTH);
$this->module->validateOrder(
(int)$cart->id,