diff --git a/htdocs/soc.php b/htdocs/soc.php index 01cacb831b6..88ea56abf1c 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -597,23 +597,6 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; print $html->selectyesno('assujtva_value',1,1); // Assujeti par defaut en creation print ''; - - - // Local Taxes - if($obj->code='ES' && $conf->global->MAIN_FEATURES_LEVEL >= 1) - { - print ''.$langs->trans("LocalTax1IsUsedES").''; - print ''; - print $html->selectyesno('localtax1assuj_value',0,1); - print ''; - print ''.$langs->trans("LocalTax2IsUsedES").''; - print ''; - print $html->selectyesno('localtax2assuj_value',0,1); - print ''; - print ''; - } - - print ''.$langs->trans('VATIntra').''; print ''; $s =''; @@ -642,7 +625,21 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; print "\n"; } - + + // Local Taxes + if($obj->code='ES' && $conf->global->MAIN_FEATURES_LEVEL >= 1) + { + print ''.$langs->trans("LocalTax1IsUsedES").''; + print ''; + print $html->selectyesno('localtax1assuj_value',0,1); + print ''; + print ''.$langs->trans("LocalTax2IsUsedES").''; + print ''; + print $html->selectyesno('localtax2assuj_value',0,1); + print ''; + print ''; + } + if ($user->rights->societe->client->voir) { //Affecter un commercial