Config: Add option to specify weighing mode
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Test / Run tests (push) Successful in 2m8s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Test / Run tests (push) Successful in 2m8s
				
			This commit is contained in:
		@@ -19,14 +19,6 @@ namespace Elwig.Helpers {
 | 
			
		||||
        public bool IsSitzendorf => IsWinzerkeller && App.ZwstId == "S";
 | 
			
		||||
        public bool IsGrInzersdorf => IsWeinland;
 | 
			
		||||
 | 
			
		||||
        public bool HasNetWeighing(string? zwstId) => IsMatzen || (IsWinzerkeller && zwstId == "W");
 | 
			
		||||
        public bool HasNetWeighing(Branch? b) => HasNetWeighing(b?.ZwstId);
 | 
			
		||||
        public bool HasNetWeighing() => HasNetWeighing(App.ZwstId);
 | 
			
		||||
 | 
			
		||||
        public bool HasBoxWeighing(string? zwstId) => IsWinzerkeller && (zwstId != "W");
 | 
			
		||||
        public bool HasBoxWeighing(Branch? b) => HasBoxWeighing(b?.ZwstId);
 | 
			
		||||
        public bool HasBoxWeighing() => HasBoxWeighing(App.ZwstId);
 | 
			
		||||
 | 
			
		||||
        public string NameToken;
 | 
			
		||||
        public string NameShort;
 | 
			
		||||
        public string Name;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user