@extends('layouts.admin') @section('title', 'Donation Details') @section('content')

Donation Details

Complete information for donation #{{ $donation->id }}

Back to Donations

Payment Information

Payment ID
{{ $donation->payment_id }}
@if($donation->square_payment_id)
Square Payment ID
{{ $donation->square_payment_id }}
@endif
Amount
${{ number_format($donation->amount, 2) }}
Status
@if($donation->status === 'completed') @elseif($donation->status === 'pending') @else @endif {{ ucfirst($donation->status) }}
Currency
{{ $donation->currency }}
Transaction Date
{{ $donation->created_at->format('F j, Y \a\t g:i A') }}

Donor Information

Full Name
{{ $donation->donor_name }}
Email Address
{{ $donation->donor_email }}
Memorial Donation
@if($donation->memorial) Yes @else No @endif
Email Updates
@if($donation->email_updates) Subscribed @else Not subscribed @endif
@if($donation->note)
Note
{{ $donation->note }}
@endif
@if($donation->payment_response)

Payment Response Data

{{ json_encode($donation->payment_response, JSON_PRETTY_PRINT) }}
@endif @endsection