Portal-Direktbuchung erfassen, Kontaktdaten-Prozess, manueller Statuswechsel, Archiv, Filter, Menue Verwaltung/Einrichtung
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m38s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m38s
- Buchung erfassen: Buchungsweg Portal (Referenz, Portalpreis, ohne Kontaktdaten), Prozess bestaetigen/Vertrag sofort/nur erfassen - Buchungsakte: Kontaktdaten eintragen (automatisch oder manuell weiter), Gast um Kontaktdaten bitten, Status von Hand aendern, Archivieren - Liste: Filter Kanal, Anreisezeitraum, Kontaktdaten fehlen; Spalten ausblendbar; Archiv - Klaerung: verstaendlichere Texte, eigenstaendige Belegung mit Kanal gilt als geklaert (Gitea #4) - Akte per Button aus Liste und Belegungsplan erreichbar - Menue: Gruppen Verwaltung (Tagesgeschaeft) und Einrichtung (Konfiguration), einfache Ansicht auf 8 Punkte Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0c4187edaf
commit
5ba9ae08ab
37 files changed
+786
-82
No files matched your search
@@ -35,6 +35,10 @@
|
||||
'source',
|
||||
'import_channel_id',
|
||||
'origin_channel_id',
|
||||
'portal_reference',
|
||||
'contact_requested_at',
|
||||
'guest_confirmed_at',
|
||||
'archived_at',
|
||||
'referral_source',
|
||||
'utm_source',
|
||||
'utm_medium',
|
||||
@@ -151,6 +155,9 @@ protected function casts(): array
|
||||
'balance_requested_at' => 'immutable_datetime',
|
||||
'balance_reminded_at' => 'immutable_datetime',
|
||||
'arrival_info_sent_at' => 'immutable_datetime',
|
||||
'contact_requested_at' => 'immutable_datetime',
|
||||
'guest_confirmed_at' => 'immutable_datetime',
|
||||
'archived_at' => 'immutable_datetime',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -341,6 +348,15 @@ public function offerHtml(string $key): HtmlString
|
||||
return OfferTerms::html($this, $key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the booking may be moved to the archive: it is over (closed, or the stay has ended) and holds nothing.
|
||||
*/
|
||||
public function canBeArchived(): bool
|
||||
{
|
||||
return in_array($this->status, [BookingStatus::Cancelled, BookingStatus::Declined, BookingStatus::Expired], true)
|
||||
|| ($this->departure->isPast() && in_array($this->status, BookingStatus::occupying(), true));
|
||||
}
|
||||
|
||||
public function isHoldActive(): bool
|
||||
{
|
||||
return in_array($this->status, BookingStatus::holding(), true) && $this->hold_expires_at?->isFuture();
|
||||
|
||||
Reference in new issue
Block a user