Fix CI-PULL-REQUEST / pre-commit / pre-commit (pull_request)
This commit is contained in:
parent
7ba21bd23d
commit
4d2ad0aadf
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue