Data Properti

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 Nama Properti Blok Jenis Properti Kategori Tipe Harga Luas Bangunan Luas Tanah Stok Unit Status Unit Action
@if($isPaginated) {{ ($properti->currentPage() - 1) * $properti->perPage() + $loop->iteration }} @else {{ $loop->iteration }} @endif {{ $p->perumahan->nama_perumahan ?? '-' }} {{ $p->blok->nama_blok ?? '-' }} {{ ucfirst($p->jenis_properti) }} {{ ucfirst($p->kategori_properti) }} {{ $p->tipe_properti }} Rp {{ number_format($p->harga_properti, 0, ',', '.') }} {{ $p->luas_bangunan }} m² {{ $p->luas_tanah }} m² {{ $p->stok_unit }} unit {{ ucfirst($p->status_unit) }}
@csrf @method('DELETE')
Belum ada data properti
@if($isPaginated) {{ $properti->appends(request()->query())->links() }} @endif