@extends('layouts.customer') @section('title', 'Riwayat Pembayaran') @section('content')

Riwayat Pembayaran

@forelse($payments as $payment) @empty @endforelse
Tanggal No. Invoice Periode Jumlah Metode
{{ $payment->paid_at ? $payment->paid_at->format('d M Y H:i') : '-' }} {{ $payment->invoice_number }} {{ $payment->period ?? $payment->created_at->format('F Y') }} Rp {{ number_format($payment->total, 0, ',', '.') }} {{ ucfirst($payment->payment_method ?? 'N/A') }}

Belum ada riwayat pembayaran

@if($payments->hasPages())
{{ $payments->links() }}
@endif
@endsection