Deploy FeWo mit PipelineManager / deploy (push) Successful in 3m34s
- Stornoregel (Stufen nach Tagen vor Anreise, Mietpreis oder Gesamtpreis, Ersatzmieter-Gebuehr), je Vertragsvorlage, beim Angebot eingefroren, als Platzhalter im Vertrag - Stornierung (Gast-Link oder Verwaltung) berechnet die Kosten, legt einen Stornofall an; Verwaltung Stornierungen mit Vorschlag, Festlegung, Saldo, Abrechnung und Erlass; Gast sieht die Kosten vorab auf der Storno-Seite - Vertragsanlagen als eigene versionierte Dokumente mit Bedingung (immer, Zusatzleistung, Portal, von Hand), je Angebot ausgewaehlt und eingefroren; Zusatzleistungen in der Buchung erfassbar - FeWo-direkt-Installation legt die Stornoregel aus Paragraf 13 an Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
22 lines
644 B
PHP
22 lines
644 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Cancellations\Pages;
|
|
|
|
use App\Filament\Concerns\ListsCurrentProperty;
|
|
use App\Filament\Resources\Cancellations\CancellationResource;
|
|
use App\Models\Property;
|
|
use Filament\Resources\Pages\ListRecords;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
|
|
class ListCancellations extends ListRecords
|
|
{
|
|
use ListsCurrentProperty;
|
|
|
|
protected static string $resource = CancellationResource::class;
|
|
|
|
protected function scopeToProperty(Builder $query, Property $property): Builder
|
|
{
|
|
return $query->whereHas('booking', fn (Builder $booking) => $booking->where('property_id', $property->id));
|
|
}
|
|
}
|