{{--

Enrollment Report

Successful Enrollment Pending Enrollment Failed Enrollment Unique Customer Count
{{ $successful_enrollments}} {{ $pending_enrollments}} {{ $failed_enrollments}} {{ count($unique_customer_count) }}


--}} @php $count=1; $count2 = 1; @endphp {{-- @foreach($enrolment_data as $ed) @endforeach
# First name Last name Email Loyalty no Member ref Enrollment status
{{$count++}} {{$ed->first_name}} {{$ed->last_name}} {{$ed->email?$ed->email:''}} {{$ed->loyalty_number}} {{$ed->member_reference}} {{ $ed->enrollment_status }}


@foreach($reports2 as $rep2) @endforeach
# First name Last name Email Loyalty no Status Code Status Message
{{$count2++}} {{$rep2->firstname}} {{$rep2->lastname}} {{$rep2->email?$ed->email:''}} {{$rep2->loyalty_number}} {{$rep2->status_code}} {{ $rep2->status_message }}


--}} @php $count = 1; @endphp @foreach($transaction_data as $td) @endforeach
{{$count++}} member_reference transaction_log_id transaction_reference transaction_date amount product_code transaction_type status
{{$count++}} {{$td->member_reference}} {{$td->transaction_log_id}} {{$td->transaction_reference}} {{$td->transaction_date}} {{$td->amount}} {{$td->product_code}} {{$td->transaction_type}} {{$td->status}}
{{--
--}} {{-- @php $count = 1; @endphp @foreach($mails as $mail) @endforeach
{{$mail->id}} {{$mail->subject}} {{$mail->body}} {{$mail->enrolment_id}} {{$mail->tries}} {{$mail->status}}

@php $count = 1; @endphp @foreach($reports as $report) @endforeach --}}