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