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,44 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Filament\Support\Contracts\HasLabel;
|
||||
|
||||
/**
|
||||
* A stated amount of a case as a portal or another source shows it (package 8, K01): stored as stated, never derived.
|
||||
* Positions of the guest's price, what the landlord pays the portal, and what the portal announces to pay out stay
|
||||
* apart; an unexplained collective amount stays unexplained.
|
||||
*/
|
||||
enum AmountKind: string implements HasLabel
|
||||
{
|
||||
case Accommodation = 'accommodation';
|
||||
case Service = 'service';
|
||||
case Discount = 'discount';
|
||||
case Fee = 'fee';
|
||||
case Unexplained = 'unexplained';
|
||||
case Commission = 'commission';
|
||||
case PayoutAnnounced = 'payout_announced';
|
||||
case InstallmentDue = 'installment_due';
|
||||
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Accommodation => 'Übernachtung',
|
||||
self::Service => 'Leistung / Zusatzleistung',
|
||||
self::Discount => 'Rabatt (mit Minus)',
|
||||
self::Fee => 'Gebühr oder Steuer',
|
||||
self::Unexplained => 'Sammelposten, nicht aufgeschlüsselt',
|
||||
self::Commission => 'Provision / an das Portal gezahlt',
|
||||
self::PayoutAnnounced => 'Angekündigte Auszahlung an uns',
|
||||
self::InstallmentDue => 'Rate des Gastes laut Portal fällig',
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the amount is part of the guest's price (and adds up to the guest total).
|
||||
*/
|
||||
public function isPricePosition(): bool
|
||||
{
|
||||
return in_array($this, [self::Accommodation, self::Service, self::Discount, self::Fee, self::Unexplained], true);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user