Changed PAX violation message

This commit is contained in:
Daniel Schick 2023-12-04 16:55:23 +01:00
parent a00cb9a791
commit 7d46f926cb

View File

@ -402,7 +402,7 @@ namespace bsmd.database
if ((this.NotificationPAX ?? false) && (!this.HasPAXDetails)) if ((this.NotificationPAX ?? false) && (!this.HasPAXDetails))
{ {
errors.Add(RuleEngine.CreateError(ValidationCode.V203, "PAX flag set but no data", null, this.Title, null, this.IsDeparture ? "PASD" : "PASA")); errors.Add(RuleEngine.CreateError(ValidationCode.V203, "PAX flag set but no data - emergency details", null, this.Title, null, this.IsDeparture ? "PASD" : "PASA"));
} }
if (!(this.NotificationPAX ?? false) && (this.HasPAXDetails)) if (!(this.NotificationPAX ?? false) && (this.HasPAXDetails))