- Table floor_plans (tenant_id, one per apartment, picture = website photo, rooms as JSON with corners in percent of the picture), model FloorPlan with BelongsToTenant, Property::floorPlan() - Admin › Webseite › Grundriss: room list with name, description, photos, equipment (from the equipment list), accessibility hint, visibility, and an area editor (click the corners on the picture) - Section floor_plan: base view without JavaScript (areas jump to the room list), Seebad view with room buttons, highlighted area and a cartouche per room (theme.js initFloorPlans) - Tests: tenant inheritance, point parsing, website output, admin create incl. validation; the render test for all themes now includes the floor plan - Docs: THEMES §5, ZUSAMMENARBEIT §6, STATUS §6 (incl. note for tenancy phase 5) - styles/grundriss: revised rendering, WebP renditions, room areas of the Stommer flat in percent Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
273 B
PHP
12 lines
273 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\FloorPlans\Pages;
|
|
|
|
use App\Filament\Resources\FloorPlans\FloorPlanResource;
|
|
use Filament\Resources\Pages\CreateRecord;
|
|
|
|
class CreateFloorPlan extends CreateRecord
|
|
{
|
|
protected static string $resource = FloorPlanResource::class;
|
|
}
|