Fix: EEC list
This commit is contained in:
parent
8ada36eda0
commit
9f8bc523c5
@ -1854,37 +1854,38 @@ class Societe extends CommonObject
|
|||||||
function isInEEC()
|
function isInEEC()
|
||||||
{
|
{
|
||||||
// List of all country codes that are in europe for european vat rules
|
// List of all country codes that are in europe for european vat rules
|
||||||
|
// List found on http://ec.europa.eu/taxation_customs/vies/lang.do?fromWhichPage=vieshome
|
||||||
$country_code_in_EEC=array(
|
$country_code_in_EEC=array(
|
||||||
'AT', // Austria
|
'AT', // Austria
|
||||||
'BE', // Belgium
|
'BE', // Belgium
|
||||||
'BG', // Bulgaria
|
'BG', // Bulgaria
|
||||||
'CY', // Cyprus
|
'CY', // Cyprus
|
||||||
'CZ', // Czech republic
|
'CZ', // Czech republic
|
||||||
|
'DE', // Germany
|
||||||
'DK', // Danemark
|
'DK', // Danemark
|
||||||
'EE', // Estonia
|
'EE', // Estonia
|
||||||
|
'ES', // Spain
|
||||||
'FI', // Finland
|
'FI', // Finland
|
||||||
'FR', // France
|
'FR', // France
|
||||||
'DE', // Germany
|
|
||||||
'GB', // Royaume-uni
|
'GB', // Royaume-uni
|
||||||
'GR', // Greece
|
'GR', // Greece
|
||||||
'NL', // Holland
|
'NL', // Holland
|
||||||
'HU', // Hungary
|
'HU', // Hungary
|
||||||
'IE', // Ireland
|
'IE', // Ireland
|
||||||
'IT', // Italy
|
'IT', // Italy
|
||||||
'LV', // Latvia
|
|
||||||
'LT', // Lithuania
|
'LT', // Lithuania
|
||||||
'LU', // Luxembourg
|
'LU', // Luxembourg
|
||||||
'MO', // Monaco ? TODO verify vat rules
|
'LV', // Latvia
|
||||||
|
'MO', // Monaco Seems to use same IntraVAT than France (http://www.gouv.mc/devwww/wwwnew.nsf/c3241c4782f528bdc1256d52004f970b/9e370807042516a5c1256f81003f5bb3!OpenDocument)
|
||||||
'MT', // Malta
|
'MT', // Malta
|
||||||
'NO', // Norway ? TODO verify vat rules
|
//'NO', // Norway
|
||||||
'PL', // Poland
|
'PL', // Poland
|
||||||
'PT', // Portugal
|
'PT', // Portugal
|
||||||
'RO', // Romania
|
'RO', // Romania
|
||||||
|
'SE', // Sweden
|
||||||
'SK', // Slovakia
|
'SK', // Slovakia
|
||||||
'SI', // Slovenia
|
'SI', // Slovenia
|
||||||
'ES', // Spain
|
//'CH', // Switzerland - No. Swizerland in not in EEC
|
||||||
'SE', // Sweden
|
|
||||||
'CH', // Switzerland ? TODO verify vat rules
|
|
||||||
);
|
);
|
||||||
//print "dd".$this->pays_code;
|
//print "dd".$this->pays_code;
|
||||||
return in_array($this->pays_code,$country_code_in_EEC);
|
return in_array($this->pays_code,$country_code_in_EEC);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user