@extends('layouts.app')
@section('content')
@php
$currentUser = auth()->user();
$canUploadPaymentProof = $currentUser && $currentUser->hasRole('user') && (int) $currentUser->resident_id === (int) $resident->id;
$bankName = \App\Models\SiteSetting::getValue('payment_bank_name', config('services.payment.bank_name', 'BCA'));
$bankAccount = \App\Models\SiteSetting::getValue('payment_bank_account', config('services.payment.bank_account', '0000000000'));
$bankHolder = \App\Models\SiteSetting::getValue('payment_bank_holder', config('services.payment.bank_holder', 'Cluster Permata'));
@endphp
{{ $resident->address }}
@if($resident->phone)
|
{{ $resident->phone }}
@endif
{{ $s[0] }} Transfer sesuai nominal tagihan, lalu unggah bukti transfer pada periode iuran yang ingin dibayar. Bank {{ $bankName }} {{ $bankAccount }} a.n. {{ $bankHolder }}{{ $resident->name }}
Rp {{ number_format($s[1], 0, ',', '.') }}
Pembayaran via Transfer Bank {{ $bankName }}
Rincian periode iuran, denda ronda, jimpitan, pembayaran, sisa tagihan, status, dan bukti pembayaran.
| Periode | Iuran | Denda | Jimpitan | Dibayar | Sisa | Status | Bukti / Bayar |
|---|---|---|---|---|---|---|---|
| {{ $d->period }} | Rp {{ number_format($d->amount, 0, ',', '.') }} | Rp {{ number_format($d->ronda_fine, 0, ',', '.') }} | Rp {{ number_format($d->jimpitan_amount, 0, ',', '.') }} | Rp {{ number_format($d->paid_amount, 0, ',', '.') }} | Rp {{ number_format($remaining, 0, ',', '.') }} |
@if($d->status === 'paid' || $d->status === 'lunas')
@elseif($d->status === 'partial' || $d->status === 'sebagian')
@else
@endif
{{ $d->status }}
@if($d->payment_verification_status && $d->payment_verification_status !== 'none')
Verifikasi: {{ str_replace('_', ' ', $d->payment_verification_status) }} @endif |
@if($d->payment_proof_path)
Lihat Bukti
@if($d->payment_proof_uploaded_at)
Dikirim {{ $d->payment_proof_uploaded_at->format('d/m/Y H:i') }} @endif @else Belum ada bukti. @endif @if($d->paid_amount > 0) Download Kwitansi PDF @endif @if($canUploadPaymentProof && $remaining > 0) @endif |
Belum ada data iuranRiwayat iuran warga ini belum tersedia. |
|||||||
Transaksi pemasukan yang tercatat untuk warga ini, termasuk metode pembayaran, nomor kwitansi, dan bukti pembayaran.
Transaksi pemasukan yang tercatat untuk warga ini, termasuk metode pembayaran, nomor kwitansi, dan bukti pembayaran.
| Tanggal | Kategori | Metode | Kwitansi | Download | Bukti | Keterangan | Jumlah |
|---|---|---|---|---|---|---|---|
| {{ optional($t->transaction_date)->format('d/m/Y') }} | {{ $t->category }} | {{ strtoupper($t->payment_method ?: '-') }} | {{ $t->receipt_number ?: '-' }} | @if($t->receipt_number)PDF@else - @endif | @if($proofPath) Lihat bukti @else - @endif | {{ $t->description }} | Rp {{ number_format($t->amount, 0, ',', '.') }} |
| Belum ada transaksi. | |||||||