@extends('layouts.app') @section('title', 'Payment #' . $payment->id) @section('page-title', 'Payment Details') @section('breadcrumb', 'Payments / #' . $payment->id) @section('content')
{{ ucfirst($payment->status) }} ₹{{ number_format($payment->amount, 2) }}
Gateway
{{ $payment->gateway }}
Transaction ID
{{ $payment->transaction_id ?? '—' }}
Paid At
{{ $payment->paid_at?->format('M d, Y h:i A') ?? '—' }}
Created
{{ $payment->created_at->format('M d, Y h:i A') }}

Customer

{{ $payment->user?->name }}

{{ $payment->user?->email }}

@if($payment->order)
@foreach($payment->order->items as $item) @endforeach
ItemTotal
{{ $item->course?->title }}₹{{ number_format($item->total, 2) }}
@endif ← Back to payments
@endsection