From 4d2ad0aadf6ce4a069a6773debd85bd13e33f9db Mon Sep 17 00:00:00 2001 From: Kamel Khelifa Date: Tue, 25 Feb 2025 15:25:33 +0100 Subject: [PATCH] Fix CI-PULL-REQUEST / pre-commit / pre-commit (pull_request) --- htdocs/commande/card.php | 2 +- htdocs/core/tpl/objectline_create.tpl.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); -