Skip to content

Commit

Permalink
Remove field estSocieteGenerale from member
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoakes committed Aug 29, 2016
1 parent c7e52cc commit bca743c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 34 deletions.
30 changes: 0 additions & 30 deletions src/mgate/PersonneBundle/Entity/Membre.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ class Membre
*/
private $formatPaiement;

/**
* @var bool
* @ORM\Column(name="estSocieteGenerale", type="boolean", nullable=false, options={"default" = false})
*/
private $estSocieteGenerale;

/**
* @var string
* @ORM\Column(name="filiere", type="string", length=15)
Expand Down Expand Up @@ -524,30 +518,6 @@ public function getformatPaiement()
return $this->formatPaiement;
}

/**
* Set estSocieteGenerale.
*
* @param string $estSocieteGenerale
*
* @return Membre
*/
public function setestSocieteGenerale($estSocieteGenerale)
{
$this->estSocieteGenerale = $estSocieteGenerale;

return $this;
}

/**
* Get estSocieteGenerale.
*
* @return string
*/
public function getestSocieteGenerale()
{
return $this->estSocieteGenerale;
}

/**
* Set filiere.
*
Expand Down
1 change: 0 additions & 1 deletion src/mgate/PersonneBundle/Form/Type/MembreType.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'label' => 'Modifier la photo de profil du membre',
))
->add('formatPaiement', 'choice', array('choices' => array('aucun' => 'aucun', 'cheque' => 'Chèque', 'especes' => 'Espèces')))
->add('estSocieteGenerale', 'checkbox', array('label' => 'Compte Sogé ?', 'required' => false))
->add('filiere', 'choice', array('choices' => array('EN' => 'EN', 'HMF' => 'HMF', 'IMA' => 'IMA', 'TR' => 'TR', 'GEA' => 'GEA')));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
</tr>
<tr>
<td>Format Paiement : {{ membre.formatPaiement }}</td>
<td>Société Générale : {{ membre.estSocieteGenerale }}</td>
<td>Filière : {{ membre.filiere }}</td>
</tr>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
<tr>
<td>{{ form_label(form.formatPaiement) }}</td>
<td>{{ form_widget(form.formatPaiement) }}</td>
<td>{{ form_label(form.estSocieteGenerale) }}</td>
<td>{{ form_widget(form.estSocieteGenerale) }}</td>
<td>{{ form_label(form.filiere) }}</td>
<td>{{ form_widget(form.filiere) }}</td>
</tr>
Expand Down

0 comments on commit bca743c

Please sign in to comment.