Commit 086a3ae33ff80fc97a62b977697b3387a54a9c40

Authored by Wilmer
1 parent 4ac6daf9d1
Exists in master

corrige el año mas antiguo que pude aparecer para darle caducidad al PIDA

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/AppBundle/Form/PidaCaducidadType.php
... ... @@ -23,7 +23,7 @@ class PidaCaducidadType extends AbstractType
23 23 'widget' => 'choice',
24 24 'label' => 'Pida inicia desde',
25 25 'label_attr' => array('class' => 'form-group'),
26   - 'years' => range(date("Y")-4, date("Y")),
  26 + 'years' => range(date("Y")-2, date("Y")),
27 27 'placeholder' => array(
28 28 'year' => 'Año', 'month' => 'Mes', 'day' => 'Día',
29 29 ),
... ... @@ -36,7 +36,7 @@ class PidaCaducidadType extends AbstractType
36 36 'widget' => 'choice',
37 37 'label' => 'Pida inicia desde',
38 38 'label_attr' => array('class' => 'form-group'),
39   - 'years' => range(date("Y")-4, date("Y")+4),
  39 + 'years' => range(date("Y")-2, date("Y")+4),
40 40 'placeholder' => array(
41 41 'year' => 'Año', 'month' => 'Mes', 'day' => 'Día',
42 42 ),
... ...