Data Properti

@if(session('success'))
{{ session('success') }}
@endif
Daftar Properti Tersedia
@forelse($properti as $p) @php if ($p->status_unit == 'tersedia') { $statusClass = 'status-tersedia'; } elseif ($p->status_unit == 'dipesan') { $statusClass = 'status-dipesan'; } else { $statusClass = 'status-terjual'; } if ($p->perumahan && str_contains(strtolower($p->perumahan->nama_perumahan), 'kelapa')) { $proyekClass = 'project-kelapa'; } else { $proyekClass = 'project-green'; } @endphp @empty @endforelse
No Perumahan Tipe Blok Jenis Properti Kategori Harga Luas Bangunan Luas Tanah Stok Unit Status Unit Gambar Action
@if($isPaginated) {{ ($properti->currentPage() - 1) * $properti->perPage() + $loop->iteration }} @else {{ $loop->iteration }} @endif {{ $p->perumahan->nama_perumahan ?? '-' }} {{ $p->tipe_properti }} {{ $p->blok->nama_blok ?? '-' }} {{ ucfirst($p->jenis_properti) }} {{ ucfirst($p->kategori_properti) }} Rp {{ number_format($p->harga_properti, 0, ',', '.') }} {{ $p->luas_bangunan }} m² {{ $p->luas_tanah }} m² {{ $p->stok_unit }} unit {{ ucfirst($p->status_unit) }} @if($p->gambar->count() > 0) @else Tidak ada gambar @endif
@csrf @method('DELETE')
Belum ada data properti
@if($isPaginated) {{ $properti->appends(request()->query())->links() }} @endif