Transaction rules
This commit is contained in:
parent
d1dba7c051
commit
e1eedab254
|
|
@ -343,16 +343,16 @@ class __RuleCriteriaState extends State<_RuleCriteria> {
|
|||
.STRING_OPERATOR_CONTAINS,
|
||||
),
|
||||
DropdownMenuItem<String>(
|
||||
child: Text(localization.contains),
|
||||
child: Text(localization.startsWith),
|
||||
value: TransactionRuleCriteriaEntity
|
||||
.STRING_OPERATOR_STARTS_WITH,
|
||||
),
|
||||
DropdownMenuItem<String>(
|
||||
child: Text(localization.contains),
|
||||
child: Text(localization.isWord),
|
||||
value: TransactionRuleCriteriaEntity.STRING_OPERATOR_IS,
|
||||
),
|
||||
DropdownMenuItem<String>(
|
||||
child: Text(localization.contains),
|
||||
child: Text(localization.isEmpty),
|
||||
value: TransactionRuleCriteriaEntity
|
||||
.STRING_OPERATOR_IS_EMPTY,
|
||||
),
|
||||
|
|
@ -389,18 +389,6 @@ class __RuleCriteriaState extends State<_RuleCriteria> {
|
|||
.NUMBER_OPERATOR_GREATER_THAN_OR_EQUALS,
|
||||
),
|
||||
],
|
||||
/*
|
||||
items: [
|
||||
DropdownMenuItem<String>(
|
||||
child: Text(localization.description),
|
||||
value: TransactionRuleCriteriaEntity.SEARCH_KEY_DESCRIPTION,
|
||||
),
|
||||
DropdownMenuItem<String>(
|
||||
child: Text(localization.amount),
|
||||
value: TransactionRuleCriteriaEntity.SEARCH_KEY_AMOUNT,
|
||||
),
|
||||
],
|
||||
*/
|
||||
),
|
||||
DecoratedFormField(
|
||||
label: localization.value,
|
||||
|
|
|
|||
|
|
@ -18,10 +18,10 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
// STARTER: lang key - do not remove comment
|
||||
'operator': 'Operator',
|
||||
'value': 'Value',
|
||||
'is': 'is',
|
||||
'contains': 'contains',
|
||||
'starts_with': 'starts with',
|
||||
'is_empty': 'is empty',
|
||||
'is': 'Is',
|
||||
'contains': 'Contains',
|
||||
'starts_with': 'Starts with',
|
||||
'is_empty': 'Is empty',
|
||||
'add_rule': 'Add Rule',
|
||||
'match_all_rules': 'Match All Rules',
|
||||
'match_all_rules_help':
|
||||
|
|
@ -90541,8 +90541,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
_localizedValues['en']['add_rule'];
|
||||
|
||||
String get isWord =>
|
||||
_localizedValues[localeCode]['is'] ??
|
||||
_localizedValues['en']['is'];
|
||||
_localizedValues[localeCode]['is'] ?? _localizedValues['en']['is'];
|
||||
|
||||
String get contains =>
|
||||
_localizedValues[localeCode]['contains'] ??
|
||||
|
|
@ -90557,8 +90556,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
_localizedValues['en']['is_empty'];
|
||||
|
||||
String get value =>
|
||||
_localizedValues[localeCode]['value'] ??
|
||||
_localizedValues['en']['value'];
|
||||
_localizedValues[localeCode]['value'] ?? _localizedValues['en']['value'];
|
||||
|
||||
String get operator =>
|
||||
_localizedValues[localeCode]['operator'] ??
|
||||
|
|
|
|||
Loading…
Reference in New Issue