@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

Raffle Ticket Bundle

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' }}
@foreach ($tickets->chunk(6) as $chunk)
Tickets
@foreach ($chunk->chunk(2) as $row) @foreach ($row as $ticket) @endforeach @endforeach
{{ $ticket->ticket_number }}
Property
{{ $property->title }}
Raffle Date
{{ $formatDate($raffle->draw_date) }}
Buyer
{{ $transaction->name }}
Status
{{ ucfirst($ticket->status) }}
@if (! $loop->last)
@endif @endforeach