fixed some smaller bugs
This commit is contained in:
parent
f4d2ba6291
commit
51ad5ab3ae
@ -90,7 +90,7 @@ namespace ENI2.EditControls
|
||||
this.CREW.CrewMemberVisaNumber = this.textBoxVisaNumber.Text.Trim();
|
||||
this.CREW.CrewMemberIdentityDocumentIssuingState = (this.comboBoxIssuingState.SelectedValue == null) ? "" : (string) this.comboBoxIssuingState.SelectedValue;
|
||||
this.CREW.CrewMemberIdentityDocumentExpiryDate = this.datePickerExpiryDate.SelectedDate;
|
||||
// this.CREW.CrewMemberCountryOfBirth = (this.comboBoxCountryOfBirth.SelectedValue == null) ? "" : (string)this.comboBoxCountryOfBirth.SelectedValue;
|
||||
this.CREW.CrewMemberCountryOfBirth = (this.comboBoxCountryOfBirth.SelectedValue == null) ? "" : (string)this.comboBoxCountryOfBirth.SelectedValue;
|
||||
// this.CREW.Effects = this.textBoxEffects.Text.Trim();
|
||||
}
|
||||
|
||||
|
||||
@ -2212,6 +2212,7 @@ namespace ENI2.Excel
|
||||
crewd = new CREWD();
|
||||
crewd.Identifier = (i + 1).ToString();
|
||||
crewd.MessageHeader = crewdMessage;
|
||||
crewd.IsDeparture = true;
|
||||
crewdMessage.Elements.Add(crewd);
|
||||
}
|
||||
|
||||
@ -2263,6 +2264,7 @@ namespace ENI2.Excel
|
||||
crewd = new CREWD();
|
||||
crewd.Identifier = (i + 1).ToString();
|
||||
crewd.MessageHeader = crewdMessage;
|
||||
crewd.IsDeparture = true;
|
||||
crewdMessage.Elements.Add(crewd);
|
||||
}
|
||||
|
||||
|
||||
@ -393,7 +393,11 @@ namespace ENI2.Report
|
||||
document.LastSection.AddPageBreak();
|
||||
}
|
||||
|
||||
document.LastSection.AddParagraph(ReplaceTitle(messageParagraph.Title), "Heading2");
|
||||
string title = messageParagraph.Title;
|
||||
if (title.Equals("CREW")) title = "CREWA"; // evil
|
||||
if (title.Equals("PAS")) title = "PASA";
|
||||
|
||||
document.LastSection.AddParagraph(ReplaceTitle(title), "Heading2");
|
||||
document.LastSection.AddParagraph(ReplaceTitle(messageParagraph.Subtitle), "Heading3");
|
||||
|
||||
}
|
||||
@ -406,7 +410,11 @@ namespace ENI2.Report
|
||||
_lastOrientation = Orientation.Portrait;
|
||||
}
|
||||
|
||||
document.LastSection.AddParagraph(ReplaceTitle(messageParagraph.Title), "Heading2");
|
||||
string title = messageParagraph.Title;
|
||||
if (title.Equals("CREW")) title = "CREWA"; // evil
|
||||
if (title.Equals("PAS")) title = "PASA";
|
||||
|
||||
document.LastSection.AddParagraph(ReplaceTitle(title), "Heading2");
|
||||
document.LastSection.AddParagraph(ReplaceTitle(messageParagraph.Subtitle), "Heading3");
|
||||
}
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user