Windows: Minor UI text changes
All checks were successful
Test / Run tests (push) Successful in 1m57s
All checks were successful
Test / Run tests (push) Successful in 1m57s
This commit is contained in:
@ -463,7 +463,7 @@
|
|||||||
Grid.Column="3" Width="100" Margin="72,100,10,10" HorizontalAlignment="Left" VerticalAlignment="Top"/>
|
Grid.Column="3" Width="100" Margin="72,100,10,10" HorizontalAlignment="Left" VerticalAlignment="Top"/>
|
||||||
|
|
||||||
|
|
||||||
<Label Content="GA-Wert:" Margin="10,130,0,10" Grid.Column="2"/>
|
<Label Content="GA-Wert (Nachz.):" Margin="10,130,0,10" Grid.Column="2"/>
|
||||||
<ctrl:UnitTextBox x:Name="SeasonBsValueInput" Unit="€/GA" TextChanged="SeasonPenaltyInput_TextChanged"
|
<ctrl:UnitTextBox x:Name="SeasonBsValueInput" Unit="€/GA" TextChanged="SeasonPenaltyInput_TextChanged"
|
||||||
Grid.Column="3" Width="85" Margin="0,130,10,10" HorizontalAlignment="Left" VerticalAlignment="Top"/>
|
Grid.Column="3" Width="85" Margin="0,130,10,10" HorizontalAlignment="Left" VerticalAlignment="Top"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -87,8 +87,8 @@
|
|||||||
Click="OverUnderDeliveryButton_Click"
|
Click="OverUnderDeliveryButton_Click"
|
||||||
Margin="0,90,200,10" Width="190"/>
|
Margin="0,90,200,10" Width="190"/>
|
||||||
|
|
||||||
<Button x:Name="AutoBusinessSharesButton" Content="Autom. GA nachzeichnen"
|
<Button x:Name="PaymentAdjustmentButton" Content="Anpassung"
|
||||||
Click="AutoBusinessSharesButton_Click" IsEnabled="False"
|
Click="PaymentAdjustmentButton_Click" IsEnabled="False"
|
||||||
Margin="200,90,0,10" Width="190"/>
|
Margin="200,90,0,10" Width="190"/>
|
||||||
|
|
||||||
<Button x:Name="BreakdownButton" Content="Sorten-/Qual.aufteilung"
|
<Button x:Name="BreakdownButton" Content="Sorten-/Qual.aufteilung"
|
||||||
|
@ -166,7 +166,7 @@ namespace Elwig.Windows {
|
|||||||
var valid = (s0 != null);
|
var valid = (s0 != null);
|
||||||
DeliveryConfirmationButton.IsEnabled = valid;
|
DeliveryConfirmationButton.IsEnabled = valid;
|
||||||
OverUnderDeliveryButton.IsEnabled = valid;
|
OverUnderDeliveryButton.IsEnabled = valid;
|
||||||
AutoBusinessSharesButton.IsEnabled = valid && false;
|
PaymentAdjustmentButton.IsEnabled = valid && false;
|
||||||
PaymentButton.IsEnabled = valid;
|
PaymentButton.IsEnabled = valid;
|
||||||
BreakdownButton.IsEnabled = valid;
|
BreakdownButton.IsEnabled = valid;
|
||||||
}
|
}
|
||||||
@ -211,18 +211,18 @@ namespace Elwig.Windows {
|
|||||||
Mouse.OverrideCursor = null;
|
Mouse.OverrideCursor = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void AutoBusinessSharesButton_Click(object sender, RoutedEventArgs evt) {
|
private async void PaymentAdjustmentButton_Click(object sender, RoutedEventArgs evt) {
|
||||||
if (SeasonInput.Value is not int year)
|
if (SeasonInput.Value is not int year)
|
||||||
return;
|
return;
|
||||||
if (false && App.Client.IsMatzen) {
|
if (false && App.Client.IsMatzen) {
|
||||||
AutoBusinessSharesButton.IsEnabled = false;
|
PaymentAdjustmentButton.IsEnabled = false;
|
||||||
Mouse.OverrideCursor = Cursors.AppStarting;
|
Mouse.OverrideCursor = Cursors.AppStarting;
|
||||||
|
|
||||||
var b = new Billing(year);
|
var b = new Billing(year);
|
||||||
await b.AutoAdjustBusinessShare();
|
await b.AutoAdjustBusinessShare();
|
||||||
|
|
||||||
Mouse.OverrideCursor = null;
|
Mouse.OverrideCursor = null;
|
||||||
AutoBusinessSharesButton.IsEnabled = true;
|
PaymentAdjustmentButton.IsEnabled = true;
|
||||||
} else {
|
} else {
|
||||||
MessageBox.Show(
|
MessageBox.Show(
|
||||||
"Es ist kein automatisches Nachzeichnen der Geschäftsanteile\n" +
|
"Es ist kein automatisches Nachzeichnen der Geschäftsanteile\n" +
|
||||||
|
Reference in New Issue
Block a user