Commit 43978a3f authored by Mat's avatar Mat

désactive l'édition des champs du formulaire

parent 3a5f04a8
......@@ -25,10 +25,12 @@ class CommandeLegumesType extends AbstractType
*/
->add('quantite', NumberType::class, array(
'scale' => 3, //décimales
'disabled' => true,
))
->add('prix', MoneyType::class, array(
'currency' => 'EUR',
'scale' => 2
'scale' => 2,
'disabled' => true,
))
;
}
......
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