mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
FIX(propal): values lost when editing HT price
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user