FIX(propal): values lost when editing HT price

This commit is contained in:
Benjamin Falière
2025-12-05 11:23:31 +01:00
parent d2acb6010f
commit 2050a657cf

View File

@@ -1935,7 +1935,7 @@ if (empty($reshook)) {
$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') {
if ($price_base_type == 'TTC' && !empty($pu_ttc)) {
$pu = $pu_ttc;
}