2
0
forked from Wavyzz/dolibarr

New: For germany, we invert order of address

This commit is contained in:
Laurent Destailleur
2010-08-20 23:06:20 +00:00
parent 4943cde048
commit 47bdadd6b5

View File

@@ -404,6 +404,9 @@ if (! defined('NOREQUIREDB') && ! defined('NOREQUIRESOC'))
// Define if company use local taxes
$mysoc->localtax1_assuj=((isset($conf->global->FACTURE_LOCAL_TAX1_OPTION) && $conf->global->FACTURE_LOCAL_TAX1_OPTION=='localtax1on')?1:0);
$mysoc->localtax2_assuj=((isset($conf->global->FACTURE_LOCAL_TAX2_OPTION) && $conf->global->FACTURE_LOCAL_TAX2_OPTION=='localtax2on')?1:0);
// For some countries, we need to invert our address with customer address
if ($mysoc->pays_code == 'DE' && ! isset($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) $conf->global->MAIN_INVERT_SENDER_RECIPIENT=1;
}