@extends('layouts.app') @section('title', 'Riwayat Pembayaran') @section('page-title', 'Riwayat Pembayaran') @section('content') @php $headerIcon = ' '; $emptyIcon = ' '; @endphp
@if($pembayaran->count() > 0) @foreach ($pembayaran as $item) {{ optional($item->tanggal_bayar ?? $item->created_at)->isoFormat('D MMM YYYY, HH:mm') ?? 'N/A' }} {{ optional($item->tagihan)->jenis_tampilan ?? optional($item->tagihan->tarif)->nama_pembayaran ?? 'N/A' }}

Kode: {{ $item->tagihan->kode_pembayaran ?? '-' }}

Rp {{ number_format($item->jumlah_bayar ?? 0, 0, ',', '.') }} @if($item->is_cicilan)
Cicilan
@endif {{ $item->metode_pembayaran ?? 'N/A' }} {{ optional($item->verifier)->nama_lengkap ?? 'Sistem' }} @if ($item) Kwitansi @endif @endforeach @if ($pembayaran->hasPages()) {{ $pembayaran->links() }} @endif
@else @endif
@endsection