|
|
@@ -1529,7 +1529,7 @@ function buildOrderSummaryHtml($order, $title, $introHtml, $extraHtml = '') {
|
|
|
<div style="max-width: 720px; margin: 0 auto; background: #ffffff; padding: 2rem; border-radius: 28px; border: 1px solid #d7ceb5; box-shadow: 0 18px 40px rgba(16, 16, 16, 0.08);">
|
|
|
<p style="margin: 0 0 0.5rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #5e5a4d;">' . escape(SITE_DEPARTMENT_NAME) . '</p>
|
|
|
<h1 style="margin: 0; font-size: 1.75rem; line-height: 1.2; color: #111111;">' . escape(SITE_NAME) . '</h1>
|
|
|
- <p style="margin: 0.25rem 0 1.5rem; font-size: 1rem; color: #5e5a4d;">' . escape(SITE_SERVICE_NAME) . '</p>
|
|
|
+ <p style="margin: 0.25rem 0 1.5rem; font-size: 1rem; color: #5e5a4d;">' . escape(SITE_SERVICE_HEADER) . '</p>
|
|
|
<div style="width: 80px; height: 6px; border-radius: 999px; background: #ffd71c; margin-bottom: 1.5rem;"></div>
|
|
|
<h2 style="color: #111111; margin-top: 0;">' . escape($title) . '</h2>
|
|
|
' . $introHtml . '
|
|
|
@@ -1557,7 +1557,7 @@ function sendOrderConfirmationRequestEmail($order) {
|
|
|
$expiryText = formatDate($order['confirmation_expires_at']);
|
|
|
$intro = '<p>Guten Tag ' . escape($order['customer_name']) . ',</p><p>bitte bestätigen Sie Ihre Bestellung im ' . escape(SITE_SERVICE_NAME) . ' der Stadt Freising über den folgenden Link.</p>';
|
|
|
$extra = '
|
|
|
- <p><a href="' . escape($link) . '" style="display: inline-block; padding: 0.75rem 1.5rem; background: #ffd71c; color: #111111; text-decoration: none; border: 2px solid #ffd71c; border-radius: 999px; font-weight: 700;">Bestellung bestätigen</a></p>
|
|
|
+ <p><a href="' . escape($link) . '" style="display: inline-block; padding: 0.75rem 1.5rem; background: #ffd71c; color: #111111; text-decoration: none; border: 2px solid #ffd71c; border-radius: 14px; font-weight: 700;">Bestellung bestätigen</a></p>
|
|
|
<p>Der Link ist gültig bis: <strong>' . escape($expiryText) . '</strong></p>
|
|
|
<p>Falls der Button nicht funktioniert, verwenden Sie bitte diesen Link:<br>' . escape($link) . '</p>';
|
|
|
$message = buildOrderSummaryHtml($order, 'Bestellung bestätigen', $intro, $extra);
|
|
|
@@ -1659,7 +1659,7 @@ function buildOrderPdfLines($order) {
|
|
|
SITE_FULL_NAME,
|
|
|
SITE_DEPARTMENT_NAME,
|
|
|
'',
|
|
|
- 'Bestellservice',
|
|
|
+ SITE_SERVICE_HEADER,
|
|
|
'Bestellnummer: ' . $order['id'],
|
|
|
'Erstellt am: ' . formatDate($order['created_at']),
|
|
|
'Name: ' . $order['customer_name'],
|