Fix CI-PULL-REQUEST / pre-commit / pre-commit (pull_request)

This commit is contained in:
Kamel Khelifa 2025-02-25 15:25:33 +01:00
parent 7ba21bd23d
commit 4d2ad0aadf
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -940,9 +940,9 @@ if (!empty($usemargins) && $user->hasRight('margins', 'creer')) {
<?php
// Price by customer
if ((getDolGlobalString('PRODUIT_CUSTOMER_PRICES') || getDolGlobalString('PRODUIT_CUSTOMER_PRICES_AND_MULTIPRICES')) && !empty($object->socid)) {
?>
?>
$("#remise_percent").val(data.discount);
<?php
<?php
}
if (getDolGlobalInt('PRODUIT_AUTOFILL_DESC') == 1) {