Compare commits
6 Commits
43a92d4b17
...
3ec114fbd3
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ec114fbd3 | |||
| f6153cde30 | |||
| 22aab6f72b | |||
| 33c8e85160 | |||
| b846a79462 | |||
| 81fd7f6a4c |
@ -67,6 +67,7 @@ namespace Deckungsbeitrag
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormAuftragDetail()
|
public FormAuftragDetail()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@ -76,7 +77,6 @@ namespace Deckungsbeitrag
|
|||||||
//SPEICHERN UND ABSCHLIESSEN BUTTONS WERDEN FUNKTIONSLOS UND GRAU
|
//SPEICHERN UND ABSCHLIESSEN BUTTONS WERDEN FUNKTIONSLOS UND GRAU
|
||||||
buttonSpeichern.Enabled = buttonFertig.Enabled = false;
|
buttonSpeichern.Enabled = buttonFertig.Enabled = false;
|
||||||
buttonSpeichern.BackColor = buttonFertig.BackColor = Color.Gray;
|
buttonSpeichern.BackColor = buttonFertig.BackColor = Color.Gray;
|
||||||
|
|
||||||
}
|
}
|
||||||
public FormAuftragDetail(Auftrag auftrag, Benutzer benutzer) : this()
|
public FormAuftragDetail(Auftrag auftrag, Benutzer benutzer) : this()
|
||||||
{
|
{
|
||||||
@ -106,7 +106,11 @@ namespace Deckungsbeitrag
|
|||||||
this.comboBoxFahrer.SelectedValueChanged += comboBox_SelectedValueChanged;
|
this.comboBoxFahrer.SelectedValueChanged += comboBox_SelectedValueChanged;
|
||||||
|
|
||||||
if (this.auftrag.Typ != AuftragTyp.Inventur || (this.auftrag.Typ == AuftragTyp.Inventur & this.auftrag.Status == AuftragStatus.Herrichten)) Load_OLV();
|
if (this.auftrag.Typ != AuftragTyp.Inventur || (this.auftrag.Typ == AuftragTyp.Inventur & this.auftrag.Status == AuftragStatus.Herrichten)) Load_OLV();
|
||||||
else Load_UCInventur(this.auftrag);
|
else
|
||||||
|
{
|
||||||
|
if (this.auftrag.Status == AuftragStatus.Warten) buttonSpeichern.Visible = buttonFertig.Visible = buttonSWS.Visible = false;
|
||||||
|
Load_UCInventur(this.auftrag);
|
||||||
|
}
|
||||||
|
|
||||||
this.ClientSize = new Size(this.oLVArtikel.Right + 10, this.ClientSize.Height);
|
this.ClientSize = new Size(this.oLVArtikel.Right + 10, this.ClientSize.Height);
|
||||||
//WENN STATUS VORBEREITET BUTTON FERTIG ENABLEN
|
//WENN STATUS VORBEREITET BUTTON FERTIG ENABLEN
|
||||||
@ -118,6 +122,9 @@ namespace Deckungsbeitrag
|
|||||||
Point loc = this.oLVArtikel.Location;
|
Point loc = this.oLVArtikel.Location;
|
||||||
this.oLVArtikel.Visible = false;
|
this.oLVArtikel.Visible = false;
|
||||||
string loadPath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Listen\\Inventuren") ?? "Inventuren";
|
string loadPath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Listen\\Inventuren") ?? "Inventuren";
|
||||||
|
if (ConfigurationManager.AppSettings["ConnectionString"].Split(';')[4].Split('=')[1] == "Test_Wirl") loadPath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Test\\Inventuren") ?? "Inventuren";
|
||||||
|
|
||||||
|
|
||||||
// Alle "Herrichten" Inventur Files auflisten.
|
// Alle "Herrichten" Inventur Files auflisten.
|
||||||
string[] invFiles = Directory.GetFiles(loadPath, $"Warten-{_auftrag.AuftragID.ToString()}*.csv");
|
string[] invFiles = Directory.GetFiles(loadPath, $"Warten-{_auftrag.AuftragID.ToString()}*.csv");
|
||||||
if (invFiles.Length == 0) return;
|
if (invFiles.Length == 0) return;
|
||||||
@ -127,10 +134,26 @@ namespace Deckungsbeitrag
|
|||||||
|
|
||||||
uci = new UCInventur(lines, this.benutzer, this);
|
uci = new UCInventur(lines, this.benutzer, this);
|
||||||
uci.Visible = false;
|
uci.Visible = false;
|
||||||
uci.SizeChangedForParent += () => { this.PerformLayout(); };
|
uci.SizeChangedForParent += () => { DoResize(); };
|
||||||
this.Controls.Add(uci);
|
this.Controls.Add(uci);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void DoResize()
|
||||||
|
{
|
||||||
|
if (uci != null)
|
||||||
|
{
|
||||||
|
uci.Location = this.oLVArtikel.Location = new Point(this.oLVArtikel.Location.X, fb.Bottom + 2);
|
||||||
|
uci.Visible = true;
|
||||||
|
this.ClientSize = new Size(uci.Right, uci.Bottom + buttonAbbrechen.Height + 25);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.oLVArtikel.Height = this.textBoxZusatz.Bottom - this.oLVArtikel.Top;
|
||||||
|
this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
||||||
|
}
|
||||||
|
if (fb != null) fb.Location = new Point(this.ClientSize.Width - fb.Width - 7, 0);
|
||||||
|
}
|
||||||
|
|
||||||
private void Load_OLV()
|
private void Load_OLV()
|
||||||
{
|
{
|
||||||
Generator.GenerateColumns(this.oLVArtikel, typeof(AuftragArtikel), true);
|
Generator.GenerateColumns(this.oLVArtikel, typeof(AuftragArtikel), true);
|
||||||
@ -506,8 +529,10 @@ namespace Deckungsbeitrag
|
|||||||
}
|
}
|
||||||
if (fb != null) fb.Location = new Point(this.ClientSize.Width - fb.Width - 7, 0);
|
if (fb != null) fb.Location = new Point(this.ClientSize.Width - fb.Width - 7, 0);
|
||||||
|
|
||||||
|
while (this.Right > Screen.PrimaryScreen.WorkingArea.Width)
|
||||||
|
{
|
||||||
|
this.Width--;
|
||||||
|
}
|
||||||
//if (oLVArtikel != null) this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
//if (oLVArtikel != null) this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -608,15 +633,6 @@ namespace Deckungsbeitrag
|
|||||||
if (oLVArtikel != null) this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
if (oLVArtikel != null) this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void FormAuftragDetail_Layout(object sender, LayoutEventArgs e)
|
|
||||||
{
|
|
||||||
if (fb != null) fb.Location = new Point(this.ClientSize.Width - fb.Width - 7, 0);
|
|
||||||
if (uci != null) this.ClientSize = new Size(uci.Right, uci.Bottom + buttonAbbrechen.Height + 25);
|
|
||||||
if (oLVArtikel != null) this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
|
||||||
|
|
||||||
//FormAuftragDetail_Resize(this, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void oLVArtikel_SizeChanged(object sender, EventArgs e)
|
private void oLVArtikel_SizeChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
this.ClientSize = new Size(oLVArtikel.Right + 10, oLVArtikel.Bottom + buttonAbbrechen.Height + 25);
|
||||||
|
|||||||
@ -288,23 +288,9 @@ namespace Deckungsbeitrag
|
|||||||
this.Close();
|
this.Close();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (Form.ModifierKeys == Keys.None && keyData == Keys.Insert)
|
|
||||||
{
|
|
||||||
Open_NeuerAuftrag();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return base.ProcessDialogKey(keyData);
|
return base.ProcessDialogKey(keyData);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Open_NeuerAuftrag()
|
|
||||||
{
|
|
||||||
FormNeuerAuftrag neuerAuftrag = new FormNeuerAuftrag(this.Userid);
|
|
||||||
if (neuerAuftrag.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
this.auftrag = neuerAuftrag.Auftrag;
|
|
||||||
Fach_Laden();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//DONE: Bei Transport wir ein Fach mit Aktuellem Auftrag erstellt. Das Alte wird bei Transport gespeichert.
|
//DONE: Bei Transport wir ein Fach mit Aktuellem Auftrag erstellt. Das Alte wird bei Transport gespeichert.
|
||||||
|
|||||||
@ -114,11 +114,15 @@ namespace Deckungsbeitrag
|
|||||||
this.Invoke(new Action(() =>
|
this.Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
// OLVs füllen
|
// OLVs füllen
|
||||||
if (auftraglist.Count > 0) OLV_Load(this.objectListViewAuftrag, auftraglist);
|
if (auftraglist != null & auftraglist.Count > 0) OLV_Load(this.objectListViewAuftrag, auftraglist);
|
||||||
if (sonderlist.Count > 0) OLV_Load(this.objectListViewSonder, sonderlist);
|
if (sonderlist != null & sonderlist.Count > 0) OLV_Load(this.objectListViewSonder, sonderlist);
|
||||||
if (geschaeftlist.Count > 0) OLV_Load(this.objectListViewGeschaeft, geschaeftlist);
|
if (geschaeftlist != null & geschaeftlist.Count > 0) OLV_Load(this.objectListViewGeschaeft, geschaeftlist);
|
||||||
if (rampenlist.Count > 0) OLV_Load(this.objectListViewRampe, rampenlist);
|
if (this.benutzer.Rolle != BenutzerRolle.Frottee)
|
||||||
if (vorbereitetliste.Count > 0) OLV_Load(this.objectListViewVorbereitet, vorbereitetliste);
|
{
|
||||||
|
if (rampenlist != null & rampenlist.Count > 0) OLV_Load(this.objectListViewRampe, rampenlist);
|
||||||
|
if (vorbereitetliste != null & vorbereitetliste.Count > 0) OLV_Load(this.objectListViewVorbereitet, vorbereitetliste);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// Controls aktivieren und deaktivieren nach BenutzerRolle
|
// Controls aktivieren und deaktivieren nach BenutzerRolle
|
||||||
Enable_Controls();
|
Enable_Controls();
|
||||||
@ -855,7 +859,7 @@ namespace Deckungsbeitrag
|
|||||||
if (olv.Name.Contains("Rampe")) { await GetAuftraege(ListenArt.Rampenliste); OLV_SetObjects(olv, rampenlist); }
|
if (olv.Name.Contains("Rampe")) { await GetAuftraege(ListenArt.Rampenliste); OLV_SetObjects(olv, rampenlist); }
|
||||||
if (olv.Name.Contains("Vorbereitet")) { await GetAuftraege(ListenArt.Vorbereitetliste); OLV_SetObjects(olv, vorbereitetliste); }
|
if (olv.Name.Contains("Vorbereitet")) { await GetAuftraege(ListenArt.Vorbereitetliste); OLV_SetObjects(olv, vorbereitetliste); }
|
||||||
}
|
}
|
||||||
|
GetUnvisibleColumns(olv);
|
||||||
olv.ResumeLayout(false);
|
olv.ResumeLayout(false);
|
||||||
this.UseWaitCursor = false;
|
this.UseWaitCursor = false;
|
||||||
}
|
}
|
||||||
@ -870,8 +874,8 @@ namespace Deckungsbeitrag
|
|||||||
switch (tabControlAuftragList.SelectedTab.Text)
|
switch (tabControlAuftragList.SelectedTab.Text)
|
||||||
{
|
{
|
||||||
case var t when t == "Vorbereitet": //Wenn Tab ist Vorbereitet wird Abschließen eingeblendet.
|
case var t when t == "Vorbereitet": //Wenn Tab ist Vorbereitet wird Abschließen eingeblendet.
|
||||||
if (col.Text == "Abschließen" & col.IsButton) col.IsVisible = true;
|
if (col.Text == "Abschließen") col.IsVisible = true;
|
||||||
if (col.Text == "Etikett" & col.IsButton) col.IsVisible = false;
|
if (col.Text == "Etikett") col.IsVisible = false;
|
||||||
if (col.Text == "Kunde")
|
if (col.Text == "Kunde")
|
||||||
{
|
{
|
||||||
col.HeaderCheckBox = true;
|
col.HeaderCheckBox = true;
|
||||||
@ -882,6 +886,16 @@ namespace Deckungsbeitrag
|
|||||||
if (col.IsButton) col.IsVisible = false;
|
if (col.IsButton) col.IsVisible = false;
|
||||||
if (col.Text == "FR" || col.Text == "GT" || col.Text == "KT") col.IsVisible = false;
|
if (col.Text == "FR" || col.Text == "GT" || col.Text == "KT") col.IsVisible = false;
|
||||||
break;
|
break;
|
||||||
|
case var t when t == "Geschäft":
|
||||||
|
if (col.Text == "Abschließen") col.IsVisible = true;
|
||||||
|
if (col.Text == "Etikett") col.IsVisible = false;
|
||||||
|
break;
|
||||||
|
case var t when t == "Aufträge heute":
|
||||||
|
if (this.benutzer.Rolle == BenutzerRolle.Frottee)
|
||||||
|
{
|
||||||
|
if (col.Text == "Abschließen") col.IsVisible = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
//Für alle BenutzerRollen Abschließen ausblenden.
|
//Für alle BenutzerRollen Abschließen ausblenden.
|
||||||
if (col.IsButton & col.Text == "Abschließen") col.IsVisible = false;
|
if (col.IsButton & col.Text == "Abschließen") col.IsVisible = false;
|
||||||
|
|||||||
395
AA-Forms/FormMain.Designer.cs
generated
395
AA-Forms/FormMain.Designer.cs
generated
@ -48,7 +48,15 @@ namespace Deckungsbeitrag
|
|||||||
this.tSBTourenplanung = new System.Windows.Forms.ToolStripButton();
|
this.tSBTourenplanung = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripBeenden = new System.Windows.Forms.ToolStripButton();
|
this.toolStripBeenden = new System.Windows.Forms.ToolStripButton();
|
||||||
this.panelMain = new System.Windows.Forms.Panel();
|
this.panelMain = new System.Windows.Forms.Panel();
|
||||||
this.buttonTestInventur = new System.Windows.Forms.Button();
|
this.groupBoxAuftrag = new System.Windows.Forms.GroupBox();
|
||||||
|
this.objectListViewAuftrag = new BrightIdeasSoftware.ObjectListView();
|
||||||
|
this.rBAufAbruf = new System.Windows.Forms.RadioButton();
|
||||||
|
this.rBAusgeliefert = new System.Windows.Forms.RadioButton();
|
||||||
|
this.rBFertig = new System.Windows.Forms.RadioButton();
|
||||||
|
this.rBVorbereitet = new System.Windows.Forms.RadioButton();
|
||||||
|
this.rBAlle = new System.Windows.Forms.RadioButton();
|
||||||
|
this.buttonAufAbruf = new System.Windows.Forms.Button();
|
||||||
|
this.buttonAusgeliefert = new System.Windows.Forms.Button();
|
||||||
this.buttonNeuerRegAuft = new System.Windows.Forms.Button();
|
this.buttonNeuerRegAuft = new System.Windows.Forms.Button();
|
||||||
this.panelProgress = new System.Windows.Forms.Panel();
|
this.panelProgress = new System.Windows.Forms.Panel();
|
||||||
this.buttonKundeArtikelUpdate = new System.Windows.Forms.Button();
|
this.buttonKundeArtikelUpdate = new System.Windows.Forms.Button();
|
||||||
@ -83,15 +91,6 @@ namespace Deckungsbeitrag
|
|||||||
this.labelContZahl1 = new System.Windows.Forms.Label();
|
this.labelContZahl1 = new System.Windows.Forms.Label();
|
||||||
this.label10 = new System.Windows.Forms.Label();
|
this.label10 = new System.Windows.Forms.Label();
|
||||||
this.label12 = new System.Windows.Forms.Label();
|
this.label12 = new System.Windows.Forms.Label();
|
||||||
this.groupBoxAuftrag = new System.Windows.Forms.GroupBox();
|
|
||||||
this.objectListViewAuftrag = new BrightIdeasSoftware.ObjectListView();
|
|
||||||
this.rBAufAbruf = new System.Windows.Forms.RadioButton();
|
|
||||||
this.rBAusgeliefert = new System.Windows.Forms.RadioButton();
|
|
||||||
this.rBFertig = new System.Windows.Forms.RadioButton();
|
|
||||||
this.rBVorbereitet = new System.Windows.Forms.RadioButton();
|
|
||||||
this.rBAlle = new System.Windows.Forms.RadioButton();
|
|
||||||
this.buttonAufAbruf = new System.Windows.Forms.Button();
|
|
||||||
this.buttonAusgeliefert = new System.Windows.Forms.Button();
|
|
||||||
this.groupBoxSaison = new System.Windows.Forms.GroupBox();
|
this.groupBoxSaison = new System.Windows.Forms.GroupBox();
|
||||||
this.comboBoxSaison = new System.Windows.Forms.ComboBox();
|
this.comboBoxSaison = new System.Windows.Forms.ComboBox();
|
||||||
this.buttonNeuerStand = new System.Windows.Forms.Button();
|
this.buttonNeuerStand = new System.Windows.Forms.Button();
|
||||||
@ -114,11 +113,11 @@ namespace Deckungsbeitrag
|
|||||||
this.labelScannTest = new System.Windows.Forms.Label();
|
this.labelScannTest = new System.Windows.Forms.Label();
|
||||||
this.toolStripMenu.SuspendLayout();
|
this.toolStripMenu.SuspendLayout();
|
||||||
this.panelMain.SuspendLayout();
|
this.panelMain.SuspendLayout();
|
||||||
|
this.groupBoxAuftrag.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.objectListViewAuftrag)).BeginInit();
|
||||||
this.panelProgress.SuspendLayout();
|
this.panelProgress.SuspendLayout();
|
||||||
this.groupBoxContAnz.SuspendLayout();
|
this.groupBoxContAnz.SuspendLayout();
|
||||||
this.tLPContAnz.SuspendLayout();
|
this.tLPContAnz.SuspendLayout();
|
||||||
this.groupBoxAuftrag.SuspendLayout();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.objectListViewAuftrag)).BeginInit();
|
|
||||||
this.groupBoxSaison.SuspendLayout();
|
this.groupBoxSaison.SuspendLayout();
|
||||||
this.groupBoxUpdate.SuspendLayout();
|
this.groupBoxUpdate.SuspendLayout();
|
||||||
this.tableLayoutPanelUpdate.SuspendLayout();
|
this.tableLayoutPanelUpdate.SuspendLayout();
|
||||||
@ -475,7 +474,6 @@ namespace Deckungsbeitrag
|
|||||||
//
|
//
|
||||||
this.panelMain.AllowDrop = true;
|
this.panelMain.AllowDrop = true;
|
||||||
this.panelMain.BackColor = System.Drawing.Color.White;
|
this.panelMain.BackColor = System.Drawing.Color.White;
|
||||||
this.panelMain.Controls.Add(this.buttonTestInventur);
|
|
||||||
this.panelMain.Controls.Add(this.groupBoxAuftrag);
|
this.panelMain.Controls.Add(this.groupBoxAuftrag);
|
||||||
this.panelMain.Controls.Add(this.buttonNeuerRegAuft);
|
this.panelMain.Controls.Add(this.buttonNeuerRegAuft);
|
||||||
this.panelMain.Controls.Add(this.panelProgress);
|
this.panelMain.Controls.Add(this.panelProgress);
|
||||||
@ -498,26 +496,167 @@ namespace Deckungsbeitrag
|
|||||||
this.panelMain.Paint += new System.Windows.Forms.PaintEventHandler(this.panelMain_Paint);
|
this.panelMain.Paint += new System.Windows.Forms.PaintEventHandler(this.panelMain_Paint);
|
||||||
this.panelMain.Resize += new System.EventHandler(this.panelMain_Resize);
|
this.panelMain.Resize += new System.EventHandler(this.panelMain_Resize);
|
||||||
//
|
//
|
||||||
// buttonTestInventur
|
// groupBoxAuftrag
|
||||||
//
|
//
|
||||||
this.buttonTestInventur.BackColor = System.Drawing.Color.Turquoise;
|
this.groupBoxAuftrag.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
this.buttonTestInventur.Enabled = false;
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
this.buttonTestInventur.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.buttonTestInventur.FlatAppearance.BorderSize = 0;
|
this.groupBoxAuftrag.Controls.Add(this.objectListViewAuftrag);
|
||||||
this.buttonTestInventur.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.groupBoxAuftrag.Controls.Add(this.rBAufAbruf);
|
||||||
this.buttonTestInventur.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.groupBoxAuftrag.Controls.Add(this.rBAusgeliefert);
|
||||||
this.buttonTestInventur.ForeColor = System.Drawing.Color.Black;
|
this.groupBoxAuftrag.Controls.Add(this.rBFertig);
|
||||||
this.buttonTestInventur.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
this.groupBoxAuftrag.Controls.Add(this.rBVorbereitet);
|
||||||
this.buttonTestInventur.Location = new System.Drawing.Point(357, 80);
|
this.groupBoxAuftrag.Controls.Add(this.rBAlle);
|
||||||
this.buttonTestInventur.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
|
this.groupBoxAuftrag.Controls.Add(this.buttonAufAbruf);
|
||||||
this.buttonTestInventur.Name = "buttonTestInventur";
|
this.groupBoxAuftrag.Controls.Add(this.buttonAusgeliefert);
|
||||||
this.buttonTestInventur.Size = new System.Drawing.Size(333, 50);
|
this.groupBoxAuftrag.Enabled = false;
|
||||||
this.buttonTestInventur.TabIndex = 72;
|
this.groupBoxAuftrag.Location = new System.Drawing.Point(1119, 80);
|
||||||
this.buttonTestInventur.Text = "Test Inventur";
|
this.groupBoxAuftrag.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.buttonTestInventur.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
this.groupBoxAuftrag.Name = "groupBoxAuftrag";
|
||||||
this.buttonTestInventur.UseVisualStyleBackColor = false;
|
this.groupBoxAuftrag.Padding = new System.Windows.Forms.Padding(4);
|
||||||
this.buttonTestInventur.Visible = false;
|
this.groupBoxAuftrag.Size = new System.Drawing.Size(1632, 607);
|
||||||
this.buttonTestInventur.Click += new System.EventHandler(this.buttonTestInventur_Click);
|
this.groupBoxAuftrag.TabIndex = 51;
|
||||||
|
this.groupBoxAuftrag.TabStop = false;
|
||||||
|
this.groupBoxAuftrag.Visible = false;
|
||||||
|
//
|
||||||
|
// objectListViewAuftrag
|
||||||
|
//
|
||||||
|
this.objectListViewAuftrag.AlternateRowBackColor = System.Drawing.Color.LightSteelBlue;
|
||||||
|
this.objectListViewAuftrag.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.objectListViewAuftrag.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.objectListViewAuftrag.CellEditUseWholeCell = false;
|
||||||
|
this.objectListViewAuftrag.CheckBoxes = true;
|
||||||
|
this.objectListViewAuftrag.Cursor = System.Windows.Forms.Cursors.Default;
|
||||||
|
this.objectListViewAuftrag.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.objectListViewAuftrag.FullRowSelect = true;
|
||||||
|
this.objectListViewAuftrag.GridLines = true;
|
||||||
|
this.objectListViewAuftrag.HideSelection = false;
|
||||||
|
this.objectListViewAuftrag.Location = new System.Drawing.Point(220, 17);
|
||||||
|
this.objectListViewAuftrag.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.objectListViewAuftrag.Name = "objectListViewAuftrag";
|
||||||
|
this.objectListViewAuftrag.Size = new System.Drawing.Size(1404, 582);
|
||||||
|
this.objectListViewAuftrag.TabIndex = 58;
|
||||||
|
this.objectListViewAuftrag.UseAlternatingBackColors = true;
|
||||||
|
this.objectListViewAuftrag.UseCompatibleStateImageBehavior = false;
|
||||||
|
this.objectListViewAuftrag.View = System.Windows.Forms.View.Details;
|
||||||
|
this.objectListViewAuftrag.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.objectListViewAuftrag_ItemChecked);
|
||||||
|
//
|
||||||
|
// rBAufAbruf
|
||||||
|
//
|
||||||
|
this.rBAufAbruf.AutoSize = true;
|
||||||
|
this.rBAufAbruf.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.rBAufAbruf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.rBAufAbruf.Location = new System.Drawing.Point(59, 167);
|
||||||
|
this.rBAufAbruf.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.rBAufAbruf.Name = "rBAufAbruf";
|
||||||
|
this.rBAufAbruf.Size = new System.Drawing.Size(115, 29);
|
||||||
|
this.rBAufAbruf.TabIndex = 57;
|
||||||
|
this.rBAufAbruf.TabStop = true;
|
||||||
|
this.rBAufAbruf.Text = "Auf Abruf";
|
||||||
|
this.rBAufAbruf.UseVisualStyleBackColor = true;
|
||||||
|
this.rBAufAbruf.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
||||||
|
//
|
||||||
|
// rBAusgeliefert
|
||||||
|
//
|
||||||
|
this.rBAusgeliefert.AutoSize = true;
|
||||||
|
this.rBAusgeliefert.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.rBAusgeliefert.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.rBAusgeliefert.Location = new System.Drawing.Point(36, 130);
|
||||||
|
this.rBAusgeliefert.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.rBAusgeliefert.Name = "rBAusgeliefert";
|
||||||
|
this.rBAusgeliefert.Size = new System.Drawing.Size(136, 29);
|
||||||
|
this.rBAusgeliefert.TabIndex = 54;
|
||||||
|
this.rBAusgeliefert.TabStop = true;
|
||||||
|
this.rBAusgeliefert.Text = "Ausgeliefert";
|
||||||
|
this.rBAusgeliefert.UseVisualStyleBackColor = true;
|
||||||
|
this.rBAusgeliefert.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
||||||
|
//
|
||||||
|
// rBFertig
|
||||||
|
//
|
||||||
|
this.rBFertig.AutoSize = true;
|
||||||
|
this.rBFertig.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.rBFertig.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.rBFertig.Location = new System.Drawing.Point(95, 94);
|
||||||
|
this.rBFertig.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.rBFertig.Name = "rBFertig";
|
||||||
|
this.rBFertig.Size = new System.Drawing.Size(82, 29);
|
||||||
|
this.rBFertig.TabIndex = 53;
|
||||||
|
this.rBFertig.TabStop = true;
|
||||||
|
this.rBFertig.Text = "Fertig";
|
||||||
|
this.rBFertig.UseVisualStyleBackColor = true;
|
||||||
|
this.rBFertig.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
||||||
|
//
|
||||||
|
// rBVorbereitet
|
||||||
|
//
|
||||||
|
this.rBVorbereitet.AutoSize = true;
|
||||||
|
this.rBVorbereitet.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.rBVorbereitet.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.rBVorbereitet.Location = new System.Drawing.Point(44, 57);
|
||||||
|
this.rBVorbereitet.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.rBVorbereitet.Name = "rBVorbereitet";
|
||||||
|
this.rBVorbereitet.Size = new System.Drawing.Size(128, 29);
|
||||||
|
this.rBVorbereitet.TabIndex = 52;
|
||||||
|
this.rBVorbereitet.TabStop = true;
|
||||||
|
this.rBVorbereitet.Text = "Vorbereitet";
|
||||||
|
this.rBVorbereitet.UseVisualStyleBackColor = true;
|
||||||
|
this.rBVorbereitet.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
||||||
|
//
|
||||||
|
// rBAlle
|
||||||
|
//
|
||||||
|
this.rBAlle.AutoSize = true;
|
||||||
|
this.rBAlle.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.rBAlle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.rBAlle.Location = new System.Drawing.Point(115, 20);
|
||||||
|
this.rBAlle.Margin = new System.Windows.Forms.Padding(4);
|
||||||
|
this.rBAlle.Name = "rBAlle";
|
||||||
|
this.rBAlle.Size = new System.Drawing.Size(66, 29);
|
||||||
|
this.rBAlle.TabIndex = 51;
|
||||||
|
this.rBAlle.TabStop = true;
|
||||||
|
this.rBAlle.Text = "Alle";
|
||||||
|
this.rBAlle.UseVisualStyleBackColor = true;
|
||||||
|
this.rBAlle.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
||||||
|
//
|
||||||
|
// buttonAufAbruf
|
||||||
|
//
|
||||||
|
this.buttonAufAbruf.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.buttonAufAbruf.FlatAppearance.BorderColor = System.Drawing.Color.Red;
|
||||||
|
this.buttonAufAbruf.FlatAppearance.BorderSize = 0;
|
||||||
|
this.buttonAufAbruf.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.buttonAufAbruf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.buttonAufAbruf.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.buttonAufAbruf.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.buttonAufAbruf.Location = new System.Drawing.Point(13, 265);
|
||||||
|
this.buttonAufAbruf.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
|
this.buttonAufAbruf.Name = "buttonAufAbruf";
|
||||||
|
this.buttonAufAbruf.Size = new System.Drawing.Size(200, 50);
|
||||||
|
this.buttonAufAbruf.TabIndex = 56;
|
||||||
|
this.buttonAufAbruf.Text = "AufAbruf";
|
||||||
|
this.buttonAufAbruf.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
this.buttonAufAbruf.UseVisualStyleBackColor = false;
|
||||||
|
this.buttonAufAbruf.Visible = false;
|
||||||
|
this.buttonAufAbruf.Click += new System.EventHandler(this.buttonAufAbruf_Click);
|
||||||
|
//
|
||||||
|
// buttonAusgeliefert
|
||||||
|
//
|
||||||
|
this.buttonAusgeliefert.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||||
|
this.buttonAusgeliefert.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||||
|
this.buttonAusgeliefert.FlatAppearance.BorderSize = 0;
|
||||||
|
this.buttonAusgeliefert.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.buttonAusgeliefert.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.buttonAusgeliefert.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.buttonAusgeliefert.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.buttonAusgeliefert.Location = new System.Drawing.Point(13, 209);
|
||||||
|
this.buttonAusgeliefert.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
|
this.buttonAusgeliefert.Name = "buttonAusgeliefert";
|
||||||
|
this.buttonAusgeliefert.Size = new System.Drawing.Size(200, 50);
|
||||||
|
this.buttonAusgeliefert.TabIndex = 55;
|
||||||
|
this.buttonAusgeliefert.Text = "Ausgeliefert";
|
||||||
|
this.buttonAusgeliefert.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
this.buttonAusgeliefert.UseVisualStyleBackColor = false;
|
||||||
|
this.buttonAusgeliefert.Visible = false;
|
||||||
|
this.buttonAusgeliefert.Click += new System.EventHandler(this.buttonAusgeliefert_Click);
|
||||||
//
|
//
|
||||||
// buttonNeuerRegAuft
|
// buttonNeuerRegAuft
|
||||||
//
|
//
|
||||||
@ -607,14 +746,15 @@ namespace Deckungsbeitrag
|
|||||||
// groupBoxContAnz
|
// groupBoxContAnz
|
||||||
//
|
//
|
||||||
this.groupBoxContAnz.AutoSize = true;
|
this.groupBoxContAnz.AutoSize = true;
|
||||||
|
this.groupBoxContAnz.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
this.groupBoxContAnz.Controls.Add(this.tLPContAnz);
|
this.groupBoxContAnz.Controls.Add(this.tLPContAnz);
|
||||||
this.groupBoxContAnz.Enabled = false;
|
this.groupBoxContAnz.Enabled = false;
|
||||||
this.groupBoxContAnz.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
|
this.groupBoxContAnz.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
|
||||||
this.groupBoxContAnz.Location = new System.Drawing.Point(772, 92);
|
this.groupBoxContAnz.Location = new System.Drawing.Point(375, 224);
|
||||||
this.groupBoxContAnz.Margin = new System.Windows.Forms.Padding(4);
|
this.groupBoxContAnz.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.groupBoxContAnz.Name = "groupBoxContAnz";
|
this.groupBoxContAnz.Name = "groupBoxContAnz";
|
||||||
this.groupBoxContAnz.Padding = new System.Windows.Forms.Padding(4);
|
this.groupBoxContAnz.Padding = new System.Windows.Forms.Padding(4);
|
||||||
this.groupBoxContAnz.Size = new System.Drawing.Size(988, 322);
|
this.groupBoxContAnz.Size = new System.Drawing.Size(376, 305);
|
||||||
this.groupBoxContAnz.TabIndex = 62;
|
this.groupBoxContAnz.TabIndex = 62;
|
||||||
this.groupBoxContAnz.TabStop = false;
|
this.groupBoxContAnz.TabStop = false;
|
||||||
this.groupBoxContAnz.Text = "CONT. ANZAHL / WASCHZEIT";
|
this.groupBoxContAnz.Text = "CONT. ANZAHL / WASCHZEIT";
|
||||||
@ -625,6 +765,7 @@ namespace Deckungsbeitrag
|
|||||||
// tLPContAnz
|
// tLPContAnz
|
||||||
//
|
//
|
||||||
this.tLPContAnz.AutoSize = true;
|
this.tLPContAnz.AutoSize = true;
|
||||||
|
this.tLPContAnz.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
this.tLPContAnz.ColumnCount = 4;
|
this.tLPContAnz.ColumnCount = 4;
|
||||||
this.tLPContAnz.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
this.tLPContAnz.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||||
this.tLPContAnz.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
this.tLPContAnz.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||||
@ -668,7 +809,7 @@ namespace Deckungsbeitrag
|
|||||||
this.tLPContAnz.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
|
this.tLPContAnz.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
|
||||||
this.tLPContAnz.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
|
this.tLPContAnz.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
|
||||||
this.tLPContAnz.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
|
this.tLPContAnz.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F));
|
||||||
this.tLPContAnz.Size = new System.Drawing.Size(475, 259);
|
this.tLPContAnz.Size = new System.Drawing.Size(364, 259);
|
||||||
this.tLPContAnz.TabIndex = 0;
|
this.tLPContAnz.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// label14
|
// label14
|
||||||
@ -677,7 +818,7 @@ namespace Deckungsbeitrag
|
|||||||
this.label14.Dock = System.Windows.Forms.DockStyle.Right;
|
this.label14.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label14.ForeColor = System.Drawing.SystemColors.ControlText;
|
this.label14.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
this.label14.Location = new System.Drawing.Point(417, 222);
|
this.label14.Location = new System.Drawing.Point(306, 222);
|
||||||
this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label14.Name = "label14";
|
this.label14.Name = "label14";
|
||||||
this.label14.Size = new System.Drawing.Size(54, 37);
|
this.label14.Size = new System.Drawing.Size(54, 37);
|
||||||
@ -733,7 +874,7 @@ namespace Deckungsbeitrag
|
|||||||
this.label5.Dock = System.Windows.Forms.DockStyle.Right;
|
this.label5.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
|
this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
this.label5.Location = new System.Drawing.Point(421, 185);
|
this.label5.Location = new System.Drawing.Point(310, 185);
|
||||||
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(50, 37);
|
this.label5.Size = new System.Drawing.Size(50, 37);
|
||||||
@ -789,7 +930,7 @@ namespace Deckungsbeitrag
|
|||||||
this.labelZeit52.Dock = System.Windows.Forms.DockStyle.Right;
|
this.labelZeit52.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
this.labelZeit52.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.labelZeit52.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.labelZeit52.ForeColor = System.Drawing.SystemColors.ControlText;
|
this.labelZeit52.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
this.labelZeit52.Location = new System.Drawing.Point(421, 148);
|
this.labelZeit52.Location = new System.Drawing.Point(310, 148);
|
||||||
this.labelZeit52.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.labelZeit52.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.labelZeit52.Name = "labelZeit52";
|
this.labelZeit52.Name = "labelZeit52";
|
||||||
this.labelZeit52.Size = new System.Drawing.Size(50, 37);
|
this.labelZeit52.Size = new System.Drawing.Size(50, 37);
|
||||||
@ -803,7 +944,7 @@ namespace Deckungsbeitrag
|
|||||||
this.labelZeit42.Dock = System.Windows.Forms.DockStyle.Right;
|
this.labelZeit42.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
this.labelZeit42.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.labelZeit42.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.labelZeit42.ForeColor = System.Drawing.SystemColors.ControlText;
|
this.labelZeit42.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
this.labelZeit42.Location = new System.Drawing.Point(421, 111);
|
this.labelZeit42.Location = new System.Drawing.Point(310, 111);
|
||||||
this.labelZeit42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.labelZeit42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.labelZeit42.Name = "labelZeit42";
|
this.labelZeit42.Name = "labelZeit42";
|
||||||
this.labelZeit42.Size = new System.Drawing.Size(50, 37);
|
this.labelZeit42.Size = new System.Drawing.Size(50, 37);
|
||||||
@ -817,7 +958,7 @@ namespace Deckungsbeitrag
|
|||||||
this.labelZeit32.Dock = System.Windows.Forms.DockStyle.Right;
|
this.labelZeit32.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
this.labelZeit32.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.labelZeit32.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.labelZeit32.ForeColor = System.Drawing.SystemColors.ControlText;
|
this.labelZeit32.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
this.labelZeit32.Location = new System.Drawing.Point(421, 74);
|
this.labelZeit32.Location = new System.Drawing.Point(310, 74);
|
||||||
this.labelZeit32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.labelZeit32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.labelZeit32.Name = "labelZeit32";
|
this.labelZeit32.Name = "labelZeit32";
|
||||||
this.labelZeit32.Size = new System.Drawing.Size(50, 37);
|
this.labelZeit32.Size = new System.Drawing.Size(50, 37);
|
||||||
@ -831,7 +972,7 @@ namespace Deckungsbeitrag
|
|||||||
this.labelZeit22.Dock = System.Windows.Forms.DockStyle.Right;
|
this.labelZeit22.Dock = System.Windows.Forms.DockStyle.Right;
|
||||||
this.labelZeit22.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.labelZeit22.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.labelZeit22.ForeColor = System.Drawing.SystemColors.ControlText;
|
this.labelZeit22.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
this.labelZeit22.Location = new System.Drawing.Point(421, 37);
|
this.labelZeit22.Location = new System.Drawing.Point(310, 37);
|
||||||
this.labelZeit22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.labelZeit22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.labelZeit22.Name = "labelZeit22";
|
this.labelZeit22.Name = "labelZeit22";
|
||||||
this.labelZeit22.Size = new System.Drawing.Size(50, 37);
|
this.labelZeit22.Size = new System.Drawing.Size(50, 37);
|
||||||
@ -848,7 +989,7 @@ namespace Deckungsbeitrag
|
|||||||
this.labelZeit12.Location = new System.Drawing.Point(306, 0);
|
this.labelZeit12.Location = new System.Drawing.Point(306, 0);
|
||||||
this.labelZeit12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.labelZeit12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.labelZeit12.Name = "labelZeit12";
|
this.labelZeit12.Name = "labelZeit12";
|
||||||
this.labelZeit12.Size = new System.Drawing.Size(165, 37);
|
this.labelZeit12.Size = new System.Drawing.Size(54, 37);
|
||||||
this.labelZeit12.TabIndex = 15;
|
this.labelZeit12.TabIndex = 15;
|
||||||
this.labelZeit12.Text = "2";
|
this.labelZeit12.Text = "2";
|
||||||
this.labelZeit12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.labelZeit12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
@ -1049,168 +1190,6 @@ namespace Deckungsbeitrag
|
|||||||
this.label12.Text = "Waschstraßen";
|
this.label12.Text = "Waschstraßen";
|
||||||
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
// groupBoxAuftrag
|
|
||||||
//
|
|
||||||
this.groupBoxAuftrag.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.objectListViewAuftrag);
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.rBAufAbruf);
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.rBAusgeliefert);
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.rBFertig);
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.rBVorbereitet);
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.rBAlle);
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.buttonAufAbruf);
|
|
||||||
this.groupBoxAuftrag.Controls.Add(this.buttonAusgeliefert);
|
|
||||||
this.groupBoxAuftrag.Enabled = false;
|
|
||||||
this.groupBoxAuftrag.Location = new System.Drawing.Point(1119, 80);
|
|
||||||
this.groupBoxAuftrag.Margin = new System.Windows.Forms.Padding(4);
|
|
||||||
this.groupBoxAuftrag.Name = "groupBoxAuftrag";
|
|
||||||
this.groupBoxAuftrag.Padding = new System.Windows.Forms.Padding(4);
|
|
||||||
this.groupBoxAuftrag.Size = new System.Drawing.Size(1632, 607);
|
|
||||||
this.groupBoxAuftrag.TabIndex = 51;
|
|
||||||
this.groupBoxAuftrag.TabStop = false;
|
|
||||||
this.groupBoxAuftrag.Visible = false;
|
|
||||||
//
|
|
||||||
// objectListViewAuftrag
|
|
||||||
//
|
|
||||||
this.objectListViewAuftrag.AlternateRowBackColor = System.Drawing.Color.LightSteelBlue;
|
|
||||||
this.objectListViewAuftrag.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.objectListViewAuftrag.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
||||||
this.objectListViewAuftrag.CellEditUseWholeCell = false;
|
|
||||||
this.objectListViewAuftrag.CheckBoxes = true;
|
|
||||||
this.objectListViewAuftrag.Cursor = System.Windows.Forms.Cursors.Default;
|
|
||||||
this.objectListViewAuftrag.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.objectListViewAuftrag.FullRowSelect = true;
|
|
||||||
this.objectListViewAuftrag.GridLines = true;
|
|
||||||
this.objectListViewAuftrag.HideSelection = false;
|
|
||||||
this.objectListViewAuftrag.Location = new System.Drawing.Point(220, 17);
|
|
||||||
this.objectListViewAuftrag.Margin = new System.Windows.Forms.Padding(4);
|
|
||||||
this.objectListViewAuftrag.Name = "objectListViewAuftrag";
|
|
||||||
this.objectListViewAuftrag.Size = new System.Drawing.Size(1404, 582);
|
|
||||||
this.objectListViewAuftrag.TabIndex = 58;
|
|
||||||
this.objectListViewAuftrag.UseAlternatingBackColors = true;
|
|
||||||
this.objectListViewAuftrag.UseCompatibleStateImageBehavior = false;
|
|
||||||
this.objectListViewAuftrag.View = System.Windows.Forms.View.Details;
|
|
||||||
this.objectListViewAuftrag.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.objectListViewAuftrag_ItemChecked);
|
|
||||||
//
|
|
||||||
// rBAufAbruf
|
|
||||||
//
|
|
||||||
this.rBAufAbruf.AutoSize = true;
|
|
||||||
this.rBAufAbruf.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
this.rBAufAbruf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.rBAufAbruf.Location = new System.Drawing.Point(59, 167);
|
|
||||||
this.rBAufAbruf.Margin = new System.Windows.Forms.Padding(4);
|
|
||||||
this.rBAufAbruf.Name = "rBAufAbruf";
|
|
||||||
this.rBAufAbruf.Size = new System.Drawing.Size(115, 29);
|
|
||||||
this.rBAufAbruf.TabIndex = 57;
|
|
||||||
this.rBAufAbruf.TabStop = true;
|
|
||||||
this.rBAufAbruf.Text = "Auf Abruf";
|
|
||||||
this.rBAufAbruf.UseVisualStyleBackColor = true;
|
|
||||||
this.rBAufAbruf.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
|
||||||
//
|
|
||||||
// rBAusgeliefert
|
|
||||||
//
|
|
||||||
this.rBAusgeliefert.AutoSize = true;
|
|
||||||
this.rBAusgeliefert.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
this.rBAusgeliefert.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.rBAusgeliefert.Location = new System.Drawing.Point(36, 130);
|
|
||||||
this.rBAusgeliefert.Margin = new System.Windows.Forms.Padding(4);
|
|
||||||
this.rBAusgeliefert.Name = "rBAusgeliefert";
|
|
||||||
this.rBAusgeliefert.Size = new System.Drawing.Size(136, 29);
|
|
||||||
this.rBAusgeliefert.TabIndex = 54;
|
|
||||||
this.rBAusgeliefert.TabStop = true;
|
|
||||||
this.rBAusgeliefert.Text = "Ausgeliefert";
|
|
||||||
this.rBAusgeliefert.UseVisualStyleBackColor = true;
|
|
||||||
this.rBAusgeliefert.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
|
||||||
//
|
|
||||||
// rBFertig
|
|
||||||
//
|
|
||||||
this.rBFertig.AutoSize = true;
|
|
||||||
this.rBFertig.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
this.rBFertig.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.rBFertig.Location = new System.Drawing.Point(95, 94);
|
|
||||||
this.rBFertig.Margin = new System.Windows.Forms.Padding(4);
|
|
||||||
this.rBFertig.Name = "rBFertig";
|
|
||||||
this.rBFertig.Size = new System.Drawing.Size(82, 29);
|
|
||||||
this.rBFertig.TabIndex = 53;
|
|
||||||
this.rBFertig.TabStop = true;
|
|
||||||
this.rBFertig.Text = "Fertig";
|
|
||||||
this.rBFertig.UseVisualStyleBackColor = true;
|
|
||||||
this.rBFertig.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
|
||||||
//
|
|
||||||
// rBVorbereitet
|
|
||||||
//
|
|
||||||
this.rBVorbereitet.AutoSize = true;
|
|
||||||
this.rBVorbereitet.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
this.rBVorbereitet.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.rBVorbereitet.Location = new System.Drawing.Point(44, 57);
|
|
||||||
this.rBVorbereitet.Margin = new System.Windows.Forms.Padding(4);
|
|
||||||
this.rBVorbereitet.Name = "rBVorbereitet";
|
|
||||||
this.rBVorbereitet.Size = new System.Drawing.Size(128, 29);
|
|
||||||
this.rBVorbereitet.TabIndex = 52;
|
|
||||||
this.rBVorbereitet.TabStop = true;
|
|
||||||
this.rBVorbereitet.Text = "Vorbereitet";
|
|
||||||
this.rBVorbereitet.UseVisualStyleBackColor = true;
|
|
||||||
this.rBVorbereitet.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
|
||||||
//
|
|
||||||
// rBAlle
|
|
||||||
//
|
|
||||||
this.rBAlle.AutoSize = true;
|
|
||||||
this.rBAlle.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
this.rBAlle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.rBAlle.Location = new System.Drawing.Point(115, 20);
|
|
||||||
this.rBAlle.Margin = new System.Windows.Forms.Padding(4);
|
|
||||||
this.rBAlle.Name = "rBAlle";
|
|
||||||
this.rBAlle.Size = new System.Drawing.Size(66, 29);
|
|
||||||
this.rBAlle.TabIndex = 51;
|
|
||||||
this.rBAlle.TabStop = true;
|
|
||||||
this.rBAlle.Text = "Alle";
|
|
||||||
this.rBAlle.UseVisualStyleBackColor = true;
|
|
||||||
this.rBAlle.CheckedChanged += new System.EventHandler(this.RadioButton_CheckedChanged);
|
|
||||||
//
|
|
||||||
// buttonAufAbruf
|
|
||||||
//
|
|
||||||
this.buttonAufAbruf.BackColor = System.Drawing.Color.Red;
|
|
||||||
this.buttonAufAbruf.FlatAppearance.BorderColor = System.Drawing.Color.Red;
|
|
||||||
this.buttonAufAbruf.FlatAppearance.BorderSize = 0;
|
|
||||||
this.buttonAufAbruf.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
||||||
this.buttonAufAbruf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.buttonAufAbruf.ForeColor = System.Drawing.Color.White;
|
|
||||||
this.buttonAufAbruf.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
this.buttonAufAbruf.Location = new System.Drawing.Point(13, 265);
|
|
||||||
this.buttonAufAbruf.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
||||||
this.buttonAufAbruf.Name = "buttonAufAbruf";
|
|
||||||
this.buttonAufAbruf.Size = new System.Drawing.Size(200, 50);
|
|
||||||
this.buttonAufAbruf.TabIndex = 56;
|
|
||||||
this.buttonAufAbruf.Text = "AufAbruf";
|
|
||||||
this.buttonAufAbruf.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
||||||
this.buttonAufAbruf.UseVisualStyleBackColor = false;
|
|
||||||
this.buttonAufAbruf.Visible = false;
|
|
||||||
this.buttonAufAbruf.Click += new System.EventHandler(this.buttonAufAbruf_Click);
|
|
||||||
//
|
|
||||||
// buttonAusgeliefert
|
|
||||||
//
|
|
||||||
this.buttonAusgeliefert.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
|
||||||
this.buttonAusgeliefert.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
|
||||||
this.buttonAusgeliefert.FlatAppearance.BorderSize = 0;
|
|
||||||
this.buttonAusgeliefert.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
||||||
this.buttonAusgeliefert.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.buttonAusgeliefert.ForeColor = System.Drawing.Color.White;
|
|
||||||
this.buttonAusgeliefert.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
||||||
this.buttonAusgeliefert.Location = new System.Drawing.Point(13, 209);
|
|
||||||
this.buttonAusgeliefert.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
||||||
this.buttonAusgeliefert.Name = "buttonAusgeliefert";
|
|
||||||
this.buttonAusgeliefert.Size = new System.Drawing.Size(200, 50);
|
|
||||||
this.buttonAusgeliefert.TabIndex = 55;
|
|
||||||
this.buttonAusgeliefert.Text = "Ausgeliefert";
|
|
||||||
this.buttonAusgeliefert.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
||||||
this.buttonAusgeliefert.UseVisualStyleBackColor = false;
|
|
||||||
this.buttonAusgeliefert.Visible = false;
|
|
||||||
this.buttonAusgeliefert.Click += new System.EventHandler(this.buttonAusgeliefert_Click);
|
|
||||||
//
|
|
||||||
// groupBoxSaison
|
// groupBoxSaison
|
||||||
//
|
//
|
||||||
this.groupBoxSaison.Controls.Add(this.comboBoxSaison);
|
this.groupBoxSaison.Controls.Add(this.comboBoxSaison);
|
||||||
@ -1533,7 +1512,6 @@ namespace Deckungsbeitrag
|
|||||||
this.HelpButton = true;
|
this.HelpButton = true;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
this.MinimizeBox = false;
|
|
||||||
this.MinimumSize = new System.Drawing.Size(200, 200);
|
this.MinimumSize = new System.Drawing.Size(200, 200);
|
||||||
this.Name = "FormMain";
|
this.Name = "FormMain";
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
@ -1549,14 +1527,14 @@ namespace Deckungsbeitrag
|
|||||||
this.toolStripMenu.PerformLayout();
|
this.toolStripMenu.PerformLayout();
|
||||||
this.panelMain.ResumeLayout(false);
|
this.panelMain.ResumeLayout(false);
|
||||||
this.panelMain.PerformLayout();
|
this.panelMain.PerformLayout();
|
||||||
|
this.groupBoxAuftrag.ResumeLayout(false);
|
||||||
|
this.groupBoxAuftrag.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.objectListViewAuftrag)).EndInit();
|
||||||
this.panelProgress.ResumeLayout(false);
|
this.panelProgress.ResumeLayout(false);
|
||||||
this.groupBoxContAnz.ResumeLayout(false);
|
this.groupBoxContAnz.ResumeLayout(false);
|
||||||
this.groupBoxContAnz.PerformLayout();
|
this.groupBoxContAnz.PerformLayout();
|
||||||
this.tLPContAnz.ResumeLayout(false);
|
this.tLPContAnz.ResumeLayout(false);
|
||||||
this.tLPContAnz.PerformLayout();
|
this.tLPContAnz.PerformLayout();
|
||||||
this.groupBoxAuftrag.ResumeLayout(false);
|
|
||||||
this.groupBoxAuftrag.PerformLayout();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.objectListViewAuftrag)).EndInit();
|
|
||||||
this.groupBoxSaison.ResumeLayout(false);
|
this.groupBoxSaison.ResumeLayout(false);
|
||||||
this.groupBoxUpdate.ResumeLayout(false);
|
this.groupBoxUpdate.ResumeLayout(false);
|
||||||
this.tableLayoutPanelUpdate.ResumeLayout(false);
|
this.tableLayoutPanelUpdate.ResumeLayout(false);
|
||||||
@ -1651,7 +1629,6 @@ namespace Deckungsbeitrag
|
|||||||
private System.Windows.Forms.ProgressBar progressBarKundeArtikelUpdate;
|
private System.Windows.Forms.ProgressBar progressBarKundeArtikelUpdate;
|
||||||
private System.Windows.Forms.Panel panelProgress;
|
private System.Windows.Forms.Panel panelProgress;
|
||||||
private System.Windows.Forms.Button buttonNeuerRegAuft;
|
private System.Windows.Forms.Button buttonNeuerRegAuft;
|
||||||
private System.Windows.Forms.Button buttonTestInventur;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -63,6 +63,7 @@ namespace Deckungsbeitrag
|
|||||||
private UCAuftragSuchen uCAuftrag;
|
private UCAuftragSuchen uCAuftrag;
|
||||||
private UCInventur uCInventur;
|
private UCInventur uCInventur;
|
||||||
private Screen screen = Screen.PrimaryScreen;
|
private Screen screen = Screen.PrimaryScreen;
|
||||||
|
private Kunde kunde;
|
||||||
#endregion
|
#endregion
|
||||||
public FormMain()
|
public FormMain()
|
||||||
{
|
{
|
||||||
@ -350,7 +351,8 @@ namespace Deckungsbeitrag
|
|||||||
onBoardingArt = OnboardingSchritt.NeuerAuftrag;
|
onBoardingArt = OnboardingSchritt.NeuerAuftrag;
|
||||||
if (this.benutzer.Rolle == BenutzerRolle.Fahrer) ZeigeOnboarding();
|
if (this.benutzer.Rolle == BenutzerRolle.Fahrer) ZeigeOnboarding();
|
||||||
|
|
||||||
FormNeuerAuftrag neuerAuftrag = new FormNeuerAuftrag(this.benutzer, AuftragTyp.Standart); neuerAuftrag.ShowDialog();
|
FormNeuerAuftrag neuerAuftrag = new FormNeuerAuftrag(this.benutzer, AuftragTyp.Standart);
|
||||||
|
if (neuerAuftrag.ShowDialog() == DialogResult.Abort) { this.kunde = neuerAuftrag.kunde; buttonNeueInventur_Click(this.buttonNeueInventur, null); }
|
||||||
}
|
}
|
||||||
private void buttonScannTest_Click(object sender, EventArgs e)
|
private void buttonScannTest_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@ -384,7 +386,28 @@ namespace Deckungsbeitrag
|
|||||||
}
|
}
|
||||||
private void buttonNeueInventur_Click(object sender, EventArgs e)
|
private void buttonNeueInventur_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
FormNeuerAuftrag neuerAuftrag = new FormNeuerAuftrag(this.benutzer, AuftragTyp.Inventur); neuerAuftrag.ShowDialog();
|
onBoardingArt = OnboardingSchritt.NeueInventur;
|
||||||
|
ZeigeOnboarding();
|
||||||
|
FormListe liste;
|
||||||
|
|
||||||
|
if (kunde == null)
|
||||||
|
{
|
||||||
|
liste = new FormListe(null, (int)Listentyp.Reklamationliste, "Miete");
|
||||||
|
if (liste.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
kunde = liste.kunde;
|
||||||
|
}
|
||||||
|
else return;
|
||||||
|
}
|
||||||
|
|
||||||
|
uCInventur = new UCInventur(kunde, this.benutzer);
|
||||||
|
uCInventur.UCInventur_Update += () => { this.GetInventuren(); };
|
||||||
|
uCInventur.UCInventur_Delete += Do_UCInventur_Delete;
|
||||||
|
this.panelMain.Controls.Add(uCInventur);
|
||||||
|
uCInventur.Location = new Point(100, 100);
|
||||||
|
uCInventur.BringToFront();
|
||||||
|
RegisterDragEvents(uCInventur);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -1065,6 +1088,8 @@ namespace Deckungsbeitrag
|
|||||||
}
|
}
|
||||||
|
|
||||||
string loadPath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Listen\\Inventuren") ?? "Inventuren";
|
string loadPath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Listen\\Inventuren") ?? "Inventuren";
|
||||||
|
if (ConfigurationManager.AppSettings["ConnectionString"].Split(';')[4].Split('=')[1] == "Test_Wirl") loadPath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Test\\Inventuren") ?? "Inventuren";
|
||||||
|
|
||||||
// Alle "Warten" Inventur Files auflisten.
|
// Alle "Warten" Inventur Files auflisten.
|
||||||
string[] invFiles = Directory.GetFiles(loadPath, "Warten-*.csv");
|
string[] invFiles = Directory.GetFiles(loadPath, "Warten-*.csv");
|
||||||
if (invFiles.Length == 0) return;
|
if (invFiles.Length == 0) return;
|
||||||
@ -1374,6 +1399,7 @@ namespace Deckungsbeitrag
|
|||||||
_ctr.Text = geszeit.ToString("F1") + " h";
|
_ctr.Text = geszeit.ToString("F1") + " h";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void GetSaison()
|
private void GetSaison()
|
||||||
@ -1441,27 +1467,6 @@ namespace Deckungsbeitrag
|
|||||||
textBox1.Width = (int)size.Width + 10; // +10 als Puffer
|
textBox1.Width = (int)size.Width + 10; // +10 als Puffer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buttonTestInventur_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
onBoardingArt = OnboardingSchritt.NeueInventur;
|
|
||||||
ZeigeOnboarding();
|
|
||||||
|
|
||||||
Kunde kunde = null;
|
|
||||||
FormListe liste = new FormListe(null, (int)Listentyp.Reklamationliste, "Miete");
|
|
||||||
if (liste.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
kunde = liste.kunde;
|
|
||||||
uCInventur = new UCInventur(kunde, this.benutzer);
|
|
||||||
uCInventur.UCInventur_Update += () => { this.GetInventuren(); };
|
|
||||||
uCInventur.UCInventur_Delete += Do_UCInventur_Delete;
|
|
||||||
this.panelMain.Controls.Add(uCInventur);
|
|
||||||
uCInventur.Location = new Point(100, 100);
|
|
||||||
uCInventur.BringToFront();
|
|
||||||
RegisterDragEvents(uCInventur);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//CHANGES: Fahrer können abgeholte Aufträge erstellen und ausgelieferte Aufträge markieren.
|
//CHANGES: Fahrer können abgeholte Aufträge erstellen und ausgelieferte Aufträge markieren.
|
||||||
|
|||||||
7
AA-Forms/FormNeuerAuftrag.Designer.cs
generated
7
AA-Forms/FormNeuerAuftrag.Designer.cs
generated
@ -81,7 +81,7 @@ namespace Deckungsbeitrag
|
|||||||
//
|
//
|
||||||
// buttonSpeichern
|
// buttonSpeichern
|
||||||
//
|
//
|
||||||
this.buttonSpeichern.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.buttonSpeichern.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.buttonSpeichern.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
this.buttonSpeichern.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||||
this.buttonSpeichern.CausesValidation = false;
|
this.buttonSpeichern.CausesValidation = false;
|
||||||
this.buttonSpeichern.FlatAppearance.BorderSize = 0;
|
this.buttonSpeichern.FlatAppearance.BorderSize = 0;
|
||||||
@ -101,7 +101,7 @@ namespace Deckungsbeitrag
|
|||||||
//
|
//
|
||||||
// buttonAbbrechen
|
// buttonAbbrechen
|
||||||
//
|
//
|
||||||
this.buttonAbbrechen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.buttonAbbrechen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.buttonAbbrechen.BackColor = System.Drawing.Color.Red;
|
this.buttonAbbrechen.BackColor = System.Drawing.Color.Red;
|
||||||
this.buttonAbbrechen.CausesValidation = false;
|
this.buttonAbbrechen.CausesValidation = false;
|
||||||
this.buttonAbbrechen.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.buttonAbbrechen.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
@ -386,7 +386,7 @@ namespace Deckungsbeitrag
|
|||||||
this.pictureBoxAddArtikel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.pictureBoxAddArtikel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.pictureBoxAddArtikel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
this.pictureBoxAddArtikel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||||
this.pictureBoxAddArtikel.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxAddArtikel.Image")));
|
this.pictureBoxAddArtikel.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxAddArtikel.Image")));
|
||||||
this.pictureBoxAddArtikel.Location = new System.Drawing.Point(500, 132);
|
this.pictureBoxAddArtikel.Location = new System.Drawing.Point(500, 129);
|
||||||
this.pictureBoxAddArtikel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.pictureBoxAddArtikel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
this.pictureBoxAddArtikel.Name = "pictureBoxAddArtikel";
|
this.pictureBoxAddArtikel.Name = "pictureBoxAddArtikel";
|
||||||
this.pictureBoxAddArtikel.Size = new System.Drawing.Size(44, 41);
|
this.pictureBoxAddArtikel.Size = new System.Drawing.Size(44, 41);
|
||||||
@ -419,6 +419,7 @@ namespace Deckungsbeitrag
|
|||||||
this.comboBoxArtikel.Name = "comboBoxArtikel";
|
this.comboBoxArtikel.Name = "comboBoxArtikel";
|
||||||
this.comboBoxArtikel.Size = new System.Drawing.Size(449, 38);
|
this.comboBoxArtikel.Size = new System.Drawing.Size(449, 38);
|
||||||
this.comboBoxArtikel.TabIndex = 37;
|
this.comboBoxArtikel.TabIndex = 37;
|
||||||
|
this.comboBoxArtikel.SelectedIndexChanged += new System.EventHandler(this.comboBoxArtikel_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
// label7
|
// label7
|
||||||
//
|
//
|
||||||
|
|||||||
@ -159,11 +159,11 @@ namespace Deckungsbeitrag
|
|||||||
if (kunde.Service == "Geschäft") this.comboBoxTyp.SelectedItem = AuftragTyp.Geschäft;
|
if (kunde.Service == "Geschäft") this.comboBoxTyp.SelectedItem = AuftragTyp.Geschäft;
|
||||||
else this.comboBoxTyp.SelectedItem = auftragtyp;
|
else this.comboBoxTyp.SelectedItem = auftragtyp;
|
||||||
|
|
||||||
if (this.benutzer.Rolle == BenutzerRolle.Fahrer)
|
//if (this.benutzer.Rolle == BenutzerRolle.Fahrer)
|
||||||
{
|
//{
|
||||||
this.comboBoxTyp.Enabled = true;
|
// this.comboBoxTyp.Enabled = true;
|
||||||
}
|
//}
|
||||||
else this.comboBoxTyp.Enabled = false;
|
//else this.comboBoxTyp.Enabled = false;
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@ -197,39 +197,40 @@ namespace Deckungsbeitrag
|
|||||||
{
|
{
|
||||||
if (!this.ValidateChildren(ValidationConstraints.Enabled)) return;
|
if (!this.ValidateChildren(ValidationConstraints.Enabled)) return;
|
||||||
|
|
||||||
int[] save;
|
|
||||||
if(kunde == null)
|
if(kunde == null)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Auftrag kann nicht gespeichert werden. Kein Kunde vorhanden.", "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
MessageBox.Show("Auftrag kann nicht gespeichert werden. Kein Kunde vorhanden.", "Fehler", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||||
this.textBoxKndNr.Focus();
|
this.textBoxKndNr.Focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else Auftrag = new Auftrag();
|
|
||||||
|
|
||||||
if (this.benutzer.Rolle == BenutzerRolle.Fahrer) { AuftragSpeichern(); return; }
|
this.Auftrag = Aktualisieren(kunde);
|
||||||
if ((AuftragTyp)comboBoxTyp.SelectedItem >= AuftragTyp.Standerhöhung & (AuftragTyp)comboBoxTyp.SelectedItem <= AuftragTyp.Regelmäßig) { SpezialAuftragSpeichern(); return; }
|
|
||||||
|
|
||||||
//AUFTRAG DATEN ÜBERGEBEN
|
|
||||||
Auftrag.KundeID = (int)kunde.KundeID;
|
|
||||||
|
|
||||||
// Wenn Kundennummer ist Div.Barzahler(in FormListe wenn mit ? am Anfang) wird individueller Kundename als Zusatzinfo gespeichert.
|
|
||||||
if (kunde.KundeNummer == "2320000") Auftrag.ZusatzInfo = string.IsNullOrWhiteSpace(kunde.Suchtext) ? kunde.KundeName : kunde.Suchtext;
|
|
||||||
else if (!string.IsNullOrWhiteSpace(eingabe)) Auftrag.ZusatzInfo = eingabe;
|
|
||||||
|
|
||||||
if (Auftrag.AufgabeID == null) { if (kunde.Aufgabe != null) Auftrag.AufgabeID = kunde.Aufgabe; }
|
|
||||||
Auftrag.Liefertag = this.dTPLiefertag.Value;
|
|
||||||
Auftrag.Container = int.Parse(this.textBoxCont.Text);
|
|
||||||
Auftrag.ErstelltVon = (int)this.benutzer.BenutzerID;
|
|
||||||
Auftrag.Erstellt = DateTime.Now;
|
|
||||||
Auftrag.Container = int.Parse(this.textBoxCont.Text);
|
|
||||||
Auftrag.Typ = (AuftragTyp)comboBoxTyp.SelectedItem;
|
|
||||||
Auftrag.ArbeiterID = this.comboBoxFahrer.SelectedIndex == -1 ? null : ((Benutzer)this.comboBoxFahrer.SelectedItem).BenutzerID;
|
|
||||||
Auftrag.Abteilungen = AbteilungsStatus.Keine;
|
|
||||||
Auftrag.Priority = Funktionen.GetPriority((Benutzer)this.comboBoxFahrer.SelectedItem);
|
|
||||||
if (maschine != null) Auftrag.MaschineID = (int)maschine.MaschineID;
|
|
||||||
else Auftrag.MaschineID = null;
|
|
||||||
|
|
||||||
|
// Wenn Fahrer den Auftrag speichert
|
||||||
|
if (this.benutzer.Rolle == BenutzerRolle.Fahrer) { FahrerAuftraegeSpeichern(this.Auftrag); return; }
|
||||||
|
|
||||||
|
// Wenn Expedit/Waschstrasse/Verwaltung/Admin den Auftrag speichert
|
||||||
|
switch ((AuftragTyp)comboBoxTyp.SelectedItem)
|
||||||
|
{
|
||||||
|
//case AuftragTyp.Geschäft:
|
||||||
|
// break;
|
||||||
|
//case AuftragTyp.Standart:
|
||||||
|
// break;
|
||||||
|
//case AuftragTyp.Inventur:
|
||||||
|
// break;
|
||||||
|
//case AuftragTyp.AufAbruf:
|
||||||
|
// break;
|
||||||
|
case AuftragTyp.Standerhöhung: SpezialAuftragSpeichern(Auftrag);
|
||||||
|
return;
|
||||||
|
case AuftragTyp.Standverminderung: SpezialAuftragSpeichern(Auftrag);
|
||||||
|
return;
|
||||||
|
case AuftragTyp.Regelmäßig: SpezialAuftragSpeichern(Auftrag);
|
||||||
|
return;
|
||||||
|
case AuftragTyp.Einmalig: SpezialAuftragSpeichern(Auftrag);
|
||||||
|
return;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (Auftrag.FindeAuftrag(true).Gefunden) //TODO: Aufträge zusammenführen wenn gleicher Kunde und Liefertag.
|
if (Auftrag.FindeAuftrag(true).Gefunden) //TODO: Aufträge zusammenführen wenn gleicher Kunde und Liefertag.
|
||||||
{
|
{
|
||||||
@ -249,7 +250,7 @@ namespace Deckungsbeitrag
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Speichern von AUFTRAG
|
//Speichern von AUFTRAG
|
||||||
save = Auftrag.Save();
|
Auftrag.Save();
|
||||||
//GetInventurCSV();
|
//GetInventurCSV();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -259,7 +260,7 @@ namespace Deckungsbeitrag
|
|||||||
{
|
{
|
||||||
if (Auftrag.Save()[1] == 1) this.Close();
|
if (Auftrag.Save()[1] == 1) this.Close();
|
||||||
}
|
}
|
||||||
else save = Auftrag.Save();
|
else Auftrag.Save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else { Auftrag = new Auftrag(); FormNeuerAuftrag_Load(this, e); return; }
|
else { Auftrag = new Auftrag(); FormNeuerAuftrag_Load(this, e); return; }
|
||||||
@ -294,50 +295,61 @@ namespace Deckungsbeitrag
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
save = Auftrag.Save();
|
Auftrag.Save();
|
||||||
}
|
|
||||||
|
|
||||||
if (this.benutzer.Rolle == BenutzerRolle.Fahrer)
|
|
||||||
{
|
|
||||||
this.Auftrag = null;
|
|
||||||
this.kunde = Funktionen.KundenAuswahl();
|
|
||||||
if (this.kunde != null) { DatenLaden(); return; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.DialogResult = DialogResult.OK;
|
this.DialogResult = DialogResult.OK;
|
||||||
this.Close();
|
this.Close();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
private Auftrag Aktualisieren(Kunde knd)
|
||||||
private void AuftragUpdate()
|
|
||||||
{
|
{
|
||||||
//AUFTRAG DATEN ÜBERGEBEN
|
int? arbeiterID;
|
||||||
Auftrag.KundeID = (int)kunde.KundeID;
|
DateTime liefertag;
|
||||||
|
string zusatz = string.Empty;
|
||||||
|
|
||||||
if (Auftrag.AufgabeID == null) { if (kunde.Aufgabe != null) Auftrag.AufgabeID = kunde.Aufgabe; }
|
// Wenn Kundennummer ist Div.Barzahler(in FormListe wenn mit ? am Anfang) wird individueller Kundename als Zusatzinfo gespeichert.
|
||||||
Auftrag.Liefertag = this.dTPLiefertag.Value;
|
if (knd.KundeNummer == "2320000") zusatz = string.IsNullOrWhiteSpace(knd.Suchtext) ? "Kunde: " + knd.KundeName : "Kunde: " + knd.Suchtext;
|
||||||
Auftrag.Container = int.Parse(this.textBoxCont.Text);
|
else if (!string.IsNullOrWhiteSpace(eingabe)) zusatz = "Fahrerwechsel: " + eingabe;
|
||||||
Auftrag.ErstelltVon = (int)this.benutzer.BenutzerID;
|
|
||||||
Auftrag.Erstellt = DateTime.Now;
|
|
||||||
if (!this.textBoxCont.Enabled) Auftrag.Container = int.Parse(this.textBoxCont.Text);
|
|
||||||
Auftrag.Typ = (AuftragTyp)comboBoxTyp.SelectedItem;
|
|
||||||
Auftrag.ArbeiterID = this.comboBoxFahrer.SelectedIndex == -1 ? null : ((Benutzer)this.comboBoxFahrer.SelectedItem).BenutzerID;
|
|
||||||
Auftrag.Abteilungen = AbteilungsStatus.Keine;
|
|
||||||
Auftrag.Priority = Funktionen.GetPriority((Benutzer)this.comboBoxFahrer.SelectedItem);
|
|
||||||
|
|
||||||
|
Auftrag _auftrag = new Auftrag()
|
||||||
|
{
|
||||||
|
AuftragID = this.Auftrag == null ? null : this.Auftrag.AuftragID,
|
||||||
|
KundeID = (int)knd.KundeID,
|
||||||
|
ArbeiterID = arbeiterID = this.comboBoxFahrer.SelectedIndex == -1 ? null : ((Benutzer)this.comboBoxFahrer.SelectedItem).BenutzerID,
|
||||||
|
AufgabeID = knd.Aufgabe != null ? knd.Aufgabe : null,
|
||||||
|
Liefertag = liefertag = this.dTPLiefertag.Value,
|
||||||
|
Container = int.TryParse(this.textBoxCont.Text, out int i) ? i : 0,
|
||||||
|
ErstelltVon = (int)this.benutzer.BenutzerID,
|
||||||
|
Erstellt = DateTime.Now,
|
||||||
|
Typ = (AuftragTyp)comboBoxTyp.SelectedItem,
|
||||||
|
Abteilungen = AbteilungsStatus.Keine,
|
||||||
|
Priority = Funktionen.GetPriority((Benutzer)this.comboBoxFahrer.SelectedItem),
|
||||||
|
Status = this.benutzer.Rolle == BenutzerRolle.Fahrer ? AuftragStatus.Abgeholt : AuftragStatus.Herrichten,
|
||||||
|
Rhythmus = this.comboBoxRhythmus.Enabled ? (RegRhythmen)this.comboBoxRhythmus.SelectedItem : RegRhythmen.Unbekannt,
|
||||||
|
TourID = this.Auftrag.TourID == null || this.Auftrag.TourID == 0 ? GetTour(arbeiterID, liefertag) : this.Auftrag.TourID,
|
||||||
|
ZusatzInfo = zusatz,
|
||||||
|
};
|
||||||
|
|
||||||
|
return _auftrag;
|
||||||
}
|
}
|
||||||
private void SpezialAuftragSpeichern()
|
private int? GetTour(int? arbeiterID, DateTime liefertag)
|
||||||
{
|
{
|
||||||
AuftragUpdate();
|
Tour tour = null;
|
||||||
Auftrag.ArbeiterID = comboBoxFahrer.SelectedIndex != -1 ? ((Benutzer)comboBoxFahrer.SelectedItem).BenutzerID : Auftrag.FindeFahrerIDZuAuftrag(kunde, Auftrag.Liefertag);
|
do
|
||||||
Auftrag.Status = AuftragStatus.Herrichten;
|
{
|
||||||
Auftrag.Rhythmus = this.comboBoxRhythmus.Enabled ? (RegRhythmen)this.comboBoxRhythmus.SelectedItem : RegRhythmen.Unbekannt;
|
tour = Tour.FindeTour(null, arbeiterID, liefertag);
|
||||||
|
if (tour == null) Funktionen.UpdateOrSaveTour(Auftrag.TourID, Auftrag);
|
||||||
|
|
||||||
|
} while (tour == null);
|
||||||
|
|
||||||
if (Auftrag.FindeAuftrag(false).Gefunden)
|
return tour.TourID;
|
||||||
|
}
|
||||||
|
private void SpezialAuftragSpeichern(Auftrag Auftrag)
|
||||||
|
{
|
||||||
|
if (Auftrag.FindeAuftrag(true).Gefunden)
|
||||||
{
|
{
|
||||||
int aufID = Auftrag.FindeAuftrag(false).auftragID;
|
int aufID = Auftrag.FindeAuftrag(false).auftragID;
|
||||||
Auftrag auf = Auftrag.GetAuftrag(aufID); ;
|
Auftrag auf = Auftrag.GetAuftrag(aufID);
|
||||||
List<AuftragArtikel> liste = AuftragArtikel.GetList(auf.AuftragID);
|
List<AuftragArtikel> liste = AuftragArtikel.GetList(auf.AuftragID);
|
||||||
string output = string.Join(Environment.NewLine, liste.Select(a => $"{a.ArtikelName,-20} {a.Anzahl,4} Stk."));
|
string output = string.Join(Environment.NewLine, liste.Select(a => $"{a.ArtikelName,-20} {a.Anzahl,4} Stk."));
|
||||||
if (MessageBox.Show($"Es wurde ein Auftrag von {kunde.Suchtext ?? kunde.KundeName} für {auf.Liefertag.ToShortDateString()}\nmit folgenden Artikeln gefunden:\n\n{output}\nGeplanter Rhythmus: {Lieferrhythmen.Rhythmus}\n\nMöchtest du den Auftrag als erledigt markieren?", "AUFTRAG GEFUNDEN", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
if (MessageBox.Show($"Es wurde ein Auftrag von {kunde.Suchtext ?? kunde.KundeName} für {auf.Liefertag.ToShortDateString()}\nmit folgenden Artikeln gefunden:\n\n{output}\nGeplanter Rhythmus: {Lieferrhythmen.Rhythmus}\n\nMöchtest du den Auftrag als erledigt markieren?", "AUFTRAG GEFUNDEN", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||||
@ -357,15 +369,23 @@ namespace Deckungsbeitrag
|
|||||||
{
|
{
|
||||||
int? id;
|
int? id;
|
||||||
string artname;
|
string artname;
|
||||||
if (uca.Tag is Artikel)
|
if (uca.Tag != null)
|
||||||
{
|
{
|
||||||
id = ((Artikel)uca.Tag).ArtikelID;
|
if (uca.Tag is Artikel)
|
||||||
artname = ((Artikel)uca.Tag).Nummer + ((Artikel)uca.Tag).Bezeichnung;
|
{
|
||||||
|
id = ((Artikel)uca.Tag).ArtikelID;
|
||||||
|
artname = ((Artikel)uca.Tag).Nummer + ((Artikel)uca.Tag).Bezeichnung;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
id = ((KundeArtikel)uca.Tag).ArtikelID;
|
||||||
|
artname = ((KundeArtikel)uca.Tag).ArtikelNR + ((KundeArtikel)uca.Tag).ArtikelName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
id = ((KundeArtikel)uca.Tag).ArtikelID;
|
id = null;
|
||||||
artname = ((KundeArtikel)uca.Tag).ArtikelNR + ((KundeArtikel)uca.Tag).ArtikelName;
|
artname = uca.ArtikelName.ToString();
|
||||||
}
|
}
|
||||||
AuftragArtikel aufart = new AuftragArtikel()
|
AuftragArtikel aufart = new AuftragArtikel()
|
||||||
{
|
{
|
||||||
@ -381,35 +401,8 @@ namespace Deckungsbeitrag
|
|||||||
}
|
}
|
||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
|
private void FahrerAuftraegeSpeichern(Auftrag Auftrag)
|
||||||
private void AuftragSpeichern()
|
|
||||||
{
|
{
|
||||||
//AUFTRAG DATEN ÜBERGEBEN
|
|
||||||
Auftrag.KundeID = (int)kunde.KundeID;
|
|
||||||
|
|
||||||
if (Auftrag.AufgabeID == null) { if (kunde.Aufgabe != null) Auftrag.AufgabeID = kunde.Aufgabe; }
|
|
||||||
Auftrag.Liefertag = this.dTPLiefertag.Value;
|
|
||||||
Auftrag.Container = int.Parse(this.textBoxCont.Text);
|
|
||||||
Auftrag.ErstelltVon = (int)this.benutzer.BenutzerID;
|
|
||||||
Auftrag.Erstellt = DateTime.Now;
|
|
||||||
Auftrag.Container = int.Parse(this.textBoxCont.Text);
|
|
||||||
Auftrag.Typ = (AuftragTyp)comboBoxTyp.SelectedItem;
|
|
||||||
Auftrag.ArbeiterID = this.comboBoxFahrer.SelectedIndex == -1 ? null : ((Benutzer)this.comboBoxFahrer.SelectedItem).BenutzerID;
|
|
||||||
Auftrag.Status = AuftragStatus.Abgeholt;
|
|
||||||
Auftrag.Abteilungen = AbteilungsStatus.Keine;
|
|
||||||
Auftrag.Priority = Funktionen.GetPriority((Benutzer)this.comboBoxFahrer.SelectedItem);
|
|
||||||
|
|
||||||
|
|
||||||
Tour tour = null;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
tour = Tour.FindeTour(null, Auftrag.ArbeiterID, Auftrag.Liefertag);
|
|
||||||
if (tour == null) Funktionen.UpdateOrSaveTour(Auftrag.TourID, Auftrag);
|
|
||||||
|
|
||||||
} while (tour == null);
|
|
||||||
|
|
||||||
Auftrag.TourID = tour.TourID;
|
|
||||||
|
|
||||||
if (Auftrag.FindeAuftrag(false).Gefunden)
|
if (Auftrag.FindeAuftrag(false).Gefunden)
|
||||||
{
|
{
|
||||||
if (meldung.GetFrage(this, $"Der Auftrag {Kunde.GetKunde(null, Auftrag.KundeID, null).Suchtext} Liefertag {Auftrag.Liefertag.ToShortDateString()} ist bereits vorhanden.\nMöchtest du diesen bearbeiten?\n\n[JA] => Auftrag bearbeiten\n[NEIN] => Neuen Auftrag erstellen", false) == DialogResult.Yes)
|
if (meldung.GetFrage(this, $"Der Auftrag {Kunde.GetKunde(null, Auftrag.KundeID, null).Suchtext} Liefertag {Auftrag.Liefertag.ToShortDateString()} ist bereits vorhanden.\nMöchtest du diesen bearbeiten?\n\n[JA] => Auftrag bearbeiten\n[NEIN] => Neuen Auftrag erstellen", false) == DialogResult.Yes)
|
||||||
@ -428,16 +421,11 @@ namespace Deckungsbeitrag
|
|||||||
}
|
}
|
||||||
else if (Auftrag.Save()[0] != 1) meldung.Speicherfehler();
|
else if (Auftrag.Save()[0] != 1) meldung.Speicherfehler();
|
||||||
|
|
||||||
if (this.benutzer.Rolle == BenutzerRolle.Fahrer)
|
this.Auftrag = null;
|
||||||
{
|
this.kunde = Funktionen.KundenAuswahl();
|
||||||
this.Auftrag = null;
|
if (this.kunde != null) { DatenLaden(); return; }
|
||||||
this.kunde = Funktionen.KundenAuswahl();
|
else this.Close();
|
||||||
if (this.kunde != null) { DatenLaden(); return; }
|
|
||||||
else this.Close();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Container_Click(object sender, EventArgs e)
|
private void Container_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
PictureBox pb = (PictureBox)sender;
|
PictureBox pb = (PictureBox)sender;
|
||||||
@ -491,7 +479,6 @@ namespace Deckungsbeitrag
|
|||||||
{
|
{
|
||||||
dTPLiefertag_Leave(sender, e);
|
dTPLiefertag_Leave(sender, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void textBoxKndNr_Click(object sender, EventArgs e)
|
private void textBoxKndNr_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.textBoxKndNr.Clear();
|
this.textBoxKndNr.Clear();
|
||||||
@ -515,10 +502,6 @@ namespace Deckungsbeitrag
|
|||||||
if (e.KeyValue == 9) textBoxKundeName.Focus();
|
if (e.KeyValue == 9) textBoxKundeName.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DataGridView_CellEnter(object sender, DataGridViewCellEventArgs e)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Überprüfen ob die Eingabe eine Zahl ist. Es wird sonst eine Meldung angezeigt und das weiterspringen wird verhindert.
|
/// Überprüfen ob die Eingabe eine Zahl ist. Es wird sonst eine Meldung angezeigt und das weiterspringen wird verhindert.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -559,6 +542,8 @@ namespace Deckungsbeitrag
|
|||||||
this.Height = 470;
|
this.Height = 470;
|
||||||
break;
|
break;
|
||||||
case AuftragTyp.Inventur:
|
case AuftragTyp.Inventur:
|
||||||
|
this.DialogResult = DialogResult.Abort;
|
||||||
|
this.Close();
|
||||||
break;
|
break;
|
||||||
case AuftragTyp.Standerhöhung:
|
case AuftragTyp.Standerhöhung:
|
||||||
if (this.kunde == null) return;
|
if (this.kunde == null) return;
|
||||||
@ -569,6 +554,8 @@ namespace Deckungsbeitrag
|
|||||||
this.Height = 470;
|
this.Height = 470;
|
||||||
break;
|
break;
|
||||||
case AuftragTyp.Standverminderung:
|
case AuftragTyp.Standverminderung:
|
||||||
|
if (this.kunde == null) return;
|
||||||
|
|
||||||
this.panelRegAuftrag.Enabled = this.panelRegAuftrag.Visible = true;
|
this.panelRegAuftrag.Enabled = this.panelRegAuftrag.Visible = true;
|
||||||
this.pictureBoxPlus.Enabled = this.pictureBoxMinus.Enabled = this.textBoxCont.Enabled = false;
|
this.pictureBoxPlus.Enabled = this.pictureBoxMinus.Enabled = this.textBoxCont.Enabled = false;
|
||||||
this.Width = this.panelRegAuftrag.Right + 25;
|
this.Width = this.panelRegAuftrag.Right + 25;
|
||||||
@ -584,6 +571,12 @@ namespace Deckungsbeitrag
|
|||||||
this.Width = textBoxKundeName.Right + 30;
|
this.Width = textBoxKundeName.Right + 30;
|
||||||
this.Height = 470;
|
this.Height = 470;
|
||||||
break;
|
break;
|
||||||
|
case AuftragTyp.Einmalig:
|
||||||
|
this.panelRegAuftrag.Enabled = this.panelRegAuftrag.Visible = true;
|
||||||
|
this.pictureBoxPlus.Enabled = this.pictureBoxMinus.Enabled = this.textBoxCont.Enabled = false;
|
||||||
|
this.Width = this.panelRegAuftrag.Right + 25;
|
||||||
|
this.Height = 470;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -612,19 +605,28 @@ namespace Deckungsbeitrag
|
|||||||
{
|
{
|
||||||
int index = 0;
|
int index = 0;
|
||||||
int artAnzahl = 1;
|
int artAnzahl = 1;
|
||||||
|
string artname = string.Empty;
|
||||||
string anzahl = string.Empty;
|
string anzahl = string.Empty;
|
||||||
DialogResult result;
|
|
||||||
UCArtikel uca;
|
UCArtikel uca;
|
||||||
var art = this.comboBoxArtikel.SelectedItem;
|
|
||||||
do
|
artname = Interaction.InputBox($"Möchtest du einen individuellen Artikel eingeben?\n\nArtikelname:", "ARTIKELNAME WÄHLEN", "");
|
||||||
|
if (!string.IsNullOrWhiteSpace(artname))
|
||||||
{
|
{
|
||||||
if (index > 0) if (MessageBox.Show("Bitte nur ganze Zahlen eingeben.", "ACHTUNG", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.Cancel) return;
|
do
|
||||||
anzahl = Interaction.InputBox($"Wieviel Stück sollen geliefert werden?\n\nStück:", "Artikelanzahl", "");
|
{
|
||||||
index++;
|
if (index > 0) if (MessageBox.Show("Bitte nur ganze Zahlen eingeben.", "ACHTUNG", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.Cancel) return;
|
||||||
} while (!int.TryParse(anzahl, out artAnzahl));
|
anzahl = Interaction.InputBox($"Wieviel Stück sollen geliefert werden?\n\nStück:", "Artikelanzahl", "");
|
||||||
|
index++;
|
||||||
|
} while (!int.TryParse(anzahl, out artAnzahl));
|
||||||
|
}
|
||||||
|
|
||||||
if (art is Artikel) uca = new UCArtikel((Artikel)art, artAnzahl);
|
var art = new Artikel()
|
||||||
else uca = new UCArtikel((KundeArtikel)art, artAnzahl);
|
{
|
||||||
|
Bezeichnung = artname,
|
||||||
|
Nummer = 0000
|
||||||
|
};
|
||||||
|
|
||||||
|
uca = new UCArtikel(art, artAnzahl);
|
||||||
uca.Width = fLPArtikel.Width - 25;
|
uca.Width = fLPArtikel.Width - 25;
|
||||||
uca.DeleteClicked += Uca_DeleteClicked;
|
uca.DeleteClicked += Uca_DeleteClicked;
|
||||||
this.fLPArtikel.Controls.Add(uca);
|
this.fLPArtikel.Controls.Add(uca);
|
||||||
@ -637,13 +639,18 @@ namespace Deckungsbeitrag
|
|||||||
|
|
||||||
private void panelRegAuftrag_EnabledChanged(object sender, EventArgs e)
|
private void panelRegAuftrag_EnabledChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
comboBoxArtikel.SelectedIndexChanged -= comboBoxArtikel_SelectedIndexChanged;
|
||||||
|
|
||||||
Panel panel = sender as Panel;
|
Panel panel = sender as Panel;
|
||||||
int dropdownWidth = comboBoxArtikel.DropDownWidth;
|
int dropdownWidth = comboBoxArtikel.DropDownWidth;
|
||||||
if (panel.Enabled)
|
if (panel.Enabled)
|
||||||
{
|
{
|
||||||
if ((AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Regelmäßig)
|
if ((AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Regelmäßig || (AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Einmalig)
|
||||||
{
|
{
|
||||||
List<Artikel> artikelListe = Artikel.GetRegArtikelList();
|
List<Artikel> artikelListe;
|
||||||
|
if ((AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Regelmäßig) artikelListe = Artikel.GetRegArtikelList();
|
||||||
|
else artikelListe = Artikel.GetArtikelList("Alle");
|
||||||
|
|
||||||
comboBoxArtikel.DataSource = artikelListe;
|
comboBoxArtikel.DataSource = artikelListe;
|
||||||
comboBoxArtikel.DisplayMember = "Bezeichnung";
|
comboBoxArtikel.DisplayMember = "Bezeichnung";
|
||||||
foreach (Artikel art in artikelListe)
|
foreach (Artikel art in artikelListe)
|
||||||
@ -656,6 +663,7 @@ namespace Deckungsbeitrag
|
|||||||
|
|
||||||
comboBoxRhythmus.DataSource = Enum.GetValues(typeof(RegRhythmen));
|
comboBoxRhythmus.DataSource = Enum.GetValues(typeof(RegRhythmen));
|
||||||
comboBoxRhythmus.SelectedIndex = -1;
|
comboBoxRhythmus.SelectedIndex = -1;
|
||||||
|
if ((AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Einmalig) comboBoxRhythmus.Enabled = false;
|
||||||
}
|
}
|
||||||
if ((AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Standerhöhung || (AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Standverminderung)
|
if ((AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Standerhöhung || (AuftragTyp)comboBoxTyp.SelectedValue == AuftragTyp.Standverminderung)
|
||||||
{
|
{
|
||||||
@ -673,6 +681,8 @@ namespace Deckungsbeitrag
|
|||||||
comboBoxRhythmus.Enabled = false;
|
comboBoxRhythmus.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
comboBoxArtikel.SelectedIndexChanged += comboBoxArtikel_SelectedIndexChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void FormNeuerAuftrag_Shown(object sender, EventArgs e)
|
private void FormNeuerAuftrag_Shown(object sender, EventArgs e)
|
||||||
@ -698,6 +708,27 @@ namespace Deckungsbeitrag
|
|||||||
//this.Close(); // Onboarding beendet
|
//this.Close(); // Onboarding beendet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void comboBoxArtikel_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
int index = 0;
|
||||||
|
int artAnzahl = 1;
|
||||||
|
string anzahl = string.Empty;
|
||||||
|
UCArtikel uca;
|
||||||
|
var art = this.comboBoxArtikel.SelectedItem;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
if (index > 0) if (MessageBox.Show("Bitte nur ganze Zahlen eingeben.", "ACHTUNG", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.Cancel) return;
|
||||||
|
anzahl = Interaction.InputBox($"Wieviel Stück sollen geliefert werden?\n\nStück:", "Artikelanzahl", "");
|
||||||
|
index++;
|
||||||
|
} while (!int.TryParse(anzahl, out artAnzahl));
|
||||||
|
|
||||||
|
if (art is Artikel) uca = new UCArtikel((Artikel)art, artAnzahl);
|
||||||
|
else uca = new UCArtikel((KundeArtikel)art, artAnzahl);
|
||||||
|
uca.Width = fLPArtikel.Width - 25;
|
||||||
|
uca.DeleteClicked += Uca_DeleteClicked;
|
||||||
|
this.fLPArtikel.Controls.Add(uca);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//TODO: TourenListe Entwurf muss überarbeitet werden.
|
//TODO: TourenListe Entwurf muss überarbeitet werden.
|
||||||
|
|||||||
@ -57,7 +57,8 @@ namespace DatenDB
|
|||||||
Standerhöhung = 3,
|
Standerhöhung = 3,
|
||||||
Standverminderung = 4,
|
Standverminderung = 4,
|
||||||
Regelmäßig = 5,
|
Regelmäßig = 5,
|
||||||
AufAbruf = 6
|
AufAbruf = 6,
|
||||||
|
Einmalig = 7
|
||||||
}
|
}
|
||||||
|
|
||||||
[Flags]
|
[Flags]
|
||||||
@ -104,16 +105,23 @@ namespace DatenDB
|
|||||||
{
|
{
|
||||||
command.Connection = conn;
|
command.Connection = conn;
|
||||||
// Listen für FROTTEE EXPEDIT
|
// Listen für FROTTEE EXPEDIT
|
||||||
if (abtstatus != null) command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE status < {(int)status} AND status > {(int)AuftragStatus.Aufgelegt} AND (a.abteilungen_status & 2) = 0 ORDER BY liefertag ASC";
|
if (abtstatus != null)
|
||||||
|
{
|
||||||
|
if (status != null) command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE status < {(int)status} AND status > {(int)AuftragStatus.Aufgelegt} AND (a.abteilungen_status & 2) = 0 ORDER BY liefertag ASC";
|
||||||
|
else command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE typ = {(int)typ} and status < {(int)AuftragStatus.Vorbereitet} AND (a.abteilungen_status & 2) <> 0 ORDER BY liefertag ASC";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Listen für EXPEDIT
|
// Liste für EXPEDIT AUFTRÄGE HEUTE
|
||||||
// Aufträge mit: alle Typen, mit Status "Gewaschen" und "Herrichten" fällig HEUTE + 2 Tage
|
|
||||||
if (typ == null) command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE status < {(int)status} AND status > {(int)AuftragStatus.Aufgelegt} ORDER BY liefertag ASC";
|
if (typ == null) command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE status < {(int)status} AND status > {(int)AuftragStatus.Aufgelegt} ORDER BY liefertag ASC";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (status == null) command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE typ = {(int)typ} and status < {(int)AuftragStatus.Vorbereitet} ORDER BY liefertag ASC";
|
// Liste für EXPEDIT GESCHÄFT
|
||||||
else command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE typ <= {(int)typ} AND status = {(int)status} ORDER BY liefertag ASC";
|
if (status == null) command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE typ = {(int)typ} and status < {(int)AuftragStatus.Fertig} ORDER BY liefertag ASC";
|
||||||
|
else
|
||||||
|
{ // Liste für EXPEDIT VORBEREITET
|
||||||
|
command.CommandText = $"SELECT {ACOLUMNS}, k.name1 as kunde_name, k.suchtext as suchtext, u.benutzer_name as fahrer FROM {TABLE} a left join kundenverwaltung.kunde k on a.kunde_id = k.kunde_id left join kundenverwaltung.benutzer u on a.benutzer_id = u.benutzer_id WHERE typ = {(int)typ} AND status = {(int)status} ORDER BY liefertag ASC";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -450,7 +458,7 @@ namespace DatenDB
|
|||||||
command.Connection = DatenbankConnection.GetConnection();
|
command.Connection = DatenbankConnection.GetConnection();
|
||||||
if (this.Typ != AuftragTyp.Regelmäßig)
|
if (this.Typ != AuftragTyp.Regelmäßig)
|
||||||
{
|
{
|
||||||
if (exakt) command.CommandText = $"select auftrag_id from {TABLE} where kunde_id = {this.KundeID} and erstellt::date = '{this.Erstellt.Value.Date}' and liefertag = '{this.Liefertag}'";
|
if (exakt) command.CommandText = $"select auftrag_id from {TABLE} where kunde_id = {this.KundeID} and typ = {(int)this.Typ} and liefertag = '{this.Liefertag}'";
|
||||||
else command.CommandText = $"select auftrag_id from {TABLE} where kunde_id = {this.KundeID} and liefertag = '{this.Liefertag}' and status = {(int)this.Status}";
|
else command.CommandText = $"select auftrag_id from {TABLE} where kunde_id = {this.KundeID} and liefertag = '{this.Liefertag}' and status = {(int)this.Status}";
|
||||||
}
|
}
|
||||||
else command.CommandText = $"select auftrag_id from {TABLE} where kunde_id = {this.KundeID} and typ = {(int)this.Typ}";
|
else command.CommandText = $"select auftrag_id from {TABLE} where kunde_id = {this.KundeID} and typ = {(int)this.Typ}";
|
||||||
|
|||||||
@ -68,7 +68,7 @@ namespace DatenDB
|
|||||||
|
|
||||||
command.Parameters.AddWithValue("p0", this.AuftragArtikelID.Value);
|
command.Parameters.AddWithValue("p0", this.AuftragArtikelID.Value);
|
||||||
command.Parameters.AddWithValue("p1", this.AuftragID);
|
command.Parameters.AddWithValue("p1", this.AuftragID);
|
||||||
command.Parameters.AddWithValue("p2", this.ArtikelID.Value);
|
command.Parameters.AddWithValue("p2", this.ArtikelID.HasValue ? this.ArtikelID.Value : (object)DBNull.Value);
|
||||||
command.Parameters.AddWithValue("p3", string.IsNullOrWhiteSpace(this.ArtikelName) ? (object)DBNull.Value : this.ArtikelName);
|
command.Parameters.AddWithValue("p3", string.IsNullOrWhiteSpace(this.ArtikelName) ? (object)DBNull.Value : this.ArtikelName);
|
||||||
command.Parameters.AddWithValue("p4", this.Anzahl);
|
command.Parameters.AddWithValue("p4", this.Anzahl);
|
||||||
command.Parameters.AddWithValue("p5", this.Erledigt);
|
command.Parameters.AddWithValue("p5", this.Erledigt);
|
||||||
@ -86,7 +86,7 @@ namespace DatenDB
|
|||||||
{
|
{
|
||||||
this.AuftragArtikelID = reader.GetInt32(0);
|
this.AuftragArtikelID = reader.GetInt32(0);
|
||||||
this.AuftragID = reader.GetInt32(1);
|
this.AuftragID = reader.GetInt32(1);
|
||||||
this.ArtikelID = reader.GetInt32(2);
|
this.ArtikelID = reader.IsDBNull(2) ? (int?)null : reader.GetInt32(2);
|
||||||
this.ArtikelName = reader.IsDBNull(3) ? string.Empty : reader.GetString(3);
|
this.ArtikelName = reader.IsDBNull(3) ? string.Empty : reader.GetString(3);
|
||||||
this.Anzahl = reader.GetInt32(4);
|
this.Anzahl = reader.GetInt32(4);
|
||||||
this.Erledigt = reader.GetBoolean(5);
|
this.Erledigt = reader.GetBoolean(5);
|
||||||
|
|||||||
@ -94,7 +94,7 @@ namespace Deckungsbeitrag.AA_Klassen
|
|||||||
#region Konstruktors
|
#region Konstruktors
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sucht und Findet Tour wenn tTourID is null, werden BenutzerID und Liefertag benötigt
|
/// Sucht und Findet Tour wenn TourID is null, werden BenutzerID und Liefertag benötigt
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="tourID"></param>
|
/// <param name="tourID"></param>
|
||||||
/// <param name="arbeiterID"></param>
|
/// <param name="arbeiterID"></param>
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
</configSections>
|
</configSections>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="ConnectionString" value="user id=postgres;password=Ki985941Wi;host=10.10.10.1;port=5432;database=Wirl_DB_17012023;Timeout=15" />
|
<add key="ConnectionString" value="user id=postgres;password=Ki985941Wi;host=10.10.10.1;port=5432;database=Test_Wirl;Timeout=15" />
|
||||||
<add key="SortimentPfad" value="N:\\TECHNIK\\Software\\Wirl-Verwaltung\\Listen\\Kundensortiment.txt" />
|
<add key="SortimentPfad" value="N:\\TECHNIK\\Software\\Wirl-Verwaltung\\Listen\\Kundensortiment.txt" />
|
||||||
<add key="InventurPfad" value="N:\BÜRO\KUNDEN\INVENTUREN\Verwaltung" />
|
<add key="InventurPfad" value="N:\BÜRO\KUNDEN\INVENTUREN\Verwaltung" />
|
||||||
<add key="BildPfad" value="C:\\Users\\KilianWirl\\OneDrive - gehgassi GmbH\\Wäscherei Wirl\\Programme\\Deckungsbeitrag\\Deckungsbeitrag\\Star.png" />
|
<add key="BildPfad" value="C:\\Users\\KilianWirl\\OneDrive - gehgassi GmbH\\Wäscherei Wirl\\Programme\\Deckungsbeitrag\\Deckungsbeitrag\\Star.png" />
|
||||||
|
|||||||
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
//
|
//
|
||||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||||
// indem Sie "*" wie unten gezeigt eingeben:
|
// indem Sie "*" wie unten gezeigt eingeben:
|
||||||
[assembly: AssemblyVersion("1.0.8.5")]
|
[assembly: AssemblyVersion("1.0.9.1")]
|
||||||
[assembly: AssemblyFileVersion("1.0.8.5")]
|
[assembly: AssemblyFileVersion("1.0.9.1")]
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
656
UserControls/UCInventur.Designer.cs
generated
656
UserControls/UCInventur.Designer.cs
generated
@ -28,138 +28,155 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCInventur));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCInventur));
|
||||||
this.groupBoxInventur = new System.Windows.Forms.GroupBox();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.labelLieferDat = new System.Windows.Forms.Label();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.dTPLieferDat = new System.Windows.Forms.DateTimePicker();
|
this.groupBoxInventur = new System.Windows.Forms.GroupBox();
|
||||||
this.labelInvDat = new System.Windows.Forms.Label();
|
this.labelLieferDat = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.dTPLieferDat = new System.Windows.Forms.DateTimePicker();
|
||||||
this.pictureBoxClose = new System.Windows.Forms.PictureBox();
|
this.labelInvDat = new System.Windows.Forms.Label();
|
||||||
this.dTPInvDatum = new System.Windows.Forms.DateTimePicker();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.pictureBoxPlus = new System.Windows.Forms.PictureBox();
|
this.pictureBoxClose = new System.Windows.Forms.PictureBox();
|
||||||
this.dGArtikel = new System.Windows.Forms.DataGridView();
|
this.dTPInvDatum = new System.Windows.Forms.DateTimePicker();
|
||||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.pictureBoxPlus = new System.Windows.Forms.PictureBox();
|
||||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dGArtikel = new System.Windows.Forms.DataGridView();
|
||||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.buttonFreigeben = new System.Windows.Forms.Button();
|
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.panelButtons = new System.Windows.Forms.Panel();
|
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.buttonSpeichern = new System.Windows.Forms.Button();
|
this.buttonFreigeben = new System.Windows.Forms.Button();
|
||||||
this.labelInvText = new System.Windows.Forms.Label();
|
this.panelButtons = new System.Windows.Forms.Panel();
|
||||||
this.buttonAbbrechen = new System.Windows.Forms.Button();
|
this.buttonAbbrechen = new System.Windows.Forms.Button();
|
||||||
this.groupBoxInventur.SuspendLayout();
|
this.buttonSpeichern = new System.Windows.Forms.Button();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxClose)).BeginInit();
|
this.labelInvText = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlus)).BeginInit();
|
this.groupBoxInventur.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dGArtikel)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxClose)).BeginInit();
|
||||||
this.panelButtons.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlus)).BeginInit();
|
||||||
this.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)(this.dGArtikel)).BeginInit();
|
||||||
//
|
this.panelButtons.SuspendLayout();
|
||||||
// groupBoxInventur
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
this.groupBoxInventur.Controls.Add(this.labelLieferDat);
|
// groupBoxInventur
|
||||||
this.groupBoxInventur.Controls.Add(this.dTPLieferDat);
|
//
|
||||||
this.groupBoxInventur.Controls.Add(this.labelInvDat);
|
this.groupBoxInventur.Controls.Add(this.labelLieferDat);
|
||||||
this.groupBoxInventur.Controls.Add(this.label1);
|
this.groupBoxInventur.Controls.Add(this.dTPLieferDat);
|
||||||
this.groupBoxInventur.Controls.Add(this.pictureBoxClose);
|
this.groupBoxInventur.Controls.Add(this.labelInvDat);
|
||||||
this.groupBoxInventur.Controls.Add(this.dTPInvDatum);
|
this.groupBoxInventur.Controls.Add(this.label1);
|
||||||
this.groupBoxInventur.Controls.Add(this.pictureBoxPlus);
|
this.groupBoxInventur.Controls.Add(this.pictureBoxClose);
|
||||||
this.groupBoxInventur.Controls.Add(this.dGArtikel);
|
this.groupBoxInventur.Controls.Add(this.dTPInvDatum);
|
||||||
this.groupBoxInventur.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupBoxInventur.Controls.Add(this.pictureBoxPlus);
|
||||||
this.groupBoxInventur.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.groupBoxInventur.Controls.Add(this.dGArtikel);
|
||||||
this.groupBoxInventur.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
|
this.groupBoxInventur.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.groupBoxInventur.Location = new System.Drawing.Point(3, 3);
|
this.groupBoxInventur.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.groupBoxInventur.Name = "groupBoxInventur";
|
this.groupBoxInventur.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
|
||||||
this.groupBoxInventur.Padding = new System.Windows.Forms.Padding(5);
|
this.groupBoxInventur.Location = new System.Drawing.Point(3, 4);
|
||||||
this.groupBoxInventur.Size = new System.Drawing.Size(983, 485);
|
this.groupBoxInventur.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
this.groupBoxInventur.TabIndex = 0;
|
this.groupBoxInventur.Name = "groupBoxInventur";
|
||||||
this.groupBoxInventur.TabStop = false;
|
this.groupBoxInventur.Padding = new System.Windows.Forms.Padding(6);
|
||||||
this.groupBoxInventur.Text = "Inventur 000000 Kundename";
|
this.groupBoxInventur.Size = new System.Drawing.Size(1106, 563);
|
||||||
this.groupBoxInventur.Paint += new System.Windows.Forms.PaintEventHandler(this.groupBoxInventur_Paint);
|
this.groupBoxInventur.TabIndex = 0;
|
||||||
//
|
this.groupBoxInventur.TabStop = false;
|
||||||
// labelLieferDat
|
this.groupBoxInventur.Text = "Inventur 000000 Kundename";
|
||||||
//
|
this.groupBoxInventur.Paint += new System.Windows.Forms.PaintEventHandler(this.groupBoxInventur_Paint);
|
||||||
this.labelLieferDat.AutoSize = true;
|
//
|
||||||
this.labelLieferDat.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
// labelLieferDat
|
||||||
this.labelLieferDat.Location = new System.Drawing.Point(319, 46);
|
//
|
||||||
this.labelLieferDat.Name = "labelLieferDat";
|
this.labelLieferDat.AutoSize = true;
|
||||||
this.labelLieferDat.Size = new System.Drawing.Size(115, 20);
|
this.labelLieferDat.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.labelLieferDat.TabIndex = 46;
|
this.labelLieferDat.Location = new System.Drawing.Point(359, 58);
|
||||||
this.labelLieferDat.Text = "Lieferdatum:";
|
this.labelLieferDat.Name = "labelLieferDat";
|
||||||
this.labelLieferDat.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.labelLieferDat.Size = new System.Drawing.Size(99, 17);
|
||||||
//
|
this.labelLieferDat.TabIndex = 46;
|
||||||
// dTPLieferDat
|
this.labelLieferDat.Text = "Lieferdatum:";
|
||||||
//
|
this.labelLieferDat.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
this.dTPLieferDat.CalendarForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
//
|
||||||
this.dTPLieferDat.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
// dTPLieferDat
|
||||||
this.dTPLieferDat.Location = new System.Drawing.Point(440, 37);
|
//
|
||||||
this.dTPLieferDat.Name = "dTPLieferDat";
|
this.dTPLieferDat.CalendarForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||||
this.dTPLieferDat.Size = new System.Drawing.Size(161, 30);
|
this.dTPLieferDat.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
||||||
this.dTPLieferDat.TabIndex = 45;
|
this.dTPLieferDat.Location = new System.Drawing.Point(495, 46);
|
||||||
//
|
this.dTPLieferDat.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
// labelInvDat
|
this.dTPLieferDat.Name = "dTPLieferDat";
|
||||||
//
|
this.dTPLieferDat.Size = new System.Drawing.Size(181, 26);
|
||||||
this.labelInvDat.AutoSize = true;
|
this.dTPLieferDat.TabIndex = 45;
|
||||||
this.labelInvDat.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
//
|
||||||
this.labelInvDat.Location = new System.Drawing.Point(3, 46);
|
// labelInvDat
|
||||||
this.labelInvDat.Name = "labelInvDat";
|
//
|
||||||
this.labelInvDat.Size = new System.Drawing.Size(133, 20);
|
this.labelInvDat.AutoSize = true;
|
||||||
this.labelInvDat.TabIndex = 44;
|
this.labelInvDat.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.labelInvDat.Text = "Inventurdatum:";
|
this.labelInvDat.Location = new System.Drawing.Point(3, 58);
|
||||||
this.labelInvDat.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.labelInvDat.Name = "labelInvDat";
|
||||||
//
|
this.labelInvDat.Size = new System.Drawing.Size(116, 17);
|
||||||
// label1
|
this.labelInvDat.TabIndex = 44;
|
||||||
//
|
this.labelInvDat.Text = "Inventurdatum:";
|
||||||
this.label1.AutoSize = true;
|
this.labelInvDat.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
//
|
||||||
this.label1.Location = new System.Drawing.Point(697, 46);
|
// label1
|
||||||
this.label1.Name = "label1";
|
//
|
||||||
this.label1.Size = new System.Drawing.Size(245, 20);
|
this.label1.AutoSize = true;
|
||||||
this.label1.TabIndex = 43;
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label1.Text = "Lager/Lieferung hinzufügen:";
|
this.label1.Location = new System.Drawing.Point(784, 58);
|
||||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.label1.Name = "label1";
|
||||||
//
|
this.label1.Size = new System.Drawing.Size(214, 17);
|
||||||
// pictureBoxClose
|
this.label1.TabIndex = 43;
|
||||||
//
|
this.label1.Text = "Lager/Lieferung hinzufügen:";
|
||||||
this.pictureBoxClose.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBoxClose.ErrorImage")));
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
this.pictureBoxClose.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxClose.Image")));
|
//
|
||||||
this.pictureBoxClose.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBoxClose.InitialImage")));
|
// pictureBoxClose
|
||||||
this.pictureBoxClose.Location = new System.Drawing.Point(948, 7);
|
//
|
||||||
this.pictureBoxClose.Name = "pictureBoxClose";
|
this.pictureBoxClose.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBoxClose.ErrorImage")));
|
||||||
this.pictureBoxClose.Size = new System.Drawing.Size(25, 25);
|
this.pictureBoxClose.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxClose.Image")));
|
||||||
this.pictureBoxClose.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
this.pictureBoxClose.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBoxClose.InitialImage")));
|
||||||
this.pictureBoxClose.TabIndex = 42;
|
this.pictureBoxClose.Location = new System.Drawing.Point(1066, 9);
|
||||||
this.pictureBoxClose.TabStop = false;
|
this.pictureBoxClose.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
this.pictureBoxClose.Click += new System.EventHandler(this.pictureBoxClose_Click);
|
this.pictureBoxClose.Name = "pictureBoxClose";
|
||||||
//
|
this.pictureBoxClose.Size = new System.Drawing.Size(28, 31);
|
||||||
// dTPInvDatum
|
this.pictureBoxClose.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
//
|
this.pictureBoxClose.TabIndex = 42;
|
||||||
this.dTPInvDatum.CalendarForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
this.pictureBoxClose.TabStop = false;
|
||||||
this.dTPInvDatum.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
this.pictureBoxClose.Click += new System.EventHandler(this.pictureBoxClose_Click);
|
||||||
this.dTPInvDatum.Location = new System.Drawing.Point(142, 37);
|
//
|
||||||
this.dTPInvDatum.Name = "dTPInvDatum";
|
// dTPInvDatum
|
||||||
this.dTPInvDatum.Size = new System.Drawing.Size(161, 30);
|
//
|
||||||
this.dTPInvDatum.TabIndex = 41;
|
this.dTPInvDatum.CalendarForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||||
//
|
this.dTPInvDatum.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
||||||
// pictureBoxPlus
|
this.dTPInvDatum.Location = new System.Drawing.Point(160, 46);
|
||||||
//
|
this.dTPInvDatum.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
this.pictureBoxPlus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
this.dTPInvDatum.Name = "dTPInvDatum";
|
||||||
this.pictureBoxPlus.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxPlus.Image")));
|
this.dTPInvDatum.Size = new System.Drawing.Size(181, 26);
|
||||||
this.pictureBoxPlus.Location = new System.Drawing.Point(948, 37);
|
this.dTPInvDatum.TabIndex = 41;
|
||||||
this.pictureBoxPlus.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
//
|
||||||
this.pictureBoxPlus.Name = "pictureBoxPlus";
|
// pictureBoxPlus
|
||||||
this.pictureBoxPlus.Size = new System.Drawing.Size(30, 30);
|
//
|
||||||
this.pictureBoxPlus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
this.pictureBoxPlus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||||
this.pictureBoxPlus.TabIndex = 40;
|
this.pictureBoxPlus.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxPlus.Image")));
|
||||||
this.pictureBoxPlus.TabStop = false;
|
this.pictureBoxPlus.Location = new System.Drawing.Point(1066, 46);
|
||||||
this.pictureBoxPlus.Click += new System.EventHandler(this.pictureBoxPlus_Click);
|
this.pictureBoxPlus.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
//
|
this.pictureBoxPlus.Name = "pictureBoxPlus";
|
||||||
// dGArtikel
|
this.pictureBoxPlus.Size = new System.Drawing.Size(34, 38);
|
||||||
//
|
this.pictureBoxPlus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
this.dGArtikel.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.pictureBoxPlus.TabIndex = 40;
|
||||||
this.dGArtikel.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.pictureBoxPlus.TabStop = false;
|
||||||
|
this.pictureBoxPlus.Click += new System.EventHandler(this.pictureBoxPlus_Click);
|
||||||
|
//
|
||||||
|
// dGArtikel
|
||||||
|
//
|
||||||
|
this.dGArtikel.AllowUserToAddRows = false;
|
||||||
|
this.dGArtikel.AllowUserToResizeRows = false;
|
||||||
|
this.dGArtikel.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
|
||||||
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||||
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.dGArtikel.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||||
|
this.dGArtikel.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dGArtikel.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.Column1,
|
this.Column1,
|
||||||
this.Column2,
|
this.Column2,
|
||||||
this.Column3,
|
this.Column3,
|
||||||
@ -167,192 +184,195 @@
|
|||||||
this.Column5,
|
this.Column5,
|
||||||
this.Column6,
|
this.Column6,
|
||||||
this.Column7});
|
this.Column7});
|
||||||
this.dGArtikel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
this.dGArtikel.Location = new System.Drawing.Point(5, 96);
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
||||||
this.dGArtikel.Margin = new System.Windows.Forms.Padding(4);
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.dGArtikel.MinimumSize = new System.Drawing.Size(0, 350);
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
|
||||||
this.dGArtikel.Name = "dGArtikel";
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
this.dGArtikel.RowHeadersVisible = false;
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
this.dGArtikel.RowHeadersWidth = 51;
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||||
this.dGArtikel.Size = new System.Drawing.Size(973, 384);
|
this.dGArtikel.DefaultCellStyle = dataGridViewCellStyle2;
|
||||||
this.dGArtikel.TabIndex = 34;
|
this.dGArtikel.Location = new System.Drawing.Point(6, 100);
|
||||||
this.dGArtikel.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGArtikel_CellEndEdit);
|
this.dGArtikel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.dGArtikel.CellLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGArtikel_CellLeave);
|
this.dGArtikel.MinimumSize = new System.Drawing.Size(0, 438);
|
||||||
this.dGArtikel.CellMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dGArtikel_CellMouseDoubleClick);
|
this.dGArtikel.Name = "dGArtikel";
|
||||||
this.dGArtikel.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGArtikel_CellValueChanged);
|
this.dGArtikel.RowHeadersVisible = false;
|
||||||
this.dGArtikel.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.dGArtikel_DataBindingComplete);
|
this.dGArtikel.RowHeadersWidth = 51;
|
||||||
this.dGArtikel.Leave += new System.EventHandler(this.dGArtikel_Leave);
|
this.dGArtikel.Size = new System.Drawing.Size(1094, 457);
|
||||||
//
|
this.dGArtikel.TabIndex = 34;
|
||||||
// Column1
|
this.dGArtikel.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGArtikel_CellEndEdit);
|
||||||
//
|
this.dGArtikel.CellLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGArtikel_CellLeave);
|
||||||
this.Column1.DataPropertyName = "ArtikelNR";
|
this.dGArtikel.CellMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dGArtikel_CellMouseDoubleClick);
|
||||||
this.Column1.HeaderText = "Art.Nr.";
|
this.dGArtikel.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGArtikel_CellValueChanged);
|
||||||
this.Column1.MinimumWidth = 6;
|
this.dGArtikel.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.dGArtikel_DataBindingComplete);
|
||||||
this.Column1.Name = "Column1";
|
this.dGArtikel.Leave += new System.EventHandler(this.dGArtikel_Leave);
|
||||||
this.Column1.ReadOnly = true;
|
//
|
||||||
this.Column1.Width = 103;
|
// Column1
|
||||||
//
|
//
|
||||||
// Column2
|
this.Column1.DataPropertyName = "ArtikelNR";
|
||||||
//
|
this.Column1.HeaderText = "Art.Nr.";
|
||||||
this.Column2.DataPropertyName = "ArtikelName";
|
this.Column1.MinimumWidth = 6;
|
||||||
this.Column2.HeaderText = "Art.Name";
|
this.Column1.Name = "Column1";
|
||||||
this.Column2.MinimumWidth = 6;
|
this.Column1.ReadOnly = true;
|
||||||
this.Column2.Name = "Column2";
|
this.Column1.Width = 75;
|
||||||
this.Column2.ReadOnly = true;
|
//
|
||||||
this.Column2.Width = 131;
|
// Column2
|
||||||
//
|
//
|
||||||
// Column3
|
this.Column2.DataPropertyName = "ArtikelName";
|
||||||
//
|
this.Column2.HeaderText = "Art.Name";
|
||||||
this.Column3.DataPropertyName = "Stand";
|
this.Column2.MinimumWidth = 6;
|
||||||
this.Column3.HeaderText = "Ist-Stand";
|
this.Column2.Name = "Column2";
|
||||||
this.Column3.MinimumWidth = 6;
|
this.Column2.ReadOnly = true;
|
||||||
this.Column3.Name = "Column3";
|
this.Column2.Width = 96;
|
||||||
this.Column3.ReadOnly = true;
|
//
|
||||||
this.Column3.Width = 129;
|
// Column3
|
||||||
//
|
//
|
||||||
// Column4
|
this.Column3.DataPropertyName = "Stand";
|
||||||
//
|
this.Column3.HeaderText = "Ist-Stand";
|
||||||
this.Column4.DataPropertyName = "Reklamation";
|
this.Column3.MinimumWidth = 6;
|
||||||
this.Column4.HeaderText = "Rekl.";
|
this.Column3.Name = "Column3";
|
||||||
this.Column4.MinimumWidth = 6;
|
this.Column3.ReadOnly = true;
|
||||||
this.Column4.Name = "Column4";
|
this.Column3.Width = 93;
|
||||||
this.Column4.ReadOnly = true;
|
//
|
||||||
this.Column4.Width = 89;
|
// Column4
|
||||||
//
|
//
|
||||||
// Column5
|
this.Column4.DataPropertyName = "Reklamation";
|
||||||
//
|
this.Column4.HeaderText = "Rekl.";
|
||||||
this.Column5.DataPropertyName = "Fehlmenge";
|
this.Column4.MinimumWidth = 6;
|
||||||
this.Column5.HeaderText = "NW";
|
this.Column4.Name = "Column4";
|
||||||
this.Column5.MinimumWidth = 6;
|
this.Column4.ReadOnly = true;
|
||||||
this.Column5.Name = "Column5";
|
this.Column4.Width = 68;
|
||||||
this.Column5.ReadOnly = true;
|
//
|
||||||
this.Column5.Width = 77;
|
// Column5
|
||||||
//
|
//
|
||||||
// Column6
|
this.Column5.DataPropertyName = "Fehlmenge";
|
||||||
//
|
this.Column5.HeaderText = "NW";
|
||||||
this.Column6.HeaderText = "Schwund";
|
this.Column5.MinimumWidth = 6;
|
||||||
this.Column6.MinimumWidth = 6;
|
this.Column5.Name = "Column5";
|
||||||
this.Column6.Name = "Column6";
|
this.Column5.ReadOnly = true;
|
||||||
this.Column6.ReadOnly = true;
|
this.Column5.Width = 57;
|
||||||
this.Column6.Width = 130;
|
//
|
||||||
//
|
// Column6
|
||||||
// Column7
|
//
|
||||||
//
|
this.Column6.HeaderText = "Schwund";
|
||||||
this.Column7.DataPropertyName = "Korrektur";
|
this.Column6.MinimumWidth = 6;
|
||||||
this.Column7.HeaderText = "Inv.Ausgleich";
|
this.Column6.Name = "Column6";
|
||||||
this.Column7.MinimumWidth = 6;
|
this.Column6.ReadOnly = true;
|
||||||
this.Column7.Name = "Column7";
|
this.Column6.Width = 93;
|
||||||
this.Column7.ReadOnly = true;
|
//
|
||||||
this.Column7.Width = 125;
|
// Column7
|
||||||
//
|
//
|
||||||
// buttonFreigeben
|
this.Column7.DataPropertyName = "Korrektur";
|
||||||
//
|
this.Column7.HeaderText = "Inv.Ausgleich";
|
||||||
this.buttonFreigeben.AutoSize = true;
|
this.Column7.MinimumWidth = 6;
|
||||||
this.buttonFreigeben.BackColor = System.Drawing.Color.Gray;
|
this.Column7.Name = "Column7";
|
||||||
this.buttonFreigeben.CausesValidation = false;
|
this.Column7.ReadOnly = true;
|
||||||
this.buttonFreigeben.Dock = System.Windows.Forms.DockStyle.Right;
|
this.Column7.Width = 124;
|
||||||
this.buttonFreigeben.Enabled = false;
|
//
|
||||||
this.buttonFreigeben.FlatAppearance.BorderSize = 0;
|
// buttonFreigeben
|
||||||
this.buttonFreigeben.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
//
|
||||||
this.buttonFreigeben.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.buttonFreigeben.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.buttonFreigeben.ForeColor = System.Drawing.Color.Black;
|
this.buttonFreigeben.BackColor = System.Drawing.Color.Gray;
|
||||||
this.buttonFreigeben.Location = new System.Drawing.Point(776, 0);
|
this.buttonFreigeben.CausesValidation = false;
|
||||||
this.buttonFreigeben.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.buttonFreigeben.Enabled = false;
|
||||||
this.buttonFreigeben.Name = "buttonFreigeben";
|
this.buttonFreigeben.FlatAppearance.BorderSize = 0;
|
||||||
this.buttonFreigeben.Size = new System.Drawing.Size(200, 48);
|
this.buttonFreigeben.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.buttonFreigeben.TabIndex = 38;
|
this.buttonFreigeben.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.buttonFreigeben.Text = "Inventur freigeben";
|
this.buttonFreigeben.ForeColor = System.Drawing.Color.Black;
|
||||||
this.buttonFreigeben.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
this.buttonFreigeben.Location = new System.Drawing.Point(899, 5);
|
||||||
this.buttonFreigeben.UseVisualStyleBackColor = false;
|
this.buttonFreigeben.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.buttonFreigeben.Click += new System.EventHandler(this.buttonFreigeben_Click);
|
this.buttonFreigeben.Name = "buttonFreigeben";
|
||||||
//
|
this.buttonFreigeben.Size = new System.Drawing.Size(200, 40);
|
||||||
// panelButtons
|
this.buttonFreigeben.TabIndex = 38;
|
||||||
//
|
this.buttonFreigeben.Text = "Inventur freigeben";
|
||||||
this.panelButtons.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.buttonFreigeben.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||||
this.panelButtons.Controls.Add(this.buttonAbbrechen);
|
this.buttonFreigeben.UseVisualStyleBackColor = false;
|
||||||
this.panelButtons.Controls.Add(this.buttonSpeichern);
|
this.buttonFreigeben.Click += new System.EventHandler(this.buttonFreigeben_Click);
|
||||||
this.panelButtons.Controls.Add(this.labelInvText);
|
//
|
||||||
this.panelButtons.Controls.Add(this.buttonFreigeben);
|
// panelButtons
|
||||||
this.panelButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
|
//
|
||||||
this.panelButtons.Location = new System.Drawing.Point(3, 488);
|
this.panelButtons.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
this.panelButtons.Name = "panelButtons";
|
this.panelButtons.Controls.Add(this.buttonAbbrechen);
|
||||||
this.panelButtons.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
this.panelButtons.Controls.Add(this.buttonSpeichern);
|
||||||
this.panelButtons.Size = new System.Drawing.Size(983, 50);
|
this.panelButtons.Controls.Add(this.labelInvText);
|
||||||
this.panelButtons.TabIndex = 43;
|
this.panelButtons.Controls.Add(this.buttonFreigeben);
|
||||||
//
|
this.panelButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
// buttonSpeichern
|
this.panelButtons.Location = new System.Drawing.Point(3, 570);
|
||||||
//
|
this.panelButtons.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
this.buttonSpeichern.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
this.panelButtons.Name = "panelButtons";
|
||||||
this.buttonSpeichern.BackColor = System.Drawing.Color.Gray;
|
this.panelButtons.Size = new System.Drawing.Size(1106, 52);
|
||||||
this.buttonSpeichern.CausesValidation = false;
|
this.panelButtons.TabIndex = 43;
|
||||||
this.buttonSpeichern.Enabled = false;
|
//
|
||||||
this.buttonSpeichern.FlatAppearance.BorderSize = 0;
|
// buttonAbbrechen
|
||||||
this.buttonSpeichern.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
//
|
||||||
this.buttonSpeichern.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.buttonAbbrechen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.buttonSpeichern.ForeColor = System.Drawing.Color.Black;
|
this.buttonAbbrechen.BackColor = System.Drawing.Color.Red;
|
||||||
this.buttonSpeichern.Location = new System.Drawing.Point(569, 0);
|
this.buttonAbbrechen.FlatAppearance.BorderSize = 0;
|
||||||
this.buttonSpeichern.Margin = new System.Windows.Forms.Padding(5, 2, 5, 2);
|
this.buttonAbbrechen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.buttonSpeichern.MinimumSize = new System.Drawing.Size(150, 50);
|
this.buttonAbbrechen.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.buttonSpeichern.Name = "buttonSpeichern";
|
this.buttonAbbrechen.ForeColor = System.Drawing.Color.Black;
|
||||||
this.buttonSpeichern.Size = new System.Drawing.Size(200, 50);
|
this.buttonAbbrechen.Location = new System.Drawing.Point(489, 5);
|
||||||
this.buttonSpeichern.TabIndex = 40;
|
this.buttonAbbrechen.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.buttonSpeichern.Text = "Speichern";
|
this.buttonAbbrechen.Name = "buttonAbbrechen";
|
||||||
this.buttonSpeichern.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
this.buttonAbbrechen.Size = new System.Drawing.Size(200, 40);
|
||||||
this.buttonSpeichern.UseVisualStyleBackColor = false;
|
this.buttonAbbrechen.TabIndex = 41;
|
||||||
this.buttonSpeichern.Click += new System.EventHandler(this.buttonSpeichern_Click);
|
this.buttonAbbrechen.Text = "Abbrechen";
|
||||||
//
|
this.buttonAbbrechen.UseVisualStyleBackColor = false;
|
||||||
// labelInvText
|
this.buttonAbbrechen.Click += new System.EventHandler(this.buttonAbbrechen_Click);
|
||||||
//
|
//
|
||||||
this.labelInvText.AutoSize = true;
|
// buttonSpeichern
|
||||||
this.labelInvText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
//
|
||||||
this.labelInvText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
|
this.buttonSpeichern.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.labelInvText.Location = new System.Drawing.Point(8, 12);
|
this.buttonSpeichern.BackColor = System.Drawing.Color.Gray;
|
||||||
this.labelInvText.Name = "labelInvText";
|
this.buttonSpeichern.CausesValidation = false;
|
||||||
this.labelInvText.Size = new System.Drawing.Size(70, 25);
|
this.buttonSpeichern.Enabled = false;
|
||||||
this.labelInvText.TabIndex = 39;
|
this.buttonSpeichern.FlatAppearance.BorderSize = 0;
|
||||||
this.labelInvText.Text = "label1";
|
this.buttonSpeichern.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.labelInvText.Visible = false;
|
this.buttonSpeichern.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.labelInvText.Click += new System.EventHandler(this.labelInvText_Click);
|
this.buttonSpeichern.ForeColor = System.Drawing.Color.Black;
|
||||||
//
|
this.buttonSpeichern.Location = new System.Drawing.Point(694, 5);
|
||||||
// buttonAbbrechen
|
this.buttonSpeichern.Margin = new System.Windows.Forms.Padding(5);
|
||||||
//
|
this.buttonSpeichern.Name = "buttonSpeichern";
|
||||||
this.buttonAbbrechen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.buttonSpeichern.Size = new System.Drawing.Size(200, 40);
|
||||||
this.buttonAbbrechen.BackColor = System.Drawing.Color.Red;
|
this.buttonSpeichern.TabIndex = 40;
|
||||||
this.buttonAbbrechen.FlatAppearance.BorderSize = 0;
|
this.buttonSpeichern.Text = "Speichern";
|
||||||
this.buttonAbbrechen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.buttonSpeichern.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||||
this.buttonAbbrechen.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.buttonSpeichern.UseVisualStyleBackColor = false;
|
||||||
this.buttonAbbrechen.ForeColor = System.Drawing.Color.Black;
|
this.buttonSpeichern.Click += new System.EventHandler(this.buttonSpeichern_Click);
|
||||||
this.buttonAbbrechen.Location = new System.Drawing.Point(361, -1);
|
//
|
||||||
this.buttonAbbrechen.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
// labelInvText
|
||||||
this.buttonAbbrechen.Name = "buttonAbbrechen";
|
//
|
||||||
this.buttonAbbrechen.Size = new System.Drawing.Size(200, 50);
|
this.labelInvText.AutoSize = true;
|
||||||
this.buttonAbbrechen.TabIndex = 41;
|
this.labelInvText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.buttonAbbrechen.Text = "Abbrechen";
|
this.labelInvText.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
|
||||||
this.buttonAbbrechen.UseVisualStyleBackColor = false;
|
this.labelInvText.Location = new System.Drawing.Point(3, 15);
|
||||||
this.buttonAbbrechen.Click += new System.EventHandler(this.buttonAbbrechen_Click);
|
this.labelInvText.Name = "labelInvText";
|
||||||
//
|
this.labelInvText.Size = new System.Drawing.Size(57, 20);
|
||||||
// UCInventur
|
this.labelInvText.TabIndex = 39;
|
||||||
//
|
this.labelInvText.Text = "label1";
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
this.labelInvText.Visible = false;
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.labelInvText.Click += new System.EventHandler(this.labelInvText_Click);
|
||||||
this.AutoSize = true;
|
//
|
||||||
this.BackColor = System.Drawing.SystemColors.Control;
|
// UCInventur
|
||||||
this.Controls.Add(this.panelButtons);
|
//
|
||||||
this.Controls.Add(this.groupBoxInventur);
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.Margin = new System.Windows.Forms.Padding(5);
|
this.BackColor = System.Drawing.SystemColors.Control;
|
||||||
this.Name = "UCInventur";
|
this.Controls.Add(this.panelButtons);
|
||||||
this.Padding = new System.Windows.Forms.Padding(3);
|
this.Controls.Add(this.groupBoxInventur);
|
||||||
this.Size = new System.Drawing.Size(989, 541);
|
this.Margin = new System.Windows.Forms.Padding(6);
|
||||||
this.Load += new System.EventHandler(this.UCInventur_Load);
|
this.Name = "UCInventur";
|
||||||
this.SizeChanged += new System.EventHandler(this.UCInventur_SizeChanged);
|
this.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
this.groupBoxInventur.ResumeLayout(false);
|
this.Size = new System.Drawing.Size(1112, 626);
|
||||||
this.groupBoxInventur.PerformLayout();
|
this.Load += new System.EventHandler(this.UCInventur_Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxClose)).EndInit();
|
this.SizeChanged += new System.EventHandler(this.UCInventur_SizeChanged);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlus)).EndInit();
|
this.groupBoxInventur.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dGArtikel)).EndInit();
|
this.groupBoxInventur.PerformLayout();
|
||||||
this.panelButtons.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxClose)).EndInit();
|
||||||
this.panelButtons.PerformLayout();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlus)).EndInit();
|
||||||
this.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)(this.dGArtikel)).EndInit();
|
||||||
|
this.panelButtons.ResumeLayout(false);
|
||||||
|
this.panelButtons.PerformLayout();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -73,8 +73,10 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
this.lines = lines;
|
this.lines = lines;
|
||||||
this.user = benutzer;
|
this.user = benutzer;
|
||||||
this.Sender = sender;
|
this.Sender = sender;
|
||||||
this.kunde = Kunde.GetKunde(lines[1].Split(':')[1].Trim(), null, null);
|
string kndnr = lines[1].Split(':')[1].Trim();
|
||||||
this.auftrag = Auftrag.GetAuftrag(int.Parse(lines[3].Split(':')[1].Trim()));
|
int auftragnr = int.Parse(lines[3].Split(':')[1].Trim());
|
||||||
|
this.kunde = Kunde.GetKunde(kndnr, null, null);
|
||||||
|
this.auftrag = Auftrag.GetAuftrag(auftragnr);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UCInventur_Load(object sender, EventArgs e)
|
private void UCInventur_Load(object sender, EventArgs e)
|
||||||
@ -89,11 +91,11 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
Load_DGV();
|
Load_DGV();
|
||||||
if (lines != null & Sender is FormMain) pictureBoxClose_Click(sender, e);
|
if (lines != null & Sender is FormMain) pictureBoxClose_Click(sender, e);
|
||||||
|
|
||||||
if (Sender is FormAuftragDetail)
|
if (Sender is FormAuftragDetail formAuftragDetail)
|
||||||
{
|
{
|
||||||
formAuftragDetail = sender as FormAuftragDetail;
|
|
||||||
pictureBoxClose.Visible = pictureBoxClose.Enabled = false;
|
pictureBoxClose.Visible = pictureBoxClose.Enabled = false;
|
||||||
pictureBoxPlus.Visible = pictureBoxPlus.Enabled = false;
|
//pictureBoxPlus.Visible = pictureBoxPlus.Enabled = false;
|
||||||
|
buttonAbbrechen.Visible = buttonAbbrechen.Enabled = false;
|
||||||
}
|
}
|
||||||
formLoading = false;
|
formLoading = false;
|
||||||
}
|
}
|
||||||
@ -105,6 +107,7 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
artikelListe = KundeArtikel.GetInventurList(this.kunde.KundeID);
|
artikelListe = KundeArtikel.GetInventurList(this.kunde.KundeID);
|
||||||
//this.dGArtikel.DataSource = artikelListe;
|
//this.dGArtikel.DataSource = artikelListe;
|
||||||
this.dGArtikel.AllowUserToAddRows = false;
|
this.dGArtikel.AllowUserToAddRows = false;
|
||||||
|
this.dGArtikel.AllowUserToResizeColumns = true;
|
||||||
this.dGArtikel.Rows.Clear();
|
this.dGArtikel.Rows.Clear();
|
||||||
if (lines != null)
|
if (lines != null)
|
||||||
{
|
{
|
||||||
@ -189,6 +192,9 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
{
|
{
|
||||||
string text = Interaction.InputBox($"Bitte gib hier den Spaltentitel ein.\n\nTitel:", "Spaltentitel", "");
|
string text = Interaction.InputBox($"Bitte gib hier den Spaltentitel ein.\n\nTitel:", "Spaltentitel", "");
|
||||||
int cols = this.dGArtikel.Columns.Count;
|
int cols = this.dGArtikel.Columns.Count;
|
||||||
|
|
||||||
|
// Wenn Inputbox gibt string.empty zurück dann keine Column anlegen.
|
||||||
|
if (string.IsNullOrWhiteSpace(text)) return;
|
||||||
DataGridViewTextBoxColumn column = new DataGridViewTextBoxColumn()
|
DataGridViewTextBoxColumn column = new DataGridViewTextBoxColumn()
|
||||||
{
|
{
|
||||||
HeaderText = text,
|
HeaderText = text,
|
||||||
@ -256,6 +262,8 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
List<KundeArtikel> _artikelliste = this.artikelListe;
|
List<KundeArtikel> _artikelliste = this.artikelListe;
|
||||||
string status = string.Empty;
|
string status = string.Empty;
|
||||||
string savePath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Listen\\Inventuren") ?? "Inventuren";
|
string savePath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Listen\\Inventuren") ?? "Inventuren";
|
||||||
|
if (ConfigurationManager.AppSettings["ConnectionString"].Split(';')[4].Split('=')[1] == "Test_Wirl") savePath = Path.Combine(ConfigurationManager.AppSettings["DateiSavePfad"], "Test\\Inventuren") ?? "Inventuren";
|
||||||
|
|
||||||
|
|
||||||
// Inventur Status Warten wenn noch Zahlen fehlen und Herrichten wenn alle vorhanden.
|
// Inventur Status Warten wenn noch Zahlen fehlen und Herrichten wenn alle vorhanden.
|
||||||
if (btn.Text.ToString() == "Speichern") status = "Warten";
|
if (btn.Text.ToString() == "Speichern") status = "Warten";
|
||||||
@ -299,7 +307,7 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
csv.AppendLine();
|
csv.AppendLine();
|
||||||
csv.AppendLine(new string('=', 30));
|
csv.AppendLine(new string('=', 30));
|
||||||
csv.AppendLine($"Status;{cols}");
|
csv.AppendLine($"Status;{cols}");
|
||||||
//File.WriteAllText(csvPath, csv.ToString(), Encoding.UTF8);
|
File.WriteAllText(csvPath, csv.ToString(), Encoding.UTF8);
|
||||||
}
|
}
|
||||||
// NEUE Artikel ANHÄNGEN (ohne Header)
|
// NEUE Artikel ANHÄNGEN (ohne Header)
|
||||||
var appendCsv = new StringBuilder();
|
var appendCsv = new StringBuilder();
|
||||||
@ -371,7 +379,7 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
totalHeight += dgv.ColumnHeadersHeight;
|
totalHeight += dgv.ColumnHeadersHeight;
|
||||||
|
|
||||||
dgv.ClientSize = new Size(totalWidth, totalHeight);
|
dgv.ClientSize = new Size(totalWidth, totalHeight);
|
||||||
this.groupBoxInventur.ClientSize = new Size(dgv.ClientSize.Width, dgv.Height + pictureBoxPlus.Bottom + 10);
|
this.groupBoxInventur.ClientSize = new Size(dgv.Width + 10, dgv.Height + dgv.Top + 10);
|
||||||
this.ClientSize = new Size(this.groupBoxInventur.ClientSize.Width + 10, this.groupBoxInventur.Height + panelButtons.Height + 10);
|
this.ClientSize = new Size(this.groupBoxInventur.ClientSize.Width + 10, this.groupBoxInventur.Height + panelButtons.Height + 10);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -434,8 +442,8 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
{
|
{
|
||||||
int label_y = this.pictureBoxPlus.Location.Y + ((this.pictureBoxPlus.Height - this.label1.Height) / 2);
|
int label_y = this.pictureBoxPlus.Location.Y + ((this.pictureBoxPlus.Height - this.label1.Height) / 2);
|
||||||
int x = 0;
|
int x = 0;
|
||||||
this.pictureBoxClose.Location = new Point(this.Width - pictureBoxClose.Width + this.Margin.All, 0);
|
this.pictureBoxClose.Location = new Point(this.groupBoxInventur.Right - pictureBoxClose.Width - 2, 0);
|
||||||
this.pictureBoxPlus.Location = new Point(this.groupBoxInventur.Width - pictureBoxPlus.Width - this.groupBoxInventur.Margin.Right - this.Margin.Right, this.pictureBoxPlus.Location.Y);
|
this.pictureBoxPlus.Location = new Point(this.dGArtikel.Right - pictureBoxPlus.Width, this.pictureBoxPlus.Location.Y);
|
||||||
this.label1.Location = new Point(this.pictureBoxPlus.Left - this.label1.Width - 10, this.pictureBoxPlus.Location.Y + ((this.pictureBoxPlus.Height - this.label1.Height) / 2));
|
this.label1.Location = new Point(this.pictureBoxPlus.Left - this.label1.Width - 10, this.pictureBoxPlus.Location.Y + ((this.pictureBoxPlus.Height - this.label1.Height) / 2));
|
||||||
this.labelInvDat.Location = new Point(x = this.dGArtikel.Left, label_y);
|
this.labelInvDat.Location = new Point(x = this.dGArtikel.Left, label_y);
|
||||||
this.dTPInvDatum.Location = new Point(x = x + labelInvDat.Width, this.pictureBoxPlus.Location.Y);
|
this.dTPInvDatum.Location = new Point(x = x + labelInvDat.Width, this.pictureBoxPlus.Location.Y);
|
||||||
@ -556,6 +564,6 @@ namespace Deckungsbeitrag.UserControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//TODO: CLick auf Inventur freigeben Dateiname von "Warten" auf "Herrichten" ändern.
|
//DONE: CLick auf Inventur freigeben Dateiname von "Warten" auf "Herrichten" ändern.
|
||||||
//DONE: Inventur freigeben nur für Admin oder Verwaltung.
|
//DONE: Inventur freigeben nur für Admin oder Verwaltung.
|
||||||
//DONE: Inventur für Expedit zugänglich machen.
|
//DONE: Inventur für Expedit zugänglich machen.
|
||||||
|
|||||||
@ -121,7 +121,7 @@
|
|||||||
<data name="pictureBoxClose.ErrorImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="pictureBoxClose.ErrorImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wAAADsABataJCQAAALtJREFUOE/tkTEKAjEQRdNbCJ7Eq+h2gngd9QwWyp5it/IoabRYQaKwvx35iyOT
|
vAAADrwBlbxySQAAALtJREFUOE/tkTEKAjEQRdNbCJ7Eq+h2gngd9QwWyp5it/IoabRYQaKwvx35iyOT
|
||||||
mE1p5cAnw8z/j5A4EXFUWgDO3f0pFPt0/8mVANP1Sag/4FcAAHMAnucYwHoiAAd9j7DctXLpwuNtjACc
|
mE1p5cAnw8z/j5A4EXFUWgDO3f0pFPt0/8mVANP1Sag/4FcAAHMAnucYwHoiAAd9j7DctXLpwuNtjACc
|
||||||
cVftW6FXIQrwi20jrjrIbFMrxBuA54w7eujlLLqBNfC83sIQptjbnd7y6w1SyGR1HDQWjgD6SBZiZcPZ
|
cVftW6FXIQrwi20jrjrIbFMrxBuA54w7eujlLLqBNfC83sIQptjbnd7y6w1SyGR1HDQWjgD6SBZiZcPZ
|
||||||
X9DKQdJwEZBCcmFWEcBSSC7M0twLBeEEF8s9ZFEAAAAASUVORK5CYII=
|
X9DKQdJwEZBCcmFWEcBSSC7M0twLBeEEF8s9ZFEAAAAASUVORK5CYII=
|
||||||
@ -130,7 +130,7 @@
|
|||||||
<data name="pictureBoxClose.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="pictureBoxClose.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wAAADsABataJCQAAAKxJREFUOE9j+P//PwM2/O3bN4Nv3759gGIDdHkYxhBA1hwzYd9/EMZnCIYAsmaG
|
vAAADrwBlbxySQAAAKxJREFUOE9j+P//PwM2/O3bN4Nv3759gGIDdHkYxhBA1hwzYd9/EMZnCIYAsmaG
|
||||||
4DlgjM8QgpoJGUKUZnyG4NSMj41sCE7N3759g/NBbCzyYENABky4/uj1f77YheiSKAYgWwJSC9ID0gvz
|
4DlgjM8QgpoJGUKUZnyG4NSMj41sCE7N3759g/NBbCzyYENABky4/uj1f77YheiSKAYgWwJSC9ID0gvz
|
||||||
woIT15/+z551GG4yFgPALgWpAakF6UEPxAXIfkM3ADmsYJpRDIAqUEBiYxiArgbDADTDsBqAjjEEhpkB
|
woIT15/+z551GG4yFgPALgWpAakF6UEPxAXIfkM3ADmsYJpRDIAqUEBiYxiArgbDADTDsBqAjjEEhpkB
|
||||||
yBhdHoYBkN/zh5bcpfIAAAAASUVORK5CYII=
|
yBhdHoYBkN/zh5bcpfIAAAAASUVORK5CYII=
|
||||||
@ -139,7 +139,7 @@
|
|||||||
<data name="pictureBoxClose.InitialImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="pictureBoxClose.InitialImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wAAADsABataJCQAAAKxJREFUOE9j+P//PwM2/O3bN4Nv3759gGIDdHkYxhBA1hwzYd9/EMZnCIYAsmaG
|
vAAADrwBlbxySQAAAKxJREFUOE9j+P//PwM2/O3bN4Nv3759gGIDdHkYxhBA1hwzYd9/EMZnCIYAsmaG
|
||||||
4DlgjM8QgpoJGUKUZnyG4NSMj41sCE7N3759g/NBbCzyYENABky4/uj1f77YheiSKAYgWwJSC9ID0gvz
|
4DlgjM8QgpoJGUKUZnyG4NSMj41sCE7N3759g/NBbCzyYENABky4/uj1f77YheiSKAYgWwJSC9ID0gvz
|
||||||
woIT15/+z551GG4yFgPALgWpAakF6UEPxAXIfkM3ADmsYJpRDIAqUEBiYxiArgbDADTDsBqAjjEEhpkB
|
woIT15/+z551GG4yFgPALgWpAakF6UEPxAXIfkM3ADmsYJpRDIAqUEBiYxiArgbDADTDsBqAjjEEhpkB
|
||||||
yBhdHoYBkN/zh5bcpfIAAAAASUVORK5CYII=
|
yBhdHoYBkN/zh5bcpfIAAAAASUVORK5CYII=
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
=====================================
|
=====================================
|
||||||
NEUIGKEITEN - Version 1.0.8.5
|
NEUIGKEITEN - Version 1.0.9.1
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
Build-Info:
|
Build-Info:
|
||||||
- Build-Typ: Release Build
|
- Build-Typ: Release Build
|
||||||
- Erledigte TODOs: 18
|
- Erledigte TODOs: 19
|
||||||
- Offene TODOs: 39
|
- Offene TODOs: 38
|
||||||
- Install-Reminders: 4
|
- Install-Reminders: 4
|
||||||
- Changes: 15
|
- Changes: 15
|
||||||
|
|
||||||
@ -34,10 +34,11 @@ Build-Info:
|
|||||||
- ✨ Winter und Sommer wird getrennt geändert und gespeichert. [UCTabPageLKW.cs]
|
- ✨ Winter und Sommer wird getrennt geändert und gespeichert. [UCTabPageLKW.cs]
|
||||||
|
|
||||||
|
|
||||||
=== ✅ ERLEDIGTE TODOs (18) ===
|
=== ✅ ERLEDIGTE TODOs (19) ===
|
||||||
- ✅ : Auftrag über FormListe holen und daraus den Kunden für Fehlmenge holen. [FormFehlmengeCount.cs]
|
- ✅ : Auftrag über FormListe holen und daraus den Kunden für Fehlmenge holen. [FormFehlmengeCount.cs]
|
||||||
- ✅ : Auftragliste bei Fahrer anzeigen wenn Login. [FormMain.cs]
|
- ✅ : Auftragliste bei Fahrer anzeigen wenn Login. [FormMain.cs]
|
||||||
- ✅ : Bei Transport wir ein Fach mit Aktuellem Auftrag erstellt. Das Alte wird bei Transport gespeichert. [FormAusschlager.cs]
|
- ✅ : Bei Transport wir ein Fach mit Aktuellem Auftrag erstellt. Das Alte wird bei Transport gespeichert. [FormAusschlager.cs]
|
||||||
|
- ✅ : CLick auf Inventur freigeben Dateiname von "Warten" auf "Herrichten" ändern. [UCInventur.cs]
|
||||||
- ✅ : ComboBox Fahrer und Priorität implementieren [FormAuftragDetail.cs]
|
- ✅ : ComboBox Fahrer und Priorität implementieren [FormAuftragDetail.cs]
|
||||||
- ✅ : Container schmutzig bearbeitbar machen [FormAuftragDetail.cs]
|
- ✅ : Container schmutzig bearbeitbar machen [FormAuftragDetail.cs]
|
||||||
- ✅ : Feedback Button hinzufügen [FormAuftragDetail.cs]
|
- ✅ : Feedback Button hinzufügen [FormAuftragDetail.cs]
|
||||||
@ -55,7 +56,7 @@ Build-Info:
|
|||||||
- ✅ : Wenn RegAuftrag wird als augeliefert markiert, wird dieser automatisch neu erstellt laut hinterlegtem Rhythmus. [FormMain.cs]
|
- ✅ : Wenn RegAuftrag wird als augeliefert markiert, wird dieser automatisch neu erstellt laut hinterlegtem Rhythmus. [FormMain.cs]
|
||||||
|
|
||||||
|
|
||||||
=== 🔄 OFFENE TODOs (39) ===
|
=== 🔄 OFFENE TODOs (38) ===
|
||||||
- 🔄 !!ÜBERLEGE!! DB-Query für Kundenanzahl und Containeranzahl Abgleich. (Aufträge haben TourID hinterlegt. So sollte alles vergleichbar sein.) [Tour.cs]
|
- 🔄 !!ÜBERLEGE!! DB-Query für Kundenanzahl und Containeranzahl Abgleich. (Aufträge haben TourID hinterlegt. So sollte alles vergleichbar sein.) [Tour.cs]
|
||||||
- 🔄 !!ÜBERLEGE!! Tour Start und Ende automatisch erfassen. [Tour.cs]
|
- 🔄 !!ÜBERLEGE!! Tour Start und Ende automatisch erfassen. [Tour.cs]
|
||||||
- 🔄 Alle Icons in einer Spalte anzeigen? I für Anmerkung und ! für Aufgabe?? [FormMain.cs]
|
- 🔄 Alle Icons in einer Spalte anzeigen? I für Anmerkung und ! für Aufgabe?? [FormMain.cs]
|
||||||
@ -65,7 +66,6 @@ Build-Info:
|
|||||||
- 🔄 Aufträge zusammenführen wenn gleicher Kunde und Liefertag. [FormNeuerAuftrag.cs]
|
- 🔄 Aufträge zusammenführen wenn gleicher Kunde und Liefertag. [FormNeuerAuftrag.cs]
|
||||||
- 🔄 Ausprobieren ob die Ausrichtung jetzt richtig ist. Sowohl beim ersten wie auch zweiten Mal. [Funktionen.cs]
|
- 🔄 Ausprobieren ob die Ausrichtung jetzt richtig ist. Sowohl beim ersten wie auch zweiten Mal. [Funktionen.cs]
|
||||||
- 🔄 Bestand von allen Artikeln speichern und für Druck vorbereiten. [FormAuftragDetail.cs]
|
- 🔄 Bestand von allen Artikeln speichern und für Druck vorbereiten. [FormAuftragDetail.cs]
|
||||||
- 🔄 CLick auf Inventur freigeben Dateiname von "Warten" auf "Herrichten" ändern. [UCInventur.cs]
|
|
||||||
- 🔄 Dateinamen aus Tikos anschauen. Eventuell Datum von letztem Import über Dateiname wählen? [FormMain.cs]
|
- 🔄 Dateinamen aus Tikos anschauen. Eventuell Datum von letztem Import über Dateiname wählen? [FormMain.cs]
|
||||||
- 🔄 Deaktivieren wenn SPS funktioniert. Transport wird simuliert. [FormWSVerfolgung.cs]
|
- 🔄 Deaktivieren wenn SPS funktioniert. Transport wird simuliert. [FormWSVerfolgung.cs]
|
||||||
- 🔄 Design des Controls anpassen. Eventuell im Designer erstellen. [UCKunde.cs]
|
- 🔄 Design des Controls anpassen. Eventuell im Designer erstellen. [UCKunde.cs]
|
||||||
@ -96,5 +96,5 @@ Build-Info:
|
|||||||
- 🔄 Wenn Frottee-Expedit auch Relamation bearbeitet, muss BenutzerRolle abgefragt werden. siehe CHANGES. [FormFehlmengeCount.cs]
|
- 🔄 Wenn Frottee-Expedit auch Relamation bearbeitet, muss BenutzerRolle abgefragt werden. siehe CHANGES. [FormFehlmengeCount.cs]
|
||||||
- 🔄 Zuweisung zu Fahrer muss geklärt werden. [Funktionen.cs]
|
- 🔄 Zuweisung zu Fahrer muss geklärt werden. [Funktionen.cs]
|
||||||
|
|
||||||
Installation: 08.04.2026 09:50
|
Installation: 10.04.2026 13:40
|
||||||
=====================================
|
=====================================
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user