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>
26 lines
717 B
PHP
26 lines
717 B
PHP
<?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',
|
||
};
|
||
}
|
||
}
|