Gästeverzeichnis und Customer Voice
- Gäste: Markierungen, Aufenthalte & Umsatz, Stammgast-/Einwilligungsfilter, CSV-Export, Anonymisierung (manuell + automatisch nach Aufbewahrungsfrist) - Werbe-Einwilligung per Double-Opt-in aus dem Anfrageformular, signierte Bestätigungs-/Abmeldelinks - Bewertungen: automatische Einladung nach Abreise, Bewertungsformular mit Kategorien und internem Feedback, Freigabe und öffentliche Antwort im Admin - Konzept: Rollen, Inhalte, Customer Voice, Architektur Portal-Sync/Buchungshoheit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bb7eb62782
commit
2892e6aeab
44 files changed
+1505
-23
No files matched your search
@@ -3,6 +3,7 @@
|
||||
namespace App\Livewire;
|
||||
|
||||
use App\Actions\CreateReservation;
|
||||
use App\Actions\RequestMarketingConsent;
|
||||
use App\Availability\AvailabilityChecker;
|
||||
use App\Exceptions\ReservationException;
|
||||
use App\Models\Booking;
|
||||
@@ -62,6 +63,9 @@ class BookingRequest extends Component
|
||||
|
||||
public bool $privacyAccepted = false;
|
||||
|
||||
/** Optional opt-in for offer e-mails (confirmed by double opt-in). */
|
||||
public bool $marketingOptIn = false;
|
||||
|
||||
/** Honeypot, must stay empty. */
|
||||
public string $website = '';
|
||||
|
||||
@@ -232,6 +236,10 @@ public function submit(CreateReservation $createReservation): void
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->marketingOptIn) {
|
||||
rescue(fn () => app(RequestMarketingConsent::class)->handle($booking->guest));
|
||||
}
|
||||
|
||||
$this->bookingId = $booking->id;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user