@extends('layouts.app') @section('title', $project->project_name) @section('content')
Add Building Edit
Project Details
Company {{ $project->company->name ?? '—' }}
Status {{ ucfirst(str_replace('_', ' ', $project->status)) }}
Location {{ $project->address ?? '—' }}
City {{ $project->city ?? '—' }}
District {{ $project->district ?? '—' }}
Land Area {{ $project->total_land_area ? $project->total_land_area . ' ' . ucfirst($project->land_area_unit ?? '') : '—' }}
Start Date {{ $project->start_date ? $project->start_date->format('d M Y') : '—' }}
End Date {{ $project->end_date ? $project->end_date->format('d M Y') : '—' }}
@if($project->description)
Description {{ $project->description }}
@endif
Flat Summary
{{ $flatStats['available'] }}
Available
{{ $flatStats['booked'] }}
Booked
{{ $flatStats['sold'] }}
Sold
{{ $flatStats['handover'] }}
Handover
Buildings Add
@if($project->buildings->count())
@foreach($project->buildings as $building) @endforeach
Building Floors Blocks Total Flats Status Actions
{{ $building->building_name }} {{ $building->total_floors ?? '—' }} {{ $building->blocks->count() }} {{ $building->flats->count() }} {{ $building->is_active ? 'Active' : 'Inactive' }}
@else
No Buildings

Add buildings to this project.

@endif
@endsection