@php // Primary specified logo path $candidate = public_path('images/teachers/readingful_pdf_logo.png'); // Fallbacks if the primary is missing if (!file_exists($candidate)) { $candidate = public_path('images/public/readingful_receipt_logo.png'); } if (!file_exists($candidate)) { $candidate = public_path('images/public/readingful_email_logo.png'); } $logoBase64 = ''; if (file_exists($candidate)) { try { $logoBase64 = 'data:image/png;base64,' . base64_encode(file_get_contents($candidate)); } catch (\Throwable $e) { $logoBase64 = ''; } } @endphp
Receipt of Payment
Transaction Number #{{ $receipt_number }}
Payment Date {{ $date }}
Item {{ $type }} ( {{ $item_line }} )
Total Paid ${{ number_format($transaction->amount, 2) }}
Payment Method {{ $payment_method }}
Paid By {{ $paid_by }} ( {{ $paid_by_email }} )
Recipient Mason Education ( support@readingful.com )