diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php
index cba5373f9e8..c8c9bc7b487 100644
--- a/htdocs/societe/soc.php
+++ b/htdocs/societe/soc.php
@@ -851,7 +851,7 @@ else
print '';
// Type
- print '
| '.$langs->trans("Type").' | '."\n";
+ print ' |
| '.$langs->trans("ThirdPartyType").' | '."\n";
print $form->selectarray("typent_id",$formcompany->typent_array(0), $soc->typent_id);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
print ' | ';
@@ -887,12 +887,17 @@ else
print "}\n";
print '';
print "\n";
- $s.=''.$langs->trans("VATIntraCheck").'';
- print $form->textwithpicto($s,$langs->trans("VATIntraCheckDesc",$langs->trans("VATIntraCheck")),1);
+ if (empty($conf->global->MAIN_DISABLEVATCHECK))
+ {
+ $s.=''.$langs->trans("VATIntraCheck").'';
+ print $form->textwithpicto($s,$langs->trans("VATIntraCheckDesc",$langs->trans("VATIntraCheck")),1);
+ }
+ else print $s;
}
else
{
- print $s.'id_pays).'" target="_blank">'.img_picto($langs->trans("VATIntraCheckableOnEUSite"),'help').'';
+ if (empty($conf->global->MAIN_DISABLEVATCHECK)) $s.='id_pays).'" target="_blank">'.img_picto($langs->trans("VATIntraCheckableOnEUSite"),'help').'';
+ print $s;
}
print '';
@@ -1309,7 +1314,7 @@ else
$formcompany->select_forme_juridique($soc->forme_juridique_code,$soc->pays_code);
print '
';
- print '| '.$langs->trans("Type").' | ';
+ print ' |
| '.$langs->trans("ThirdPartyType").' | ';
print $form->selectarray("typent_id",$formcompany->typent_array(0), $soc->typent_id);
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
print ' | ';
@@ -1583,7 +1588,7 @@ else
// Type + Staff
$arr = $formcompany->typent_array(1);
$soc->typent= $arr[$soc->typent_code];
- print '
| '.$langs->trans("Type").' | '.$soc->typent.' | '.$langs->trans("Staff").' | '.$soc->effectif.' |
';
+ print '| '.$langs->trans("ThirdPartyType").' | '.$soc->typent.' | '.$langs->trans("Staff").' | '.$soc->effectif.' |
';
// Default language
if ($conf->global->MAIN_MULTILANGS)