Zentralen Belegungsplan und plattformuebergreifende Buchungs- und Gaesteverwaltung integrieren
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m41s

This commit is contained in:
Lars committed 2026-10-27 21:51:56 +01:00
1 parent c74199e978
commit f369018a68
41 files changed
+1343 -157

No files matched your search

+7 -1
View File
@@ -42,12 +42,18 @@ public function bookings(): HasMany
return $this->hasMany(Booking::class)->latest('arrival');
}
/** @return HasMany<BlockedPeriod, $this> */
public function portalStays(): HasMany
{
return $this->hasMany(BlockedPeriod::class)->reservations()->occupying()->latest('starts_on');
}
/**
* @return Attribute<string, never>
*/
protected function fullName(): Attribute
{
return Attribute::get(fn (): string => "{$this->first_name} {$this->last_name}");
return Attribute::get(fn (): string => trim("{$this->first_name} {$this->last_name}"));
}
/**