Buchungsprozess: Angebots-Snapshot, atomare Annahme, Auto-Angebot, Kanalfreigabe
Deploy FeWo mit PipelineManager / deploy (push) Failing after 3m38s
Deploy FeWo mit PipelineManager / deploy (push) Failing after 3m38s
- Angebotsbedingungen und Zahlungsdaten werden je Version eingefroren (offer_terms, offer_hash) - Annahme in einer gesperrten Transaktion, idempotent, mit Nachweis; Mail- und Portalfehler machen eine gespeicherte Buchung nicht ungueltig (Postfach, Nachversand) - Je Wohnung: manuelle/automatische Angebote, optionale Vorreservierung - Automatische Freigabe abhaengig von aktuellen Importen und Feed-Abruf bei Sofortbuchungsportalen - Deutsche Fehlerseiten, Buchungsseite zeigt Angebots- und Zustellstatus - Dokumentation: BOOKING-E2E-*.md, BOOKING-COMPLIANCE-HANDOVER.md Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e7cc37a15b
commit
eafab8a2cb
47 files changed
+2099
-104
No files matched your search
@@ -11,18 +11,27 @@
|
||||
enum InboxMessageKind: string implements HasColor, HasLabel
|
||||
{
|
||||
case ChannelConflict = 'channel_conflict';
|
||||
case ConfirmationFailed = 'confirmation_failed';
|
||||
case OfferMailFailed = 'offer_mail_failed';
|
||||
case OfferRejected = 'offer_rejected';
|
||||
case SyncFailed = 'sync_failed';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::ChannelConflict => 'Mögliche Doppelbuchung',
|
||||
self::ConfirmationFailed => 'Buchungsbestätigung nicht zugestellt',
|
||||
self::OfferMailFailed => 'Angebot nicht zugestellt',
|
||||
self::OfferRejected => 'Annahme abgewiesen',
|
||||
self::SyncFailed => 'Kalenderabgleich gestört',
|
||||
};
|
||||
}
|
||||
|
||||
public function getColor(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::ChannelConflict => 'danger',
|
||||
self::ChannelConflict, self::SyncFailed => 'danger',
|
||||
self::ConfirmationFailed, self::OfferMailFailed, self::OfferRejected => 'warning',
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Filament\Support\Contracts\HasLabel;
|
||||
|
||||
/**
|
||||
* How requests for a property are turned into offers.
|
||||
*/
|
||||
enum OfferMode: string implements HasLabel
|
||||
{
|
||||
/** The landlord reviews every request and sends the offer. */
|
||||
case Manual = 'manual';
|
||||
|
||||
/** The offer is sent automatically when all release rules are met; otherwise the request waits for the landlord. */
|
||||
case Automatic = 'automatic';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Manual => 'Manuell – ich prüfe jede Anfrage und sende das Angebot',
|
||||
self::Automatic => 'Automatisch – Angebot sofort, wenn alle Prüfungen bestanden sind',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user