]> _ Git - dtlc.git/commitdiff
wip #5549 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 25 Oct 2022 16:03:46 +0000 (18:03 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 25 Oct 2022 16:03:46 +0000 (18:03 +0200)
framework/application/forms/Devis.php

index 7e45981e357172fb1a18a077e87cb3a9fc9193d9..c6b380cff2b656fcc95529f15b0dbf0544b8698a 100644 (file)
@@ -317,7 +317,8 @@ class DTLC_Form_Devis extends CubeIT_Form_List {
                $pays = new CubeIT_Form_Element_Country('pays');
                $pays->setLabel(__('Pays'));
                $pays->setRequired(true);
-               $pays->setDetectCountry(true);
+               $pays->setDetectCountry(false);
+        $pays->setValue('FR');
                $this->addElement($pays);
 
                $tva_intra = new Zend_Form_Element_Text('tva_intra');