@extends('admin.layouts.app')
@section('title', 'RERA Details')
@section('breadcrumb')
Projects
RERA Details
@endsection
@section('heading', 'RERA Details')
@section('subheading', 'Manage RERA registration and compliance for all projects.')
@section('actions')
Add Project
@endsection
@section('content')
| Project |
RERA No. |
State |
Valid Until |
Status |
Actions |
@forelse($projects as $project)
@php
$validUntil = $project->rera_valid_until;
$status = $project->rera_registered ? 'Registered' : 'Pending';
if ($validUntil && $validUntil->isPast()) {
$status = 'Expired';
}
@endphp
| {{ $project->title }} |
{{ $project->rera_number ?? '—' }} |
{{ $project->rera_state ?? '—' }} |
{{ $validUntil ? $validUntil->format('d M Y') : '—' }} |
{{ $status }}
|
Edit
|
@empty
| No projects yet. Add one. |
@endforelse
@if ($projects->hasPages())
Showing {{ $projects->firstItem() ?? 0 }} to {{ $projects->lastItem() ?? 0 }} of {{ $projects->total() }} results
{{ $projects->links() }}
@endif
@endsection