@extends('layouts.master') @section('css') @endsection @section('content')
| Sr. No | User Details | {{--Contact | --}}Date | @if ($event->eventFormInputFields) @foreach ($event->eventFormInputFields as $inputFormFields) @if ($inputFormFields->visible == \App\Enums\EventFormFieldEnum::VISIBLE) @if (!in_array($inputFormFields->name, $basicFields)){{ $inputFormFields->display_label }} | @endif @endif @endforeach @endifAction | @if (count($eventParticipants) > 0) @php $i = $eventParticipants->perPage() * ($eventParticipants->currentPage() - 1) + 1; @endphp @foreach ($eventParticipants as $eventParticipant) @php $user = $eventParticipant->user; $extra = $eventParticipant->extra; @endphp||||
|---|---|---|---|---|---|---|---|---|---|
| {{ $i++ }} | @if ($user){{ $user->name ?? '-' }} {{ $user->email ?? '-' }} {{ $user->full_mobile_number ?? '-' }} |
@else
{{ $user->name ?? '-' }} {{ $user->email ?? '-' }} - |
@endif
{{-- {{ $user->email ?? '-' }} | {{ $user->full_mobile_number ?? '-' }} | --}}{{ $eventParticipant->created_at ? getTimezoneDateTime($eventParticipant->created_at, 'd-m-Y | h:i A') : '-' }} | @if ($event->eventFormInputFields) @foreach ($event->eventFormInputFields as $inputFormFields) @if ($inputFormFields->visible == \App\Enums\EventFormFieldEnum::VISIBLE) @if (!in_array($inputFormFields->name, $basicFields))
@php $extraColumn = isset($eventParticipant) ? (isset($eventParticipant->extra[$inputFormFields['name']]) ? $eventParticipant->extra[$inputFormFields['name']] : '-') : '-'; @endphp
@php $eventRegistrationId = ($user && $user->eventRegistrations) ? $user->eventRegistrations->first()->id : ''; @endphp
@if ($inputFormFields->type == 'checkbox')
@if (is_array($extraColumn))
@if (count($extraColumn) > 0)
{{ $eventParticipant->extra['category_data']['category_amount'] ?? '-' }} @elseif($inputFormFields->name == 'workshop') {{ $eventParticipant->extra['workshop_data']['workshop_name'] ?? ($eventParticipant->extra[$inputFormFields['name']] ?? '-') }} {{ $eventParticipant->extra['workshop_data']['workshop_amount'] ?? '-' }} @elseif($inputFormFields->name == 'register_accompany') {{ $eventParticipant->extra['register_accompany'] ?? '-' }} {{ $eventParticipant->extra['accompany_data']['accompany_amount'] ?? '' }} @elseif($inputFormFields->name == 'accompany_person') {{ $eventParticipant->extra['accompany_person'] ?? '-' }} @if (isset($eventParticipant->extra['accompany_name'])) @foreach ($eventParticipant->extra['accompany_name'] as $data) {{ $data }} @endforeach @endif @else {{ $extraColumn }} @endif @if ( !Str::contains($inputFormFields->display_label, [ 'Category', 'Workshop', 'Accompany', 'Accompany Person', 'Payment Mode', 'Upload Payment Receipt', 'Transaction Date', 'UTR Id / Transaction Id.', ])) @endif |
@endif
@endif
@endforeach
@endif
|||
| No Data Found | |||||||||