Added internal part number field to parts

This commit is contained in:
Jan Böhmer 2022-12-04 02:28:47 +01:00
parent 81abf36867
commit b1d359f538
12 changed files with 123 additions and 3 deletions

View file

@ -50,6 +50,8 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Core\Security;
use function Sodium\add;
class PartBaseType extends AbstractType
{
protected Security $security;
@ -169,6 +171,11 @@ class PartBaseType extends AbstractType
'required' => false,
'disable_not_selectable' => true,
'label' => 'part.edit.partUnit',
])
->add('ipn', TextType::class, [
'required' => false,
'empty_data' => null,
'label' => 'part.edit.ipn',
]);
//Comment section