@php
$properti = $transaksi->properti;
$hargaProperti = $properti->harga_properti ?? 0;
$biayaAdmin = 500000;
$biayaNotaris = 2500000;
// ambil langsung dari database
$bookingFee = $properti->bookingFee ?? 0;
$uangMuka = 0;
if (strtolower($properti->kategori_properti ?? '') == 'komersil') {
$uangMuka = $hargaProperti * 0.15;
}
$totalHarga = $hargaProperti + $biayaAdmin + $biayaNotaris + $uangMuka;
$sisaBayar = $totalHarga - $bookingFee;
@endphp
Harga Properti
Rp {{ number_format($properti->harga_properti ?? 0, 0, ',', '.') }}
Biaya Administrasi
Rp {{ number_format($biayaAdmin,0,',','.') }}
Biaya Notaris & Akta
Rp {{ number_format($biayaNotaris,0,',','.') }}
@if($uangMuka > 0)
Uang Muka 15%
Rp {{ number_format($uangMuka,0,',','.') }}
@endif
Total Harga
Rp {{ number_format($totalHarga,0,',','.') }}
Booking Fee (sudah dibayar)
- Rp {{ number_format($bookingFee,0,',','.') }}
Sisa Pembayaran Lunas
Rp {{ number_format($sisaBayar,0,',','.') }}