Fixing style errors.

This commit is contained in:
stickler-ci 2022-12-25 23:41:03 +00:00
parent 58d3cdb13c
commit 50e2545bea
2 changed files with 10 additions and 10 deletions

View File

@ -1237,8 +1237,8 @@ if (empty($reshook)) {
// Check if we have a foreing currency // Check if we have a foreing currency
// If so, we update the pu_equiv as the equivalent price in base currency // If so, we update the pu_equiv as the equivalent price in base currency
if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') { if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') {
$pu_equivalent = $pu_ht_devise * $currency_tx; $pu_equivalent = $pu_ht_devise * $currency_tx;
} }
// Extrafields // Extrafields
$extralabelsline = $extrafields->fetch_name_optionals_label($object->table_element_line); $extralabelsline = $extrafields->fetch_name_optionals_label($object->table_element_line);

View File

@ -636,7 +636,7 @@ if (empty($reshook)) {
// Check if we have a foreing currency // Check if we have a foreing currency
// If so, we update the pu_equiv as the equivalent price in base currency // If so, we update the pu_equiv as the equivalent price in base currency
if ($price_ht == '' && $price_ht_devise != '' && $currency_tx != '') { if ($price_ht == '' && $price_ht_devise != '' && $currency_tx != '') {
$price_equivalent = $price_ht_devise * $currency_tx; $price_equivalent = $price_ht_devise * $currency_tx;
} }
$qty = price2num(GETPOST('qty'.$predef, 'alpha'), 'MS'); $qty = price2num(GETPOST('qty'.$predef, 'alpha'), 'MS');
@ -1006,7 +1006,7 @@ if (empty($reshook)) {
// Check if we have a foreing currency // Check if we have a foreing currency
// If so, we update the pu_equiv as the equivalent price in base currency // If so, we update the pu_equiv as the equivalent price in base currency
if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') { if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') {
$pu_equivalent = $pu_ht_devise * $currency_tx; $pu_equivalent = $pu_ht_devise * $currency_tx;
} }
// Define info_bits // Define info_bits