Transaction history

@if ($transactions->isEmpty()) No transactions yet. @else
@foreach ($transactions as $payment)

{{ $payment->subscription->plan->name ?? 'Plan' }}

{{ $payment->paid_at?->format('d M Y, h:i A') ?? $payment->created_at->format('d M Y, h:i A') }}

@if ($payment->gateway_payment_id)

{{ $payment->gateway_payment_id }}

@endif

₹{{ number_format($payment->amount, 2) }}

{{ ucfirst($payment->status) }}
@endforeach
@endif