From 47bdadd6b5533e6c105ee4c1108447f0bacb4985 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Aug 2010 23:06:20 +0000 Subject: [PATCH] New: For germany, we invert order of address --- htdocs/master.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/master.inc.php b/htdocs/master.inc.php index 71ebf563414..6228b9aee8e 100644 --- a/htdocs/master.inc.php +++ b/htdocs/master.inc.php @@ -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; }