{{ __('Detail Unit') }}

{{ __('Informasi Unit') }}

{{-- Menggunakan route yang benar: projects.units.index --}} {{ __('Kembali') }} @can('edit units') {{ __('Edit') }} @endcan @can('delete units') {{-- Mengubah tombol hapus untuk memicu modal konfirmasi --}} @endcan
{{ __('Nama Unit:') }} {{ $unit->nama_unit }}
{{ __('Alamat:') }} {{ $unit->alamat }}
{{ __('Proyek:') }} {{ $unit->project->name }}
{{ __('Status:') }} {{ ucfirst($unit->status) }}
{{ __('Subsidi:') }} {{ $unit->subsidi ? 'Ya' : 'Tidak' }}
@if ($unit->luas_tanah)
{{ __('Luas Tanah:') }} {{ $unit->luas_tanah }} m²
@endif @if ($unit->luas_bangunan)
{{ __('Luas Bangunan:') }} {{ $unit->luas_bangunan }} m²
@endif @if ($unit->lantai)
{{ __('Lantai:') }} {{ $unit->lantai }}
@endif @if ($unit->jumlah_kamar_tidur)
{{ __('Jumlah Kamar Tidur:') }} {{ $unit->jumlah_kamar_tidur }}
@endif @if ($unit->jumlah_kamar_mandi)
{{ __('Jumlah Kamar Mandi:')}} {{ $unit->jumlah_kamar_mandi }}
@endif @can('view harga pokok')
{{ __('Harga Pokok:') }} Rp{{ number_format($unit->harga, 0, ',', '.') }}
@endcan
{{ __('Harga Jual:') }} Rp{{ number_format($unit->harga_jual, 0, ',', '.') }}
{{ __('Deskripsi:') }}

{{ $unit->deskripsi }}

@if ($unit->image_path)
{{ $unit->nama_unit }}

{{ __('Foto Utama') }}

@endif @if ($unit->denah_image_path)
Denah {{ $unit->nama_unit }}

{{ __('Denah') }}

@endif @if ($unit->design_image_path)
Desain {{ $unit->nama_unit }}

{{ __('Desain') }}

@endif @if (!$unit->image_path && !$unit->denah_image_path && !$unit->design_image_path)

{{ __('Tidak ada gambar yang tersedia untuk unit ini.') }}

@endif

{{ __('Progres Pembangunan') }}

@can('create unit progress') {{ __('Tambah Progress') }} @endcan
@if (session('success')) @endif @forelse ($unitProgresses as $progress) @empty @endforelse
{{ __('Tahapan') }} {{ __('Tanggal Progres') }} {{ __('Persentase') }} {{ __('Aksi') }}
{{ $progress->stage->name }} {{ \Carbon\Carbon::parse($progress->tanggal_progres)->translatedFormat('d F Y') }} {{ $progress->progress_percentage }}% @can('edit unit progress') @endcan @can('delete unit progress') {{-- Mengubah tombol hapus untuk memicu modal konfirmasi --}} @endcan
{{ __('Belum ada progres yang tercatat untuk unit ini.') }}