diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 9157b6d01fe..913dc87d333 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -887,7 +887,7 @@ if (empty($reshook)) { $price_min_ttc = price($custprice_line->price_min_ttc); $price_base_type = $custprice_line->price_base_type; $tva_tx = $custprice_line->tva_tx; - if ($custprice_line->default_vat_code && !preg_match('/\(.*\)/', (string)$tva_tx)) { + if ($custprice_line->default_vat_code && !preg_match('/\(.*\)/', (string) $tva_tx)) { $tva_tx .= ' (' . $custprice_line->default_vat_code . ')'; } $tva_npr = $custprice_line->recuperableonly; diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php index 15e20798a3f..fa0044433ac 100644 --- a/htdocs/core/tpl/objectline_create.tpl.php +++ b/htdocs/core/tpl/objectline_create.tpl.php @@ -940,9 +940,9 @@ if (!empty($usemargins) && $user->hasRight('margins', 'creer')) { socid)) { - ?> + ?> $("#remise_percent").val(data.discount); -