Skip to content
Snippets Groups Projects
Commit 08b755c4 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files
(cherry picked from commit ad23a12d)
parent c35e9f1a
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
<generator strategy="SEQUENCE"/> <generator strategy="SEQUENCE"/>
<sequence-generator sequence-name="TYPE_INTERVENTION_STATU_ID_SEQ" allocation-size="1"/> <sequence-generator sequence-name="TYPE_INTERVENTION_STATU_ID_SEQ" allocation-size="1"/>
</id> </id>
<unique-constraints>
<unique-constraint name="TYPE_INTERVENTION_STATUT_UN" columns="TYPE_INTERVENTION_ID,STATUT_ID,HISTO_DESTRUCTION"/>
</unique-constraints>
<field name="tauxHETDService" type="float" column="TAUX_HETD_SERVICE" nullable="true"/> <field name="tauxHETDService" type="float" column="TAUX_HETD_SERVICE" nullable="true"/>
<field name="tauxHETDComplementaire" type="float" column="TAUX_HETD_COMPLEMENTAIRE" nullable="true"/> <field name="tauxHETDComplementaire" type="float" column="TAUX_HETD_COMPLEMENTAIRE" nullable="true"/>
<many-to-one field="annee" target-entity="Application\Entity\Db\Annee"> <many-to-one field="annee" target-entity="Application\Entity\Db\Annee">
......
...@@ -108,7 +108,7 @@ class TypeInterventionStatutSaisieForm extends AbstractForm ...@@ -108,7 +108,7 @@ class TypeInterventionStatutSaisieForm extends AbstractForm
new \Laminas\Validator\Callback([ new \Laminas\Validator\Callback([
'messages' => [\Laminas\Validator\Callback::INVALID_VALUE => '%value% doit être >= 0'], 'messages' => [\Laminas\Validator\Callback::INVALID_VALUE => '%value% doit être >= 0'],
'callback' => function ($value) { 'callback' => function ($value) {
return (StringFromFloat::run($value) >= 0.0 ? true : false); return (FloatFromString::run($value) >= 0.0 ? true : false);
}]), }]),
], ],
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment