/** ************************************************************************
  * @param FormBuilderInterface $builder
  * @param array $options
  **************************************************************************/
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('recurrenceDay', 'number', array('required' => true, 'label' => 'Recurrence Day'));
     parent::buildForm($builder, $options);
     $builder->remove('date');
     $builder->remove('isMarked');
 }
Example #2
0
 /** ************************************************************************
  * @param FormBuilderInterface $builder
  * @param array $options
  **************************************************************************/
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->remove('paymentMethod');
     $builder->remove('isMarked');
 }