Tax model
This commit is contained in:
parent
ad1a072a80
commit
5ac81437d8
|
|
@ -233,7 +233,7 @@ class _TaxSettingsState extends State<TaxSettings> {
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
ConstrainedBox(
|
ConstrainedBox(
|
||||||
constraints: BoxConstraints(minWidth: 120),
|
constraints: BoxConstraints(minWidth: 80),
|
||||||
child: TextButton(
|
child: TextButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
|
@ -242,8 +242,8 @@ class _TaxSettingsState extends State<TaxSettings> {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
child: Text(_showDetails[region]
|
child: Text(_showDetails[region]
|
||||||
? localization.hideDetails
|
? localization.hide
|
||||||
: localization.showDetails)),
|
: localization.show)),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,6 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
||||||
'reduced_rate': 'Reduced Rate',
|
'reduced_rate': 'Reduced Rate',
|
||||||
'tax_all': 'Tax All',
|
'tax_all': 'Tax All',
|
||||||
'tax_selected': 'Tax Selected',
|
'tax_selected': 'Tax Selected',
|
||||||
'hide_details': 'Hide Details',
|
|
||||||
'show_details': 'Show Details',
|
|
||||||
'version': 'version',
|
'version': 'version',
|
||||||
'seller_subregion': 'Seller Subregion',
|
'seller_subregion': 'Seller Subregion',
|
||||||
'calculate_taxes': 'Calculate Taxes',
|
'calculate_taxes': 'Calculate Taxes',
|
||||||
|
|
@ -98333,14 +98331,6 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
||||||
_localizedValues[localeCode]['version'] ??
|
_localizedValues[localeCode]['version'] ??
|
||||||
_localizedValues['en']['version'];
|
_localizedValues['en']['version'];
|
||||||
|
|
||||||
String get hideDetails =>
|
|
||||||
_localizedValues[localeCode]['hide_details'] ??
|
|
||||||
_localizedValues['en']['hide_details'];
|
|
||||||
|
|
||||||
String get showDetails =>
|
|
||||||
_localizedValues[localeCode]['show_details'] ??
|
|
||||||
_localizedValues['en']['show_details'];
|
|
||||||
|
|
||||||
String get taxAll =>
|
String get taxAll =>
|
||||||
_localizedValues[localeCode]['tax_all'] ??
|
_localizedValues[localeCode]['tax_all'] ??
|
||||||
_localizedValues['en']['tax_all'];
|
_localizedValues['en']['tax_all'];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue