@extends('admin.layouts.app') @section('title','Receipt — '.$donation->receipt_number) @section('breadcrumb') / Donations / {{ $donation->donation_id }} / Receipt @endsection @section('content')
{{ $ngo['name'] }}
{{ $ngo['address'] }}
{{ $ngo['phone'] }} · {{ $ngo['email'] }}
Donation Receipt
{{ $donation->receipt_number }}
{{ $donation->donation_date->format('d M Y') }}
{!! $donation->payment_status_badge !!} ₹{{ number_format($donation->amount,2) }}
Donor Details
Name: {{ $donation->donor_name }}
Email: {{ $donation->donor_email ?? '—' }}
Mobile: {{ $donation->donor_mobile ?? '—' }}
@if($donation->pan_number)
PAN: {{ $donation->pan_number }}
@endif @if($donation->address)
Address: {{ $donation->address }}
@endif
Payment Details
Purpose: {{ $donation->purpose ?? 'General' }}
Gateway: {{ ucfirst($donation->payment_gateway) }}
Payment ID: {{ $donation->payment_id ?? '—' }}
Transaction ID: {{ $donation->transaction_id ?? '—' }}
@if($ngo['80g'] || $ngo['12a'] || $ngo['pan'])
@if($ngo['80g'])
80G Registration: {{ $ngo['80g'] }}
@endif @if($ngo['12a'])
12A Registration: {{ $ngo['12a'] }}
@endif @if($ngo['pan'])
NGO PAN: {{ $ngo['pan'] }}
@endif
@endif @if($ngo['footer'])

{{ $ngo['footer'] }}

@endif
@endsection