Pakete 8, 5 und 6: Beträge und Zahlungen, Ändern und Stornieren, A6 im Vorgang
Deploy FeWo mit PipelineManager / deploy (push) Successful in 4m44s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 4m44s
- Paket 8: Zahlungsarten (Gast an uns, laut Portal, Auszahlung, Erstattung), Portalbeträge als Angaben mit Quelle, Übersicht nach Zuständigkeit (R09). - Paket 5: Ändern mit Folgenvorschau, vereinbart oder dem Gast vorgeschlagen (signierter Link), ein Stornoweg mit Grund und Erstattung, Portalstorno erst nach Bestätigung. - Paket 6: eigene Nutzung, Besuch und Sperre als Vorgang mit Kurabgabe und Aufenthaltsbestätigung; Bestandsübernahme der Sperren mit identischem Export. - Wirksame Einstellungen (Expertenansicht), Abnahmekatalog T01–T14, Ergebnis-, Abnahme- und Konfigurationsdokument. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
33f8f899d6
commit
3bcfc09417
77 files changed
+3638
-122
No files matched your search
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Filament\Support\Contracts\HasLabel;
|
||||
|
||||
/**
|
||||
* The kinds of internal cases (A6): the landlord's own use, a private stay of family or friends, or a block without a
|
||||
* guest (maintenance and the like). None of them has a rental contract, payment reminders, reviews or marketing.
|
||||
*/
|
||||
enum InternalKind: string implements HasLabel
|
||||
{
|
||||
case OwnUse = 'own_use';
|
||||
case PrivateStay = 'private_stay';
|
||||
case Block = 'block';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::OwnUse => 'Eigene Nutzung',
|
||||
self::PrivateStay => 'Private Überlassung (Familie, Freunde)',
|
||||
self::Block => 'Sperre (z. B. Wartung)',
|
||||
};
|
||||
}
|
||||
|
||||
public function hasGuests(): bool
|
||||
{
|
||||
return $this === self::PrivateStay;
|
||||
}
|
||||
|
||||
public static function fromPurpose(?BlockedPeriodPurpose $purpose): self
|
||||
{
|
||||
return $purpose === BlockedPeriodPurpose::OwnUse ? self::OwnUse : self::Block;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user