mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-03 06:54:34 +02:00
Allow to edit the vendor_barcode field of a PartLot
This commit is contained in:
parent
3e6b80d1cf
commit
96a771e7ac
5 changed files with 74 additions and 2 deletions
|
@ -80,7 +80,7 @@ class PartLotType extends AbstractType
|
|||
'required' => false,
|
||||
]);
|
||||
|
||||
$builder->add('expirationDate', DateType::class, [
|
||||
$builder->add('expiration_date', DateType::class, [
|
||||
'label' => 'part_lot.edit.expiration_date',
|
||||
'attr' => [],
|
||||
'widget' => 'single_text',
|
||||
|
@ -102,6 +102,12 @@ class PartLotType extends AbstractType
|
|||
'required' => false,
|
||||
'help' => 'part_lot.owner.help',
|
||||
]);
|
||||
|
||||
$builder->add('vendor_barcode', TextType::class, [
|
||||
'label' => 'part_lot.edit.vendor_barcode',
|
||||
'help' => 'part_lot.edit.vendor_barcode.help',
|
||||
'required' => false,
|
||||
]);
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue