Commit eb287f25 by Damien Moulard

wording

parent 303a140e
...@@ -139,12 +139,12 @@ class CustomDoctrineORMQuerySourceIterator extends AbstractPropertySourceIterato ...@@ -139,12 +139,12 @@ class CustomDoctrineORMQuerySourceIterator extends AbstractPropertySourceIterato
$yearCount = $i+1; $yearCount = $i+1;
if ($ext_dated_data[$i]) { if ($ext_dated_data[$i]) {
$data["Année $yearCount"] = $ext_dated_data[$i]->getYear(); $data["Année $yearCount"] = $ext_dated_data[$i]->getYear();
$data["Revenu mensuel $yearCount"] = $ext_dated_data[$i]->getMonthlyIncome(); $data["Revenu mensuel/part $yearCount"] = $ext_dated_data[$i]->getMonthlyIncome();
$data["Revenu annuel $yearCount"] = $ext_dated_data[$i]->getAnnualIncome(); $data["Revenu annuel/part $yearCount"] = $ext_dated_data[$i]->getAnnualIncome();
} else { } else {
$data["Année $yearCount"] = ""; $data["Année $yearCount"] = "";
$data["Revenu mensuel $yearCount"] = ""; $data["Revenu mensuel/part $yearCount"] = "";
$data["Revenu annuel $yearCount"] = ""; $data["Revenu annuel/part $yearCount"] = "";
} }
} }
} }
......
...@@ -29,14 +29,14 @@ class ExternalAdherentDatedDataFormType extends AbstractType ...@@ -29,14 +29,14 @@ class ExternalAdherentDatedDataFormType extends AbstractType
], ],
]) ])
->add('annual_income', NumberType::class, [ ->add('annual_income', NumberType::class, [
'label' => 'Revenu annuel', 'label' => 'Revenu annuel / part',
'required' => false, 'required' => false,
'attr' => [ 'attr' => [
'autocomplete' => 'off' 'autocomplete' => 'off'
], ],
]) ])
->add('monthly_income', NumberType::class, [ ->add('monthly_income', NumberType::class, [
'label' => 'Revenu mensuel', 'label' => 'Revenu mensuel / part',
'required' => false, 'required' => false,
'attr' => [ 'attr' => [
'autocomplete' => 'off' 'autocomplete' => 'off'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment