forked from Wavyzz/dolibarr
New: For germany, we invert order of address
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user