Allow to leave amount field empty when adding a new part lot.

This commit is contained in:
Jan Böhmer 2020-03-30 15:13:23 +02:00
parent 1a0e07fbaf
commit 25a4f804d7
2 changed files with 14 additions and 1 deletions

View file

@ -88,6 +88,7 @@ class PartLotType extends AbstractType
$builder->add('amount', SIUnitType::class, [
'measurement_unit' => $options['measurement_unit'],
'required' => false,
'label' => 'part_lot.edit.amount',
'attr' => [
'class' => 'form-control-sm',