/**
  * @param FormBuilderInterface $builder
  * @param array $options
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     // on appelle la fonction de la classe mère
     parent::buildForm($builder, $options);
     // on neutralise l'attribut date dont on veut empecher la modif
     //$builder->remove('creation');
     //$builder->remove('modification');
 }
 /**
  * @param FormBuilderInterface $builder
  * @param array $options
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     // on appelle la fonction de la classe mère
     parent::buildForm($builder, $options);
     // on neutralise les attribut date dont on a pas besoin
     $builder->remove('prixht');
     $builder->remove('tva');
     $builder->remove('quantite');
     $builder->add('aprelever', 'integer', array('label' => 'Quantité à prélever'));
 }