[#48] PaymentVariantsWindow: Add checkbox for custom member modifiers
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Test / Run tests (push) Successful in 2m22s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Test / Run tests (push) Successful in 2m22s
				
			This commit is contained in:
		| @@ -153,7 +153,7 @@ namespace Elwig.Windows { | ||||
|         } | ||||
|  | ||||
|         private void SeasonFinish_Expanded(object sender, RoutedEventArgs evt) { | ||||
|             Height = 570; | ||||
|             Height = 530; | ||||
|         } | ||||
|  | ||||
|         private void SeasonFinish_Collapsed(object sender, RoutedEventArgs evt) { | ||||
| @@ -166,7 +166,6 @@ namespace Elwig.Windows { | ||||
|             var valid = (s0 != null); | ||||
|             DeliveryConfirmationButton.IsEnabled = valid; | ||||
|             OverUnderDeliveryButton.IsEnabled = valid; | ||||
|             PaymentAdjustmentButton.IsEnabled = valid && false; | ||||
|             PaymentButton.IsEnabled = valid; | ||||
|             BreakdownButton.IsEnabled = valid; | ||||
|         } | ||||
| @@ -211,27 +210,6 @@ namespace Elwig.Windows { | ||||
|             Mouse.OverrideCursor = null; | ||||
|         } | ||||
|  | ||||
|         private async void PaymentAdjustmentButton_Click(object sender, RoutedEventArgs evt) { | ||||
|             if (SeasonInput.Value is not int year) | ||||
|                 return; | ||||
|             if (false && App.Client.IsMatzen) { | ||||
|                 PaymentAdjustmentButton.IsEnabled = false; | ||||
|                 Mouse.OverrideCursor = Cursors.AppStarting; | ||||
|  | ||||
|                 var b = new Billing(year); | ||||
|                 await b.AutoAdjustBusinessShare(); | ||||
|  | ||||
|                 Mouse.OverrideCursor = null; | ||||
|                 PaymentAdjustmentButton.IsEnabled = true; | ||||
|             } else { | ||||
|                 MessageBox.Show( | ||||
|                     "Es ist kein automatisches Nachzeichnen der Geschäftsanteile\n" + | ||||
|                     "für diese Genossenschaft eingestellt!\n" + | ||||
|                     "Bitte wenden Sie sich an die Programmierer!", "Fehler", | ||||
|                     MessageBoxButton.OK, MessageBoxImage.Information); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void PaymentButton_Click(object sender, RoutedEventArgs evt) { | ||||
|             if (SeasonInput.Value is not int year) | ||||
|                 return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user