Change UstId to UstIdNr
This commit is contained in:
@ -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") ?? "";
|
||||
|
@ -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++) {
|
||||
|
Reference in New Issue
Block a user