Added option to mark all imported parts as "needs review"

This commit is contained in:
Jan Böhmer 2023-03-15 21:46:14 +01:00
parent b7aae7d87b
commit 193650efd4
6 changed files with 32 additions and 2 deletions

View file

@ -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) {