meta_tax_implication: Accept titlecased values.
This commit is contained in:
		
							parent
							
								
									b5a22a963f
								
							
						
					
					
						commit
						328f59231c
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		|  | @ -26,6 +26,9 @@ def _make_aliases(s: str, stdname: Optional[str]=None) -> Iterator[Tuple[str, st | |||
|     elif s != stdname: | ||||
|         yield (s, stdname) | ||||
|     yield (s.lower(), stdname) | ||||
|     title_s = s.title() | ||||
|     if s != title_s: | ||||
|         yield (title_s, stdname) | ||||
|     if s.startswith('1099-'): | ||||
|         yield from _make_aliases(f'1099{s[5:]}', stdname) | ||||
|     elif s.startswith('USA-'): | ||||
|  |  | |||
|  | @ -15,7 +15,7 @@ VALID_VALUES = { | |||
|     '1099': '1099-NEC', | ||||
|     '1099-NEC': '1099-NEC', | ||||
|     '1099nec': '1099-NEC', | ||||
|     '1099-MISC-Other': '1099-MISC-Other', | ||||
|     '1099-Misc-Other': '1099-MISC-Other', | ||||
|     '1099misc-other': '1099-MISC-Other', | ||||
|     'Bank-Transfer': 'Bank-Transfer', | ||||
|     'Chargeback': 'Chargeback', | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith