@if($buildings->count())
| # |
Building Name |
Project |
Total Floors |
Status |
Actions |
@foreach($buildings as $building)
|
{{ $loop->iteration + ($buildings->currentPage() - 1) * $buildings->perPage() }} |
{{ $building->building_name }} |
{{ $building->project->project_name ?? '—' }} |
{{ $building->total_floors ?? '—' }} |
{{ $building->is_active ? 'Active' : 'Inactive' }}
|
|
@endforeach
{{ $buildings->appends(request()->query())->links() }}
@else
No Buildings Yet
Add your first building.
@endif