@extends('layouts.app') @section('content')
| ID | Nama | No KTP | No HP | Alamat | Blok | No Rumah | Status | Status Huni | Tanggal Masuk | Tanggal Keluar | Aksi | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $p->nama }} | {{ $p->no_ktp }} | {{ $p->email }} | {{ $p->telepon }} | {{ $p->alamat }} | {{ $p->rumah->blok ?? '-' }} | {{ $p->rumah->no_rumah ?? '-' }} | {{ $p->status }} | {{ $p->status_huni }} | {{ $p->tanggal_masuk }} | {{ $p->tanggal_keluar }} | Edit Hapus |
| Belum ada data | ||||||||||||
| ID | Blok | No Rumah | {{-- TAMBAHAN --}}Type | Status | {{-- TAMBAHAN --}}Kepemilikan | Luas Tanah | Harga | {{-- TAMBAHAN --}}Posisi | Keterangan | {{-- TAMBAHAN --}}Dibuat |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $r->blok }} | {{ $r->no_rumah }} | {{ $r->type_rumah ?? '-' }} | @if($r->status == 'Kosong') Kosong @else Terisi @endif | @if($r->status_kepemilikan == 'Tersedia') Tersedia @elseif($r->status_kepemilikan == 'Booking') Booking @else Terjual @endif | {{ $r->luas_tanah ?? '-' }} m² | @if($r->harga) Rp {{ number_format($r->harga, 0, ',', '.') }} @else - @endif | {{ $r->posisi ?? '-' }} | {{ $r->keterangan ?? '-' }} | {{ $r->created_at ? $r->created_at->format('d-m-Y') : '-' }} |
| Belum ada data rumah | ||||||||||