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

@ -30,7 +30,7 @@ namespace Elwig.Helpers {
public string? Iban;
public string? Bic;
public string? UstId;
public string? UstIdNr;
public string? LfbisNr;
public string? PhoneNr;
@ -66,7 +66,7 @@ namespace Elwig.Helpers {
EmailAddress = parameters.GetValueOrDefault("CLIENT_EMAIL");
Website = parameters.GetValueOrDefault("CLIENT_WEBSITE");
LfbisNr = parameters.GetValueOrDefault("CLIENT_LFBISNR");
UstId = parameters.GetValueOrDefault("CLIENT_USTIDNR");
UstIdNr = parameters.GetValueOrDefault("CLIENT_USTIDNR");
Bic = parameters.GetValueOrDefault("CLIENT_BIC");
Iban = parameters.GetValueOrDefault("CLIENT_IBAN");
Sender2 = parameters.GetValueOrDefault("DOCUMENT_SENDER") ?? "";

View File

@ -332,7 +332,7 @@ namespace Elwig.Helpers {
return new(true, null);
}
public static ValidationResult CheckUstId(TextBox input, bool required) {
public static ValidationResult CheckUstIdNr(TextBox input, bool required) {
string text = "";
int pos = input.CaretIndex;
for (int i = 0, v = 0; i < input.Text.Length; i++) {