diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index d273223d628..ecc7957b797 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -19,6 +19,7 @@ * Copyright (C) 2023 William Mead * Copyright (C) 2024-2025 MDW * Copyright (C) 2024 Alexandre Spangaro + * Copyright (C) 2025 Benjamin Falière * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1932,6 +1933,12 @@ if (empty($reshook)) { $type = $product->type; $price_base_type = $product->price_base_type; + + // If base type TTc, we change pu value to define the TTC one + if ($price_base_type == 'TTC') { + $pu = $pu_ttc; + } + $label = ((GETPOST('update_label') && GETPOST('product_label')) ? GETPOST('product_label') : ''); $price_min = $product->price_min;