Files
fewo-stommer/app/Enums/OfferMode.php
T
LarsandClaude Sonnet 5.5 eafab8a2cb
Deploy FeWo mit PipelineManager / deploy (push) Failing after 3m38s
Buchungsprozess: Angebots-Snapshot, atomare Annahme, Auto-Angebot, Kanalfreigabe
- 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>
2026-10-30 12:01:02 +01:00

26 lines
717 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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',
};
}
}