@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | ->add('description', CKEditorType::class, ['required' => false, 'empty_data' => '', |
82 | 82 | 'label' => 'description.label', 'help' => 'bbcode.hint', 'config_name' => 'description_config', |
83 | 83 | 'attr' => ['placeholder' => 'part.description.placeholder', 'rows' => 2], |
84 | - 'disabled' => !$this->security->isGranted('description.edit', $part) ]) |
|
84 | + 'disabled' => !$this->security->isGranted('description.edit', $part)]) |
|
85 | 85 | ->add('minAmount', SIUnitType::class, |
86 | 86 | ['attr' => ['min' => 0, 'placeholder' => 'part.mininstock.placeholder'], 'label' => 'mininstock.label', |
87 | 87 | 'show_prefix' => $use_si_prefix, "unit" => $part_unit_name, "is_integer" => !$part->useFloatAmount(), |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | 'disabled' => !$this->security->isGranted('move', $part), ]) |
95 | 95 | ->add('tags', TextType::class, ['required' => false, 'label' => 'part.tags', 'empty_data' => "", |
96 | 96 | 'attr' => ['data-role' => 'tagsinput'], |
97 | - 'disabled' => !$this->security->isGranted('edit', $part) ]); |
|
97 | + 'disabled' => !$this->security->isGranted('edit', $part)]); |
|
98 | 98 | |
99 | 99 | //Manufacturer section |
100 | 100 | $builder->add('manufacturer', StructuralEntityType::class, ['class' => Manufacturer::class, |
@@ -69,7 +69,7 @@ |
||
69 | 69 | |
70 | 70 | if ($options['show_prefix']) { |
71 | 71 | $builder->add('prefix', ChoiceType::class, [ |
72 | - 'choices' => ['M' => 6, 'k' => 3, '' => 0, 'm' => -3 ] |
|
72 | + 'choices' => ['M' => 6, 'k' => 3, '' => 0, 'm' => -3] |
|
73 | 73 | ]); |
74 | 74 | } |
75 | 75 |