mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-19 10:24:50 +02:00
Added internal part number field to parts
This commit is contained in:
parent
81abf36867
commit
b1d359f538
12 changed files with 123 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue