@extends('layout.app') @section('title', 'Detail Kost') @section('page-title', 'Detail Kost') @section('content')
{{-- Header --}}

{{ $kost->nama_kost }}

{{-- Body --}}
{{-- Info Kost --}}
Informasi Kost

@if($kost->lokasi_pemondokan) @endif
Pemilik {{ $kost->nama_pemilik }}
Alamat {{ $kost->alamat }}, {{ $kost->kelurahan }}
Contact Person {{ $kost->contact_person }}
Jenis Kost {{ $kost->jenis_kost }}
Jumlah Kamar {{ $kost->jumlah_kamar }}
Sisa Kamar {{ $kost->kamar_tersedia }}
Harga Rp {{ number_format($kost->harga,0,',','.') }}
Lokasi Pemondokan {{ $kost->lokasi_pemondokan }}
{{-- Fasilitas --}}
Fasilitas

@php $f = $kost->fasilitas; @endphp
    @if($f->lahan_parkir)
  • • Lahan Parkir
  • @endif @if($f->pagar)
  • • Pagar
  • @endif @if($f->cctv)
  • • CCTV
  • @endif @if($f->ac_kipas)
  • • AC / Kipas
  • @endif @if($f->meteran_listrik)
  • • Meteran Listrik
  • @endif @if($f->wifi)
  • • WiFi
  • @endif @if($f->peraturan_penghuni)
  • • Peraturan Penghuni
  • @endif @if($f->penjaga)
  • • Penjaga
  • @endif {{-- Fasilitas tambahan --}} @if($f->kasur)
  • • Kasur
  • @endif @if($f->bantal)
  • • Bantal
  • @endif @if($f->lemari)
  • • Lemari
  • @endif @if($f->guling)
  • • Guling
  • @endif @if($f->kursi)
  • • Kursi
  • @endif @if($f->meja)
  • • Meja Belajar
  • @endif @if($f->meja_rias)
  • • Meja Rias
  • @endif @if($f->mesin_cuci)
  • • Mesin Cuci
  • @endif @if($f->r_jemur)
  • • Ruang Jemur
  • @endif @if($f->dapur)
  • • Dapur
  • @endif {{-- Fasilitas Custom --}} @if($kost->fasilitas->fasilitas_custom) @foreach($kost->fasilitas->fasilitas_custom as $custom)
  • • {{ $custom }}
  • @endforeach @endif
{{-- Galeri Gambar --}} @if($kost->images->count() > 0)
Galeri Gambar
@foreach($kost->images as $image)
Gambar Kost
@endforeach
@endif {{-- Tombol Kembali --}} Kembali Barcode
@endsection