@extends('emails.layout') @section('content')

New Payment Received

Hello {{ $adminName }},

A payment has been successfully processed on the platform. Here are the details:

Payment Summary

@if(isset($transactionId)) @endif
Invoice Number: {{ $invoiceNumber }}
Payment Type: {{ $paymentType }}
Amount: {{ $amount }} {{ strtoupper($currency) }}
Payment Date: {{ $paymentDate }}
Transaction ID: {{ $transactionId }}

Customer Information

@if(isset($userId)) @endif
Name: {{ $userName }}
Email: {{ $userEmail }}
User ID: #{{ $userId }}
@if(isset($items) && count($items) > 0)

Payment Items

@foreach($items as $item) @endforeach
{{ $item['name'] }}
@if(isset($item['description']))
{{ $item['description'] }}
@endif
{{ $item['amount'] }} {{ strtoupper($currency) }}
@endif

This is an automated notification sent to all super administrators.

@endsection