@extends('layouts.app') @section('title', 'Flats') @section('content')
Add Flat
@if(request()->hasAny(['project_id', 'status', 'flat_type'])) @endif
@if($flats->count())
@foreach($flats as $flat) @endforeach
# Flat No. Project Building Type Size Price ({{ env('CURRENCY_SYMBOL', '৳') }}) Facing Status Actions
{{ $loop->iteration + ($flats->currentPage() - 1) * $flats->perPage() }} {{ $flat->flat_number }} {{ $flat->project->project_name ?? '—' }} {{ $flat->building->building_name ?? '—' }} {{ $flat->flat_type }} {{ number_format($flat->flat_size, 0) }} {{ strtoupper($flat->size_unit ?? 'sft') }} {{ number_format($flat->flat_price, 0) }} {{ str_replace('_', ' ', $flat->facing ?? '—') }} {{ ucfirst($flat->status) }}
@csrf @method('DELETE')
{{ $flats->appends(request()->query())->links() }}
@else
No Flats Yet

Add flats to your project buildings.

@endif
@endsection