fix CI errors

This commit is contained in:
sonikf 2023-09-12 21:27:22 +03:00 committed by GitHub
parent 4278b6629f
commit fc26731025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2514,9 +2514,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print "function CheckVAT(a) {\n";
if ($mysoc->country_code == 'GR' && $object->country_code == 'GR') {
print "GRVAT(a,'{$u}','{$p}','{$myafm}');\n";
}
else { print "newpopup('".DOL_URL_ROOT."/societe/checkvat/checkVatPopup.php?vatNumber='+a, '".dol_escape_js($langs->trans("VATIntraCheckableOnEUSite"))."', ".$widthpopup.", ".$heightpopup.");\n";
}
} else {
print "newpopup('".DOL_URL_ROOT."/societe/checkvat/checkVatPopup.php?vatNumber='+a, '".dol_escape_js($langs->trans("VATIntraCheckableOnEUSite"))."', ".$widthpopup.", ".$heightpopup.");\n";
}
print "}\n";
print '</script>';
print "\n";
@ -2986,8 +2986,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print "function CheckVAT(a) {\n";
if ($mysoc->country_code == 'GR' && $object->country_code == 'GR') {
print "GRVAT(a,'{$u}','{$p}','{$myafm}');\n";
}
else { print "newpopup('".DOL_URL_ROOT."/societe/checkvat/checkVatPopup.php?vatNumber='+a, '".dol_escape_js($langs->trans("VATIntraCheckableOnEUSite"))."', ".$widthpopup.", ".$heightpopup.");\n";
} else {
print "newpopup('".DOL_URL_ROOT."/societe/checkvat/checkVatPopup.php?vatNumber='+a, '".dol_escape_js($langs->trans("VATIntraCheckableOnEUSite"))."', ".$widthpopup.", ".$heightpopup.");\n";
}
print "}\n";
print '</script>';