@php $formatDate = static fn ($value) => $value ? $value->format('M d, Y h:i A') : 'N/A'; $money = static fn ($value) => '$' . number_format((float) $value, 2); @endphp
Generated on {{ $formatDate($generatedAt) }}
|
Property
{{ $property->title }}
{{ $property->address ?? 'No address provided' }}
|
Raffle Window
{{ $formatDate($raffle->start_date) }} - {{ $formatDate($raffle->dead_line) }}
Draw: {{ $formatDate($raffle->draw_date) }}
|
Purchase
{{ $transaction->name }}
{{ $transaction->email }}
{{ $money($transaction->amount) }} for {{ $ticketCount }} ticket(s)
|
|
Phone
{{ $transaction->phone }}
|
Transaction
#{{ $transaction->id }}
|
Property Code
{{ $property->internal_code ?? 'N/A' }}
|
|
{{ $ticket->ticket_number }}
|
@endforeach