fixes for some idiotic mistakes

This commit is contained in:
Daniel Schick 2023-12-28 20:08:47 +01:00
parent c264390ac1
commit 94fcf75d4c
4 changed files with 14 additions and 2 deletions

View File

@ -93,6 +93,10 @@ namespace BreCalClient
{ {
this.ShipcallModel.Shipcall.PierSide = (this.comboBoxPierside.SelectedIndex == 0) ? true : false; this.ShipcallModel.Shipcall.PierSide = (this.comboBoxPierside.SelectedIndex == 0) ? true : false;
} }
else
{
this.ShipcallModel.Shipcall.PierSide = null;
}
this.Times.BerthInfo = this.textBoxBerthRemarks.Text.Trim(); this.Times.BerthInfo = this.textBoxBerthRemarks.Text.Trim();
this.Times.BerthId = (int?)this.comboBoxArrivalBerth.SelectedValue; this.Times.BerthId = (int?)this.comboBoxArrivalBerth.SelectedValue;

View File

@ -91,6 +91,10 @@ namespace BreCalClient
{ {
this.ShipcallModel.Shipcall.PierSide = (this.comboBoxPierside.SelectedIndex == 0) ? true : false; this.ShipcallModel.Shipcall.PierSide = (this.comboBoxPierside.SelectedIndex == 0) ? true : false;
} }
else
{
this.ShipcallModel.Shipcall.PierSide = null;
}
this.Times.BerthId = (int?)this.comboBoxDepartureBerth.SelectedValue; this.Times.BerthId = (int?)this.comboBoxDepartureBerth.SelectedValue;

View File

@ -94,6 +94,10 @@ namespace BreCalClient
{ {
this.ShipcallModel.Shipcall.PierSide = (this.comboBoxPiersideArrival.SelectedIndex == 0) ? true : false; this.ShipcallModel.Shipcall.PierSide = (this.comboBoxPiersideArrival.SelectedIndex == 0) ? true : false;
} }
else
{
this.ShipcallModel.Shipcall.PierSide = null;
}
this.Times.BerthInfo = this.textBoxBerthRemarksArrival.Text.Trim(); this.Times.BerthInfo = this.textBoxBerthRemarksArrival.Text.Trim();
this.Times.BerthId = (int?)this.comboBoxArrivalBerth.SelectedValue; this.Times.BerthId = (int?)this.comboBoxArrivalBerth.SelectedValue;

View File

@ -424,7 +424,7 @@
<data name="textPort" xml:space="preserve"> <data name="textPort" xml:space="preserve">
<value>Backbord</value> <value>Backbord</value>
</data> </data>
<data name="textStarBoard" xml:space="preserve"> <data name="textStarboard" xml:space="preserve">
<value>Steuerbord</value> <value>Steuerbord</value>
</data> </data>
</root> </root>