@include('layouts.shared/title-meta', ['title' => 'Form']) @include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? ''])
"; print_r($submissions); exit;
$alreadySubmittedDoctors = [];
@endphp
@foreach (collect($submissions)->sortByDesc('formdata.record_date') as $sub)
@endforeach
#
Action
Doctor Name
MSL Code
Speciality
BF Educator Code
BF Educator Name
BF MSL Selected
Monthly MLC Support
Monthly MLC Competition Support
@forelse($submissions as $key => $sub)
@php
$d = $sub->formdata ?? null;
$alreadySubmittedDoctors[] = $d->contact_id
@endphp
@if ($d)
{{ $key + 1 }}
@if (strtolower($sub->workflow_status) == 'rejected')
@else
@endif
{{ $d->contact_id ?? '-' }}
{{ $d->msl_code ?? '-' }}
{{ $d->speciality ?? '-' }}
{{ $d->bf_educator_emp_code ?? '-' }}
{{ $d->bf_educator_emp_name ?? '-' }}
{{ $d->bf_msl_for_same_dr_selected ?? '-' }}
{{ $d->monthly_mlc_support_in_value ?? 0 }}
{{ $d->monthly_mlc_competition_support_in_value ?? 0 }}
@endif
@empty
No
submissions found
@endforelse