Fixing style errors.
This commit is contained in:
parent
58d3cdb13c
commit
50e2545bea
@ -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);
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user