Merge pull request #22498 from thibdrev/thibdrev-patch-1

fix #22497 replace second argument of dol_print_profids() "VATIntra" by "VAT"
This commit is contained in:
Laurent Destailleur 2022-10-06 11:40:00 +02:00 committed by GitHub
commit e83c009b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2935,7 +2935,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '<td class="nowrap">'.$langs->trans('VATIntra').'</td><td>';
if ($object->tva_intra) {
$s = '';
$s .= dol_print_profids($object->tva_intra, 'VATIntra', $object->country_code, 1);
$s .= dol_print_profids($object->tva_intra, 'VAT', $object->country_code, 1);
$s .= '<input type="hidden" id="tva_intra" name="tva_intra" maxlength="20" value="'.$object->tva_intra.'">';
if (empty($conf->global->MAIN_DISABLEVATCHECK) && isInEEC($object)) {