Change UstId to UstIdNr

This commit is contained in:
2023-08-17 16:45:31 +02:00
parent 3ab2b8a8dc
commit 58235e3b02
8 changed files with 15 additions and 15 deletions

View File

@ -422,12 +422,12 @@ namespace Elwig.Windows {
InputLostFocus((TextBox)sender, Validator.CheckBic);
}
protected void UstIdInput_TextChanged(object sender, RoutedEventArgs evt) {
InputTextChanged((TextBox)sender, Validator.CheckUstId);
protected void UstIdNrInput_TextChanged(object sender, RoutedEventArgs evt) {
InputTextChanged((TextBox)sender, Validator.CheckUstIdNr);
}
protected void UstIdInput_LostFocus(object sender, RoutedEventArgs evt) {
InputLostFocus((TextBox)sender, Validator.CheckUstId);
protected void UstIdNrInput_LostFocus(object sender, RoutedEventArgs evt) {
InputLostFocus((TextBox)sender, Validator.CheckUstIdNr);
}
protected void LfbisNrInput_TextChanged(object sender, RoutedEventArgs evt) {

View File

@ -258,8 +258,8 @@
</Grid.ColumnDefinitions>
<Label Content="UID:" Margin="10,10,0,0" Grid.Column="0"/>
<TextBox x:Name="UstIdInput" Margin="0,10,10,0" Grid.Column="1" Width="120" HorizontalAlignment="Left"
TextChanged="UstIdInput_TextChanged" LostFocus="UstIdInput_LostFocus"/>
<TextBox x:Name="UstIdNrInput" Margin="0,10,10,0" Grid.Column="1" Width="120" HorizontalAlignment="Left"
TextChanged="UstIdNrInput_TextChanged" LostFocus="UstIdNrInput_LostFocus"/>
<Label Content="BetriebsNr.:" Margin="10,40,0,0" Grid.Column="0"/>
<TextBox x:Name="LfbisNrInput" Margin="0,40,10,0" Grid.Column="1" Width="64" HorizontalAlignment="Left" TextAlignment="Right"

View File

@ -346,7 +346,7 @@ namespace Elwig.Windows {
m.Iban = (IbanInput.Text == "") ? null : IbanInput.Text.Replace(" ", "");
m.Bic = (BicInput.Text == "") ? null : BicInput.Text;
m.UstId = (UstIdInput.Text == "") ? null : UstIdInput.Text;
m.UstIdNr = (UstIdNrInput.Text == "") ? null : UstIdNrInput.Text;
m.LfbisNr = (LfbisNrInput.Text == "") ? null : LfbisNrInput.Text;
m.IsBuchführend = BuchführendInput.IsChecked ?? false;
@ -476,7 +476,7 @@ namespace Elwig.Windows {
IbanInput.Text = m.Iban;
BicInput.Text = m.Bic;
UstIdInput.Text = m.UstId;
UstIdNrInput.Text = m.UstIdNr;
LfbisNrInput.Text = m.LfbisNr;
BuchführendInput.IsChecked = m.IsBuchführend;