# Zones marquees MODIF dans : contrat/card (13.12.2025 06.36).php # Fichier actif correspondant : contrat/card.php ... 545 | // } elseif (!empty($price_ttc) || $price_ttc === '0') { 546 | // $pu_ttc = price2num($price_ttc, 'MU'); 547 | // $pu_ht = price2num($pu_ttc / (1 + ($tmpvat / 100)), 'MU'); 548 | // $price_base_type = 'TTC'; 549 | // } 550 | 551 | //MODIF PICHINOV VAL BEGIN 552 | if (!empty($price_ht) || $price_ht === '0') { 553 | $pu_ht = (float) price2num($price_ht, 'MU'); 554 | $pu_ttc_val = $pu_ht * (1 + ((float)$tmpvat / 100)); 555 | $pu_ttc = price2num($pu_ttc_val, 'MU'); 556 | $price_base_type = 'HT'; 557 | } elseif (!empty($price_ttc) || $price_ttc === '0') { 558 | $pu_ttc = (float) price2num($price_ttc, 'MU'); 559 | $pu_ht_val = $pu_ttc / (1 + ((float)$tmpvat / 100)); 560 | $pu_ht = price2num($pu_ht_val, 'MU'); 561 | $price_base_type = 'TTC'; 562 | } 563 | 564 | //MODIF PICHINOV VAL END 565 | 566 | $desc = $prod->description; 567 | 568 | //If text set in desc is the same as product descpription (as now it's preloaded) whe add it only one time 569 | if ($product_desc == $desc && !empty($conf->global->PRODUIT_AUTOFILL_DESC)) { 570 | $product_desc = ''; 571 | } 572 |