diff --git a/Layout/default/Preorder/include/preorder-detail.php b/Layout/default/Preorder/include/preorder-detail.php index a247be630..ed27f501c 100644 --- a/Layout/default/Preorder/include/preorder-detail.php +++ b/Layout/default/Preorder/include/preorder-detail.php @@ -13,7 +13,8 @@ - + + @@ -695,6 +696,219 @@ +
+ $preorder->id]); + $allStatusFlagEmails = PreorderStatusnotificationLog::search(["preorder_id" => $preorder->id]); + ?> + +
+
+
+
+ + E-Mail Benachrichtigungen +
+ + + +
+
+
+ + Vorbestellungs-Benachrichtigungen + +
+
+
+
+ + + + + + + + + + + + data->preordernotification_id); + $sentDate = date('Y-m-d H:i:s', $emailLog->data->sent); + $sentDateFormatted = date('M j, Y \a\t g:i A', $emailLog->data->sent); + ?> + + + + + + + + +
+ + Betreff + + + E-Mail + + + Gesendet + + + ID +
+
+ subject ?? 'Kein Betreff') ?> +
+
+ + data->email) ?> + + +
+ +
+
+ + #data->preordernotification_id ?> + +
+
+
+
+ + + + +
+
+
+ + Status-Benachrichtigungen + +
+
+
+
+ + + + + + + + + + + + create); + $createdDateFormatted = date('M j, Y \a\t g:i A', $statusLog->create); + + // Status code color mapping - muted colors + $statusBadgeClass = 'badge-light text-muted'; + switch($statusLog->data->status_code) { + case '100': $statusBadgeClass = 'badge-light text-info'; break; + case '110': $statusBadgeClass = 'badge-light text-warning'; break; + case '120': $statusBadgeClass = 'badge-light text-secondary'; break; + case '130': $statusBadgeClass = 'badge-light text-success'; break; + case '140': $statusBadgeClass = 'badge-light text-danger'; break; + } + ?> + + + + + + + + +
+ + Status + + + E-Mail + + + Erstellt + + + Benutzer +
+ + data->status_code) ?> + + + + data->email) ?> + + +
+ +
+
+ + #data->create_by ?> + +
+
+
+
+ + + + +
+
+
+ +
+
Keine E-Mail-Benachrichtigungen
+

+ Für diese Vorbestellung wurden noch keine E-Mail-Benachrichtigungen versendet. +

+
+
+ +
+
+
+ + +
+