mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 11:54:32 +02:00
Added option to mark all imported parts as "needs review"
This commit is contained in:
parent
b7aae7d87b
commit
193650efd4
6 changed files with 32 additions and 2 deletions
|
@ -91,6 +91,13 @@ class ImportType extends AbstractType
|
|||
'disable_not_selectable' => true,
|
||||
'allow_add' => true
|
||||
]);
|
||||
$builder->add('part_needs_review', CheckboxType::class, [
|
||||
'data' => false,
|
||||
'required' => false,
|
||||
'label' => 'parts.import.part_needs_review.label',
|
||||
'help' => 'parts.import.part_needs_review.help',
|
||||
'disabled' => $disabled,
|
||||
]);
|
||||
}
|
||||
|
||||
if ($entity instanceof AbstractStructuralDBElement) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue