|
|
@@ -468,27 +468,29 @@ function sendReservationEmails($reservation) {
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
</head>
|
|
|
- <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #333;">
|
|
|
- <h2 style="color: #c41e3a;">Reservierung bestätigt</h2>
|
|
|
- <p>Sehr geehrte/r ' . htmlspecialchars($reservation['customer_name']) . ',</p>
|
|
|
- <p>vielen Dank für Ihre Reservierung bei ' . SITE_NAME . '.</p>
|
|
|
-
|
|
|
- <div style="background: #fff3cd; border: 2px solid #ffc107; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px; text-align: center;">
|
|
|
- <h3 style="margin-top: 0;">Ihr Abholcode:</h3>
|
|
|
- <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #856404; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #f5f7fb; background: #28292a; padding: 1.5rem;">
|
|
|
+ <div style="max-width: 640px; margin: 0 auto; background: #2f3541; padding: 1.5rem 2rem; border-radius: 10px; border: 1px solid #3b4252;">
|
|
|
+ <h2 style="color: #cac300; margin-top: 0;">Reservierung bestätigt</h2>
|
|
|
+ <p>Sehr geehrte/r ' . htmlspecialchars($reservation['customer_name']) . ',</p>
|
|
|
+ <p>vielen Dank für Ihre Reservierung bei ' . SITE_NAME . '.</p>
|
|
|
+
|
|
|
+ <div style="background: #28292a; border: 2px solid #cac300; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px; text-align: center;">
|
|
|
+ <h3 style="margin-top: 0; color: #f5f7fb;">Ihr Abholcode:</h3>
|
|
|
+ <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #cac300; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>Reservierungsdetails:</h3>
|
|
|
+ <p><strong>Reservierungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
+ <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
+ <p><strong>Gültig bis:</strong> ' . formatDate($reservation['expires']) . '</p>
|
|
|
+
|
|
|
+ <h3>Reservierte Artikel:</h3>
|
|
|
+ ' . $itemsHtml . '
|
|
|
+
|
|
|
+ <p><strong>Wichtig:</strong> Bitte bringen Sie diesen Abholcode zur Abholung mit. Die Reservierung ist bis zum ' . formatDate($reservation['expires']) . ' gültig.</p>
|
|
|
+
|
|
|
+ <p>Mit freundlichen Grüßen<br>' . SITE_NAME . '</p>
|
|
|
</div>
|
|
|
-
|
|
|
- <h3>Reservierungsdetails:</h3>
|
|
|
- <p><strong>Reservierungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
- <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
- <p><strong>Gültig bis:</strong> ' . formatDate($reservation['expires']) . '</p>
|
|
|
-
|
|
|
- <h3>Reservierte Artikel:</h3>
|
|
|
- ' . $itemsHtml . '
|
|
|
-
|
|
|
- <p><strong>Wichtig:</strong> Bitte bringen Sie diesen Abholcode zur Abholung mit. Die Reservierung ist bis zum ' . formatDate($reservation['expires']) . ' gültig.</p>
|
|
|
-
|
|
|
- <p>Mit freundlichen Grüßen<br>' . SITE_NAME . '</p>
|
|
|
</body>
|
|
|
</html>';
|
|
|
|
|
|
@@ -501,26 +503,28 @@ function sendReservationEmails($reservation) {
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
</head>
|
|
|
- <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #333;">
|
|
|
- <h2 style="color: #c41e3a;">Neue Reservierung</h2>
|
|
|
- <p>Eine neue Reservierung wurde erstellt:</p>
|
|
|
-
|
|
|
- <div style="background: #d1ecf1; border: 2px solid #bee5eb; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px;">
|
|
|
- <h3 style="margin-top: 0;">Abholcode:</h3>
|
|
|
- <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #0c5460; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #f5f7fb; background: #28292a; padding: 1.5rem;">
|
|
|
+ <div style="max-width: 640px; margin: 0 auto; background: #2f3541; padding: 1.5rem 2rem; border-radius: 10px; border: 1px solid #3b4252;">
|
|
|
+ <h2 style="color: #cac300; margin-top: 0;">Neue Reservierung</h2>
|
|
|
+ <p>Eine neue Reservierung wurde erstellt:</p>
|
|
|
+
|
|
|
+ <div style="background: #28292a; border: 2px solid #cac300; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px;">
|
|
|
+ <h3 style="margin-top: 0;">Abholcode:</h3>
|
|
|
+ <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #cac300; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>Kundendaten:</h3>
|
|
|
+ <p><strong>Name:</strong> ' . htmlspecialchars($reservation['customer_name']) . '</p>
|
|
|
+ <p><strong>E-Mail:</strong> ' . htmlspecialchars($reservation['customer_email']) . '</p>
|
|
|
+
|
|
|
+ <h3>Reservierungsdetails:</h3>
|
|
|
+ <p><strong>Reservierungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
+ <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
+ <p><strong>Gültig bis:</strong> ' . formatDate($reservation['expires']) . '</p>
|
|
|
+
|
|
|
+ <h3>Reservierte Artikel:</h3>
|
|
|
+ ' . $itemsHtml . '
|
|
|
</div>
|
|
|
-
|
|
|
- <h3>Kundendaten:</h3>
|
|
|
- <p><strong>Name:</strong> ' . htmlspecialchars($reservation['customer_name']) . '</p>
|
|
|
- <p><strong>E-Mail:</strong> ' . htmlspecialchars($reservation['customer_email']) . '</p>
|
|
|
-
|
|
|
- <h3>Reservierungsdetails:</h3>
|
|
|
- <p><strong>Reservierungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
- <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
- <p><strong>Gültig bis:</strong> ' . formatDate($reservation['expires']) . '</p>
|
|
|
-
|
|
|
- <h3>Reservierte Artikel:</h3>
|
|
|
- ' . $itemsHtml . '
|
|
|
</body>
|
|
|
</html>';
|
|
|
|
|
|
@@ -552,30 +556,32 @@ function sendBackorderEmails($reservation) {
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
</head>
|
|
|
- <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #333;">
|
|
|
- <h2 style="color: #c41e3a;">Nachbestellung bestätigt</h2>
|
|
|
- <p>Sehr geehrte/r ' . htmlspecialchars($reservation['customer_name']) . ',</p>
|
|
|
- <p>vielen Dank für Ihre Nachbestellung bei ' . SITE_NAME . '.</p>
|
|
|
-
|
|
|
- <div style="background: #fff3cd; border: 2px solid #ffc107; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px; text-align: center;">
|
|
|
- <h3 style="margin-top: 0;">Ihr Abholcode:</h3>
|
|
|
- <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #856404; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
- </div>
|
|
|
-
|
|
|
- <h3>Nachbestellungsdetails:</h3>
|
|
|
- <p><strong>Nachbestellungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
- <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
-
|
|
|
- <h3>Nachbestellte Artikel:</h3>
|
|
|
- ' . $itemsHtml . '
|
|
|
-
|
|
|
- <div style="background: #f8d7da; border: 2px solid #f5c6cb; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px;">
|
|
|
- <strong>Hinweis:</strong> Die Lieferzeiten sind nicht bekannt, da die Bestellung in Chargen erfolgt.
|
|
|
+ <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #f5f7fb; background: #28292a; padding: 1.5rem;">
|
|
|
+ <div style="max-width: 640px; margin: 0 auto; background: #2f3541; padding: 1.5rem 2rem; border-radius: 10px; border: 1px solid #3b4252;">
|
|
|
+ <h2 style="color: #cac300; margin-top: 0;">Nachbestellung bestätigt</h2>
|
|
|
+ <p>Sehr geehrte/r ' . htmlspecialchars($reservation['customer_name']) . ',</p>
|
|
|
+ <p>vielen Dank für Ihre Nachbestellung bei ' . SITE_NAME . '.</p>
|
|
|
+
|
|
|
+ <div style="background: #28292a; border: 2px solid #cac300; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px; text-align: center;">
|
|
|
+ <h3 style="margin-top: 0; color: #f5f7fb;">Ihr Abholcode:</h3>
|
|
|
+ <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #cac300; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>Nachbestellungsdetails:</h3>
|
|
|
+ <p><strong>Nachbestellungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
+ <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
+
|
|
|
+ <h3>Nachbestellte Artikel:</h3>
|
|
|
+ ' . $itemsHtml . '
|
|
|
+
|
|
|
+ <div style="background: #28292a; border: 2px solid #cf2e2e; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px;">
|
|
|
+ <strong>Hinweis:</strong> Die Lieferzeiten sind nicht bekannt, da die Bestellung in Chargen erfolgt.
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <p>Wir informieren Sie, sobald die komplette Nachbestellung zur Abholung bereit ist.</p>
|
|
|
+
|
|
|
+ <p>Mit freundlichen Grüßen<br>' . SITE_NAME . '</p>
|
|
|
</div>
|
|
|
-
|
|
|
- <p>Wir informieren Sie, sobald die komplette Nachbestellung verfügbar ist.</p>
|
|
|
-
|
|
|
- <p>Mit freundlichen Grüßen<br>' . SITE_NAME . '</p>
|
|
|
</body>
|
|
|
</html>';
|
|
|
|
|
|
@@ -588,27 +594,29 @@ function sendBackorderEmails($reservation) {
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
</head>
|
|
|
- <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #333;">
|
|
|
- <h2 style="color: #c41e3a;">Neue Nachbestellung</h2>
|
|
|
- <p>Eine neue Nachbestellung wurde erstellt:</p>
|
|
|
-
|
|
|
- <div style="background: #d1ecf1; border: 2px solid #bee5eb; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px;">
|
|
|
- <h3 style="margin-top: 0;">Abholcode:</h3>
|
|
|
- <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #0c5460; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #f5f7fb; background: #28292a; padding: 1.5rem;">
|
|
|
+ <div style="max-width: 640px; margin: 0 auto; background: #2f3541; padding: 1.5rem 2rem; border-radius: 10px; border: 1px solid #3b4252;">
|
|
|
+ <h2 style="color: #cac300; margin-top: 0;">Neue Nachbestellung</h2>
|
|
|
+ <p>Eine neue Nachbestellung wurde erstellt:</p>
|
|
|
+
|
|
|
+ <div style="background: #28292a; border: 2px solid #cac300; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px;">
|
|
|
+ <h3 style="margin-top: 0;">Abholcode:</h3>
|
|
|
+ <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #cac300; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>Kundendaten:</h3>
|
|
|
+ <p><strong>Name:</strong> ' . htmlspecialchars($reservation['customer_name']) . '</p>
|
|
|
+ <p><strong>E-Mail:</strong> ' . htmlspecialchars($reservation['customer_email']) . '</p>
|
|
|
+
|
|
|
+ <h3>Nachbestellungsdetails:</h3>
|
|
|
+ <p><strong>Nachbestellungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
+ <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
+
|
|
|
+ <h3>Nachbestellte Artikel:</h3>
|
|
|
+ ' . $itemsHtml . '
|
|
|
+
|
|
|
+ <p><strong>Hinweis:</strong> Lieferzeiten sind nicht bekannt, Bestellung in Chargen.</p>
|
|
|
</div>
|
|
|
-
|
|
|
- <h3>Kundendaten:</h3>
|
|
|
- <p><strong>Name:</strong> ' . htmlspecialchars($reservation['customer_name']) . '</p>
|
|
|
- <p><strong>E-Mail:</strong> ' . htmlspecialchars($reservation['customer_email']) . '</p>
|
|
|
-
|
|
|
- <h3>Nachbestellungsdetails:</h3>
|
|
|
- <p><strong>Nachbestellungsnummer:</strong> ' . htmlspecialchars($reservation['id']) . '</p>
|
|
|
- <p><strong>Erstellt am:</strong> ' . formatDate($reservation['created']) . '</p>
|
|
|
-
|
|
|
- <h3>Nachbestellte Artikel:</h3>
|
|
|
- ' . $itemsHtml . '
|
|
|
-
|
|
|
- <p><strong>Hinweis:</strong> Lieferzeiten sind nicht bekannt, Bestellung in Chargen.</p>
|
|
|
</body>
|
|
|
</html>';
|
|
|
|
|
|
@@ -632,28 +640,30 @@ function sendBackorderAvailableEmail($reservation) {
|
|
|
}
|
|
|
$itemsHtml .= '</ul>';
|
|
|
|
|
|
- $subject = 'Ihre Nachbestellung ist verfügbar';
|
|
|
+ $subject = 'Ihre Nachbestellung ist zur Abholung bereit';
|
|
|
$message = '
|
|
|
<html>
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
</head>
|
|
|
- <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #333;">
|
|
|
- <h2 style="color: #28a745;">Nachbestellung verfügbar</h2>
|
|
|
- <p>Sehr geehrte/r ' . htmlspecialchars($reservation['customer_name']) . ',</p>
|
|
|
- <p>Ihre komplette Nachbestellung ist jetzt verfügbar.</p>
|
|
|
-
|
|
|
- <div style="background: #d4edda; border: 2px solid #c3e6cb; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px; text-align: center;">
|
|
|
- <h3 style="margin-top: 0;">Ihr Abholcode:</h3>
|
|
|
- <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #155724; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ <body style="font-family: Arial, sans-serif; line-height: 1.6; color: #f5f7fb; background: #28292a; padding: 1.5rem;">
|
|
|
+ <div style="max-width: 640px; margin: 0 auto; background: #2f3541; padding: 1.5rem 2rem; border-radius: 10px; border: 1px solid #3b4252;">
|
|
|
+ <h2 style="color: #cac300; margin-top: 0;">Nachbestellung zur Abholung bereit</h2>
|
|
|
+ <p>Sehr geehrte/r ' . htmlspecialchars($reservation['customer_name']) . ',</p>
|
|
|
+ <p>Ihre komplette Nachbestellung ist jetzt zur Abholung bereit.</p>
|
|
|
+
|
|
|
+ <div style="background: #28292a; border: 2px solid #cac300; padding: 1.5rem; margin: 1.5rem 0; border-radius: 8px; text-align: center;">
|
|
|
+ <h3 style="margin-top: 0; color: #f5f7fb;">Ihr Abholcode:</h3>
|
|
|
+ <h2 style="font-size: 2rem; letter-spacing: 0.2rem; color: #cac300; font-family: monospace;">' . htmlspecialchars($reservation['code']) . '</h2>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>Bereitliegende Artikel:</h3>
|
|
|
+ ' . $itemsHtml . '
|
|
|
+
|
|
|
+ <p>Bitte bringen Sie den Abholcode zur Abholung mit.</p>
|
|
|
+
|
|
|
+ <p>Mit freundlichen Grüßen<br>' . SITE_NAME . '</p>
|
|
|
</div>
|
|
|
-
|
|
|
- <h3>Verfügbare Artikel:</h3>
|
|
|
- ' . $itemsHtml . '
|
|
|
-
|
|
|
- <p>Bitte bringen Sie den Abholcode zur Abholung mit.</p>
|
|
|
-
|
|
|
- <p>Mit freundlichen Grüßen<br>' . SITE_NAME . '</p>
|
|
|
</body>
|
|
|
</html>';
|
|
|
|