Add import types
This commit is contained in:
parent
a0dfec7943
commit
c68a704308
|
|
@ -167,7 +167,11 @@ class _FileImportState extends State<_FileImport> {
|
|||
isDense: true,
|
||||
value: widget.entityType,
|
||||
onChanged: (dynamic value) => widget.onEntityTypeChanged(value),
|
||||
items: [EntityType.client]
|
||||
items: [
|
||||
EntityType.client,
|
||||
EntityType.product,
|
||||
EntityType.invoice,
|
||||
]
|
||||
.map((entityType) => DropdownMenuItem<EntityType>(
|
||||
value: entityType,
|
||||
child: Text(localization.lookup('$entityType'))))
|
||||
|
|
|
|||
Loading…
Reference in New Issue