- Haltefrist 0: unverbindliche Auskunft mit signiertem Link "Buchung anfragen", erneute Prüfung unter Sperre, automatische oder manuelle Bestätigung, Absage bei vergebenem Zeitraum, Ablauf unbeantworteter Auskünfte - Aufenthalt: Anreisedaten, Aufgaben je Wohnung, gebuchte Leistungen, Abweichungen und Folgeaufgaben als Aufgaben am Vorgang - Abschluss getrennt: Aufenthalt abgeschlossen / kaufmännisch abgeschlossen, Nachläufer (Forderung, Auszahlung) bleiben sichtbar - Zahlungsstatus nur aus Geld auf unserem Konto; Altbestand per Vorschau-Befehl - Verlauf weist Testzustellungen als solche aus - Abnahmetests T16-T25, T23 über isolierten SMTP-Empfänger Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.0 KiB
PHP
36 lines
1.0 KiB
PHP
<?php
|
||
|
||
namespace App\Mail;
|
||
|
||
use App\Models\Booking;
|
||
use Illuminate\Bus\Queueable;
|
||
use Illuminate\Mail\Mailable;
|
||
use Illuminate\Mail\Mailables\Address;
|
||
use Illuminate\Mail\Mailables\Content;
|
||
use Illuminate\Mail\Mailables\Envelope;
|
||
use Illuminate\Queue\SerializesModels;
|
||
|
||
/**
|
||
* The information "unter Vorbehalt" (package 7): price and availability as checked now, no reservation, no acceptance
|
||
* link – only the link to ask for the booking, which is checked again before anything becomes binding.
|
||
*/
|
||
class InformationSent extends Mailable
|
||
{
|
||
use Queueable, SerializesModels;
|
||
|
||
public function __construct(public Booking $booking, public string $url) {}
|
||
|
||
public function envelope(): Envelope
|
||
{
|
||
return new Envelope(
|
||
subject: 'Unverbindliche Auskunft zu Ihrer Anfrage '.$this->booking->reference,
|
||
replyTo: [new Address(config('fewo.owner.email'), config('fewo.owner.name'))],
|
||
);
|
||
}
|
||
|
||
public function content(): Content
|
||
{
|
||
return new Content(markdown: 'mail.information-sent');
|
||
}
|
||
}
|