@extends('admin.layouts.app') @section('title','Payments') @section('content')

Payment History

@forelse($payments as $payment) @empty @endforelse
ID User Order ID Package Amount Status Paid At
{{ $payment->id }} {{ $payment->user->name ?? '-' }} {{ $payment->order_id }} {{ $payment->package_name }} Rp {{ number_format($payment->amount,0,',','.') }} @if($payment->status == 'paid') Paid @elseif($payment->status == 'pending') Pending @else {{ ucfirst($payment->status) }} @endif {{ optional($payment->paid_at)->format('d M Y H:i') }}
Belum ada pembayaran
@endsection