Zeiten für Auftrags Dispo Start / Ende hinzugefügt
This commit is contained in:
@@ -131,11 +131,15 @@ if (
|
||||
}
|
||||
|
||||
$VorbereitungsTimeDetail = null;
|
||||
$DispoTimeDetail = null;
|
||||
|
||||
foreach ($orderdetail_output->order_schedule as $scheduledetail) {
|
||||
if ($scheduledetail->name == Vorbereitungs_Zeitvariable) {
|
||||
$VorbereitungsTimeDetail = $scheduledetail;
|
||||
}
|
||||
if($scheduledetail->name == "Dispo"){
|
||||
$DispoTimeDetail = $scheduledetail;
|
||||
}
|
||||
}
|
||||
|
||||
// --- Row-Marking Datum bestimmen (konfigurierbar) ---
|
||||
@@ -165,7 +169,7 @@ if (
|
||||
echo "<td>" . $packingjob->contact->name . "</td>";
|
||||
echo "<td>" . $packingjob->event . "</td>";
|
||||
|
||||
if (ShowCheckoutTimeOnCheckout || ShowVorbereitungTimeOnCheckout || ShowPackagingTimeOnCheckout || ShowDeliveryTimeOnCheckout) { echo "<td>";}
|
||||
if (ShowCheckoutTimeOnCheckout || ShowVorbereitungTimeOnCheckout || ShowPackagingTimeOnCheckout || ShowDeliveryTimeOnCheckout || ShowDispoStartOnCheckout) { echo "<td>";}
|
||||
|
||||
|
||||
if (ShowCheckoutTimeOnCheckout && $packingjob->date_start != null) {
|
||||
@@ -206,9 +210,14 @@ if (
|
||||
}
|
||||
echoMarkedTimeLine($PackingNoteDetail->date_delivery, (int) $PackingNoteDetail->time_delivery, $today, ShowTimesOnCheckout);
|
||||
}
|
||||
if (ShowDispoStartOnCheckout && $DispoTimeDetail->date_start && $DispoTimeDetail->time_start != null) {
|
||||
if (ShowCheckoutTimeOnCheckout || ShowVorbereitungTimeOnCheckout || ShowPackagingTimeOnCheckout || ShowDeliveryTimeOnCheckout) {
|
||||
echo "<br>";
|
||||
}
|
||||
echoMarkedTimeLine($DispoTimeDetail->date_start, (int) $DispoTimeDetail->time_start, $today, ShowTimesOnCheckout);
|
||||
}
|
||||
|
||||
|
||||
if (ShowCheckoutTimeOnCheckout || ShowVorbereitungTimeOnCheckout || ShowPackagingTimeOnCheckout || ShowDeliveryTimeOnCheckout) {
|
||||
if (ShowCheckoutTimeOnCheckout || ShowVorbereitungTimeOnCheckout || ShowPackagingTimeOnCheckout || ShowDeliveryTimeOnCheckout || ShowDispoStartOnCheckout) {
|
||||
echo "</td>";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user