Liefertag Berechnung verändert. FormShowUserControl.Closing geänder.
This commit is contained in:
parent
62f39cad51
commit
61d55f2e1e
@ -98,11 +98,12 @@ namespace Deckungsbeitrag.AA_Forms
|
||||
private void FormShowUserControl_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
var form = sender as Form;
|
||||
if (this.benutzer.Rolle != BenutzerRolle.Expedit)
|
||||
if (form.ActiveControl.Name == "UCTourenplan" & form.DialogResult == DialogResult.OK)
|
||||
{
|
||||
UCTourenplan uc = (UCTourenplan)form.Controls[0];
|
||||
lieferDaten = uc.lieferDaten;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1460,7 +1460,7 @@ namespace Deckungsbeitrag
|
||||
DateTime aktDatum = DateTime.Today;
|
||||
|
||||
// Starte ab morgen und suche nächsten passenden Arbeitstag
|
||||
for (int i = 2; i <= 7; i++)
|
||||
for (int i = 1; i <= 7; i++)
|
||||
{
|
||||
DateTime testDatum = aktDatum.AddDays(i);
|
||||
DayOfWeek dow = testDatum.DayOfWeek;
|
||||
|
||||
@ -84,5 +84,5 @@ Build-Info:
|
||||
- 🔄 Wenn Auftrag abgeschlossen wird muss die Containerzahl sauber addiert werden. Kundenanzahl und Containeranzahl schmutzig darf nicht erhöht werden. [Tour.cs]
|
||||
- 🔄 Zuweisung zu Fahrer muss geklärt werden. [Funktionen.cs]
|
||||
|
||||
Installation: 21.04.2026 14:34
|
||||
Installation: 22.04.2026 14:01
|
||||
=====================================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user