schickere bestellbestätigung und user role detaults auf "user" gesetzt.
This commit is contained in:
@@ -15,9 +15,40 @@ return [
|
||||
'subject' => 'Kauf-Bestätigung - :package',
|
||||
'greeting' => 'Vielen Dank für Ihren Kauf, :name!',
|
||||
'package' => 'Package: :package',
|
||||
'price' => 'Preis: :price €',
|
||||
'activation' => 'Das Package ist nun in Ihrem Tenant-Account aktiviert.',
|
||||
'footer' => 'Mit freundlichen Grüßen,<br>Das Fotospiel-Team',
|
||||
'price' => 'Preis: :price',
|
||||
'activation' => 'Ihr Event-Paket ist jetzt im Tenant-Account aktiviert.',
|
||||
'footer' => 'Mit freundlichen Grüßen,<br>Das Team von Die Fotospiel.App',
|
||||
'brand_label' => 'Die Fotospiel.App',
|
||||
'brand_footer' => 'Die Fotospiel.App · Event-Pakete mit Wow-Effekt',
|
||||
'subtitle' => 'Ihre Bestellung wurde erfolgreich bestätigt. Hier finden Sie alle Details auf einen Blick.',
|
||||
'summary_title' => 'Bestellübersicht',
|
||||
'package_label' => 'Event-Paket',
|
||||
'type_label' => 'Paketart',
|
||||
'date_label' => 'Kaufdatum',
|
||||
'provider_label' => 'Zahlungsanbieter',
|
||||
'order_label' => 'Bestellnummer',
|
||||
'price_label' => 'Gesamtbetrag',
|
||||
'activation_label' => 'Aktivierung',
|
||||
'limits_title' => 'Ihre Paketdetails',
|
||||
'invoice_title' => 'Rechnung',
|
||||
'invoice_link' => 'Rechnung öffnen',
|
||||
'cta' => 'Zum Event-Admin',
|
||||
'provider' => [
|
||||
'paddle' => 'Paddle',
|
||||
'manual' => 'Manuell',
|
||||
'free' => 'Kostenfrei',
|
||||
],
|
||||
'package_type' => [
|
||||
'endcustomer' => 'Einmalkauf pro Event',
|
||||
'reseller' => 'Jahresabo für Reseller',
|
||||
],
|
||||
'limits' => [
|
||||
'max_photos' => 'Max. Fotos',
|
||||
'max_guests' => 'Max. Gäste',
|
||||
'gallery_days' => 'Galerie-Tage',
|
||||
'max_tasks' => 'Max. Aufgaben',
|
||||
'max_events_per_year' => 'Events pro Jahr',
|
||||
],
|
||||
],
|
||||
|
||||
'abandoned_checkout' => [
|
||||
|
||||
@@ -15,9 +15,40 @@ return [
|
||||
'subject' => 'Purchase Confirmation - :package',
|
||||
'greeting' => 'Thank you for your purchase, :name!',
|
||||
'package' => 'Package: :package',
|
||||
'price' => 'Price: :price €',
|
||||
'activation' => 'The package is now activated in your tenant account.',
|
||||
'footer' => 'Best regards,<br>The Fotospiel Team',
|
||||
'price' => 'Price: :price',
|
||||
'activation' => 'Your event package is now activated in your tenant account.',
|
||||
'footer' => 'Best regards,<br>The team at Die Fotospiel.App',
|
||||
'brand_label' => 'Die Fotospiel.App',
|
||||
'brand_footer' => 'Die Fotospiel.App · Event packages with wow-factor',
|
||||
'subtitle' => 'Your order has been confirmed successfully. Here are the details at a glance.',
|
||||
'summary_title' => 'Order summary',
|
||||
'package_label' => 'Event package',
|
||||
'type_label' => 'Package type',
|
||||
'date_label' => 'Purchase date',
|
||||
'provider_label' => 'Payment provider',
|
||||
'order_label' => 'Order ID',
|
||||
'price_label' => 'Total amount',
|
||||
'activation_label' => 'Activation',
|
||||
'limits_title' => 'Your package details',
|
||||
'invoice_title' => 'Invoice',
|
||||
'invoice_link' => 'Open invoice',
|
||||
'cta' => 'Open Event Admin',
|
||||
'provider' => [
|
||||
'paddle' => 'Paddle',
|
||||
'manual' => 'Manual',
|
||||
'free' => 'Free',
|
||||
],
|
||||
'package_type' => [
|
||||
'endcustomer' => 'One-time purchase per event',
|
||||
'reseller' => 'Annual subscription for resellers',
|
||||
],
|
||||
'limits' => [
|
||||
'max_photos' => 'Max. photos',
|
||||
'max_guests' => 'Max. guests',
|
||||
'gallery_days' => 'Gallery days',
|
||||
'max_tasks' => 'Max. tasks',
|
||||
'max_events_per_year' => 'Events per year',
|
||||
],
|
||||
],
|
||||
|
||||
'abandoned_checkout' => [
|
||||
|
||||
@@ -3,11 +3,114 @@
|
||||
<head>
|
||||
<title>{{ __('emails.purchase.subject', ['package' => $packageName]) }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ __('emails.purchase.greeting', ['name' => $user->fullName]) }}</h1>
|
||||
<p>{{ __('emails.purchase.package', ['package' => $packageName]) }}</p>
|
||||
<p>{{ __('emails.purchase.price', ['price' => $priceFormatted]) }}</p>
|
||||
<p>{{ __('emails.purchase.activation') }}</p>
|
||||
<p>{!! __('emails.purchase.footer') !!}</p>
|
||||
<body style="margin:0; padding:0; background-color:#f4f5f7; font-family:Arial, Helvetica, sans-serif; color:#1a1a1a;">
|
||||
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="background-color:#f4f5f7; padding:32px 0;">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table role="presentation" width="600" cellspacing="0" cellpadding="0" style="background-color:#ffffff; border-radius:16px; overflow:hidden; box-shadow:0 12px 30px rgba(15, 23, 42, 0.08);">
|
||||
<tr>
|
||||
<td style="background:linear-gradient(135deg,#0f172a,#334155); color:#ffffff; padding:32px;">
|
||||
<p style="margin:0 0 10px; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; opacity:0.7;">
|
||||
{{ __('emails.purchase.brand_label') }}
|
||||
</p>
|
||||
<h1 style="margin:0; font-size:24px; line-height:1.35;">
|
||||
{{ __('emails.purchase.greeting', ['name' => $user->fullName]) }}
|
||||
</h1>
|
||||
<p style="margin:12px 0 0; font-size:15px; opacity:0.9;">
|
||||
{{ __('emails.purchase.subtitle') }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:28px 32px 12px;">
|
||||
<h2 style="margin:0 0 12px; font-size:18px;">
|
||||
{{ __('emails.purchase.summary_title') }}
|
||||
</h2>
|
||||
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td style="padding:10px 0; font-size:14px; color:#6b7280;">{{ __('emails.purchase.package_label') }}</td>
|
||||
<td style="padding:10px 0; font-size:14px; text-align:right; font-weight:600;">{{ $packageName }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:10px 0; font-size:14px; color:#6b7280;">{{ __('emails.purchase.type_label') }}</td>
|
||||
<td style="padding:10px 0; font-size:14px; text-align:right;">{{ $packageTypeLabel }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:10px 0; font-size:14px; color:#6b7280;">{{ __('emails.purchase.date_label') }}</td>
|
||||
<td style="padding:10px 0; font-size:14px; text-align:right;">{{ $purchaseDate }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:10px 0; font-size:14px; color:#6b7280;">{{ __('emails.purchase.provider_label') }}</td>
|
||||
<td style="padding:10px 0; font-size:14px; text-align:right;">{{ $providerLabel }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:10px 0; font-size:14px; color:#6b7280;">{{ __('emails.purchase.order_label') }}</td>
|
||||
<td style="padding:10px 0; font-size:14px; text-align:right;">{{ $orderId }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:10px 0; font-size:14px; color:#6b7280;">{{ __('emails.purchase.price_label') }}</td>
|
||||
<td style="padding:10px 0; font-size:16px; text-align:right; font-weight:700;">{{ $priceFormatted }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:0 32px 18px;">
|
||||
<div style="background-color:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:16px;">
|
||||
<p style="margin:0 0 6px; font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:#64748b;">
|
||||
{{ __('emails.purchase.activation_label') }}
|
||||
</p>
|
||||
<p style="margin:0; font-size:14px; color:#0f172a;">
|
||||
{{ __('emails.purchase.activation') }}
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@if (! empty($limits))
|
||||
<tr>
|
||||
<td style="padding:0 32px 18px;">
|
||||
<h3 style="margin:0 0 12px; font-size:16px;">{{ __('emails.purchase.limits_title') }}</h3>
|
||||
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
|
||||
@foreach ($limits as $limit)
|
||||
<tr>
|
||||
<td style="padding:6px 0; font-size:14px; color:#6b7280;">{{ $limit['label'] }}</td>
|
||||
<td style="padding:6px 0; font-size:14px; text-align:right; font-weight:600;">{{ $limit['value'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($invoiceUrl)
|
||||
<tr>
|
||||
<td style="padding:0 32px 18px;">
|
||||
<h3 style="margin:0 0 8px; font-size:16px;">{{ __('emails.purchase.invoice_title') }}</h3>
|
||||
<p style="margin:0; font-size:14px; color:#6b7280;">
|
||||
<a href="{{ $invoiceUrl }}" style="color:#1d4ed8; text-decoration:none;">
|
||||
{{ __('emails.purchase.invoice_link') }}
|
||||
</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td style="padding:0 32px 32px;">
|
||||
<a href="{{ $ctaUrl }}" style="display:inline-block; background-color:#111827; color:#ffffff; text-decoration:none; padding:12px 20px; border-radius:999px; font-weight:600; font-size:14px;">
|
||||
{{ __('emails.purchase.cta') }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:0 32px 32px; font-size:12px; color:#6b7280;">
|
||||
{!! __('emails.purchase.footer') !!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="margin:16px 0 0; font-size:12px; color:#94a3b8;">
|
||||
{{ __('emails.purchase.brand_footer') }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user