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,7 +23,7 @@ class PidaCaducidadType extends AbstractType
23 'widget' => 'choice', 23 'widget' => 'choice',
24 'label' => 'Pida inicia desde', 24 'label' => 'Pida inicia desde',
25 'label_attr' => array('class' => 'form-group'), 25 'label_attr' => array('class' => 'form-group'),
26 - 'years' => range(date("Y")-4, date("Y")), 26 + 'years' => range(date("Y")-2, date("Y")),
27 'placeholder' => array( 27 'placeholder' => array(
28 'year' => 'Año', 'month' => 'Mes', 'day' => 'Día', 28 'year' => 'Año', 'month' => 'Mes', 'day' => 'Día',
29 ), 29 ),
@@ -36,7 +36,7 @@ class PidaCaducidadType extends AbstractType @@ -36,7 +36,7 @@ class PidaCaducidadType extends AbstractType
36 'widget' => 'choice', 36 'widget' => 'choice',
37 'label' => 'Pida inicia desde', 37 'label' => 'Pida inicia desde',
38 'label_attr' => array('class' => 'form-group'), 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 'placeholder' => array( 40 'placeholder' => array(
41 'year' => 'Año', 'month' => 'Mes', 'day' => 'Día', 41 'year' => 'Año', 'month' => 'Mes', 'day' => 'Día',
42 ), 42 ),