@extends('layouts.app') @section('title', 'Verifikasi Pembayaran') @section('page-title', 'Verifikasi Pembayaran Transfer') @section('content') @php $headerIcon = ' '; $emptyIcon = ' '; @endphp
@if($pendingVerifications->count() > 0) @foreach ($pendingVerifications as $item) {{ \Carbon\Carbon::parse($item->created_at)->isoFormat('D MMM YYYY, HH:mm') }}
{{ optional($item->tagihan->mahasiswa->user)->nama_lengkap ?? 'N/A' }}
{{ optional($item->tagihan->mahasiswa)->npm ?? 'N/A' }}
{{ optional($item->tagihan)->jenis_tampilan ?? optional($item->tagihan->tarif)->nama_pembayaran ?? 'N/A' }} @if($item->is_cicilan)
Pengajuan: Cicilan
@if($item->jumlah_bayar)
Nominal diajukan: Rp {{ number_format($item->jumlah_bayar, 0, ',', '.') }}
@endif @endif @php $tagihan = $item->tagihan; $sisaPokok = $tagihan->sisa_pokok ?? $tagihan->jumlah_tagihan; $isWajibLunas = $tagihan->isWajibLunas(); $bisaCicil = !$isWajibLunas && $sisaPokok > 0; $jumlahCicilan = $item->is_cicilan ? ($item->jumlah_bayar ?? $sisaPokok) : null; @endphp
@if($jumlahCicilan)
Cicilan diajukan: Rp {{ number_format($jumlahCicilan, 0, ',', '.') }}
@endif
Total tagihan: Rp {{ number_format($tagihan->jumlah_tagihan, 0, ',', '.') }}
@if($tagihan->total_angsuran > 0)
Dibayar: Rp {{ number_format($tagihan->total_angsuran, 0, ',', '.') }}
Sisa: Rp {{ number_format($sisaPokok, 0, ',', '.') }}
@endif
@if($item->status_verifikasi === 'Ditinjau') Ditinjau @else Baru @endif Lihat
@endforeach @if ($pendingVerifications->hasPages()) {{ $pendingVerifications->links() }} @endif
@else @endif
@endsection @push('scripts') @endpush