siret et siren non obligatoire (fixes #17)
This commit is contained in:
parent
8a170f3abb
commit
31c0763f1b
@ -30,7 +30,7 @@ class Niveau01
|
||||
private $label;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=9)
|
||||
* @ORM\Column(type="string", length=9, nullable=true)
|
||||
*/
|
||||
private $siren;
|
||||
|
||||
|
@ -29,7 +29,7 @@ class Niveau02
|
||||
private $label;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=14)
|
||||
* @ORM\Column(type="string", length=14, nullable=true)
|
||||
*/
|
||||
private $siret;
|
||||
|
||||
|
@ -42,6 +42,7 @@ class Niveau01Type extends AbstractType
|
||||
TextType::class, array(
|
||||
"label" => $options["labelsiren"],
|
||||
"disabled" => ($options["mode"]=="delete"?true:false),
|
||||
"required" => false,
|
||||
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px")
|
||||
)
|
||||
);
|
||||
|
@ -54,6 +54,7 @@ class Niveau02Type extends AbstractType
|
||||
TextType::class, array(
|
||||
"label" =>"SIRET",
|
||||
"disabled" => ($options["mode"]=="delete"?true:false),
|
||||
"required" => false,
|
||||
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px")
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user