Tax model
This commit is contained in:
parent
07c132c0fe
commit
a51787bf14
|
|
@ -148,6 +148,7 @@ class _TaxSettingsState extends State<TaxSettings> {
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
isLast: true,
|
isLast: true,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
BoolDropdownButton(
|
BoolDropdownButton(
|
||||||
iconData: MdiIcons.calculator,
|
iconData: MdiIcons.calculator,
|
||||||
|
|
@ -166,6 +167,7 @@ class _TaxSettingsState extends State<TaxSettings> {
|
||||||
initialValue: taxData.version,
|
initialValue: taxData.version,
|
||||||
),
|
),
|
||||||
*/
|
*/
|
||||||
|
SizedBox(height: 16),
|
||||||
AppDropdownButton<String>(
|
AppDropdownButton<String>(
|
||||||
labelText: localization.sellerSubregion,
|
labelText: localization.sellerSubregion,
|
||||||
value: taxData.sellerSubregion,
|
value: taxData.sellerSubregion,
|
||||||
|
|
@ -177,6 +179,18 @@ class _TaxSettingsState extends State<TaxSettings> {
|
||||||
.map((code) =>
|
.map((code) =>
|
||||||
DropdownMenuItem(child: Text(code), value: code))
|
DropdownMenuItem(child: Text(code), value: code))
|
||||||
.toList()),
|
.toList()),
|
||||||
|
...taxData.regions.keys
|
||||||
|
.map((region) => Column(
|
||||||
|
children: [
|
||||||
|
Text(region),
|
||||||
|
/*
|
||||||
|
...taxData.regions[region].subregions.keys
|
||||||
|
.map((subregion) => Text(subregion))
|
||||||
|
.toList(),
|
||||||
|
*/
|
||||||
|
],
|
||||||
|
))
|
||||||
|
.toList(),
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue