[#46] Windows: Add PaymentAdjustmentWindow
All checks were successful
Test / Run tests (push) Successful in 2m13s
All checks were successful
Test / Run tests (push) Successful in 2m13s
This commit is contained in:
@ -301,26 +301,10 @@ namespace Elwig.Windows {
|
||||
App.FocusChartWindow(v.Year, v.AvNr);
|
||||
}
|
||||
|
||||
private async void PaymentAdjustmentButton_Click(object sender, RoutedEventArgs evt) {
|
||||
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 PaymentAdjustmentButton_Click(object sender, RoutedEventArgs evt) {
|
||||
App.FocusPaymentAdjustment(Year);
|
||||
}
|
||||
|
||||
|
||||
private async void MailButton_Click(object sender, RoutedEventArgs evt) {
|
||||
if (PaymentVariantList.SelectedItem is not PaymentVar pv)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user