@include('layouts.shared/title-meta', ['title' => 'Form']) @include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? ''])
processing...
@if (Session::has('error'))
{{ Session::get('error') }}

@endif @if (session('success'))
{{ session('success') }}

@endif {{--

Plan Camp

--}} @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@if ($form->link_type == 'form') @else Back @endif
@endif @php $history = Formhelper::getMultiformData( $form->partition, $form->form_id, $form->user_id, ); @endphp
@foreach ($history->data->submissions as $sub) @php $sub->formdata->id = $sub->id; @endphp @endforeach
Action. Plan Date Execution Done Doctor Name Camp Execution Date UiD Month Speciality Current Business Acegaba Camp Executed Status Enter Remarks Enter Actual Camp Execution Date Camp Start Time Camp End time Manger Joined Actual Attendee count Acegaba Rx count Acegaba POB Units Acegaba POB Value Galop Rx count Galop POB Units Galop POB Value Emlevo Rx count Emlevo POB Units Emlevo POB Value Strocoz Rx count Strocoz POB Units Strocoz POB Value Other Brand1 Other Brand1 Rx count Other Brand1 POB Other Brand1 POB Value Other Brand2 Other Brand2 Rx count Other Brand2 POB Other Brand2 POB Value Total POB Value
@if(isset($sub->formdata->execution_done) && $sub->formdata->execution_done == 'yes')

Execution Completed

@elseif(isset($sub->formdata->execution_done) && $sub->formdata->execution_done == 'no')

Execution Cancelled

@else @endif
{{ $sub->formdata->plan_date }} {{ isset($sub->formdata->execution_done) && $sub->formdata->execution_done == 'yes' ? 'Yes' : 'No' }} @if (isset($sub->formdata->contact_id) && $sub->formdata->contact_id !== '') {{ $sub->formdata->contact_id }} @elseif (isset($sub->formdata->doctor_name)) {{ $sub->formdata->doctor_name }} @else {{-- Default value or empty string, adjust as needed --}} {{ '' }} @endif {{ $sub->formdata->execution_date }} {{ isset($sub->formdata->msl_code) ? $sub->formdata->msl_code: '' }} {{ isset($sub->formdata->month) ? $sub->formdata->month : '' }} {{ isset($sub->formdata->speciality) ? $sub->formdata->speciality : '' }} {{ isset($sub->formdata->current_business_acegaba) ? $sub->formdata->current_business_acegaba : '' }} {{ isset($sub->formdata->camp_executed_status) ? $sub->formdata->camp_executed_status : '' }} {{ isset($sub->formdata->enter_remarks) ? $sub->formdata->enter_remarks : '' }} {{ isset($sub->formdata->enter_actual_camp_execution_date) ? $sub->formdata->enter_actual_camp_execution_date : '' }} {{ isset($sub->formdata->camp_start_time) ? $sub->formdata->camp_start_time : '' }} {{ isset($sub->formdata->camp_end_time) ? $sub->formdata->camp_end_time : '' }} {{ isset($sub->formdata->manger_joined) ? $sub->formdata->manger_joined : '' }} {{ isset($sub->formdata->actual_attendee_count) ? $sub->formdata->actual_attendee_count : '' }} {{ isset($sub->formdata->acegaba_rx_count) ? $sub->formdata->acegaba_rx_count : '' }} {{ isset($sub->formdata->acegaba_pob_units) ? $sub->formdata->acegaba_pob_units : '' }} {{ isset($sub->formdata->acegaba_pob_value) ? $sub->formdata->acegaba_pob_value : '' }} {{ isset($sub->formdata->galop_rx_count) ? $sub->formdata->galop_rx_count : '' }} {{ isset($sub->formdata->galop_pob_units) ? $sub->formdata->galop_pob_units : '' }} {{ isset($sub->formdata->galop_pob_value) ? $sub->formdata->galop_pob_value : '' }} {{ isset($sub->formdata->emlevo_rx_count) ? $sub->formdata->emlevo_rx_count : '' }} {{ isset($sub->formdata->emlevo_pob_units) ? $sub->formdata->emlevo_pob_units : '' }} {{ isset($sub->formdata->emlevo_pob_value) ? $sub->formdata->emlevo_pob_value : '' }} {{ isset($sub->formdata->strocoz_rx_count) ? $sub->formdata->strocoz_rx_count : '' }} {{ isset($sub->formdata->strocoz_pob_units) ? $sub->formdata->strocoz_pob_units : '' }} {{ isset($sub->formdata->strocoz_pob_units) ? $sub->formdata->strocoz_pob_units : '' }} {{ isset($sub->formdata->other_brand_1) ? $sub->formdata->other_brand_1 : '' }} {{ isset($sub->formdata->other_brand1_rx_count) ? $sub->formdata->other_brand1_rx_count : '' }} {{ isset($sub->formdata->other_brand1_pob) ? $sub->formdata->other_brand1_pob : '' }} {{ isset($sub->formdata->other_brand1_pob_value) ? $sub->formdata->other_brand1_pob_value : '' }} {{ isset($sub->formdata->other_brand_2) ? $sub->formdata->other_brand_2 : '' }} {{ isset($sub->formdata->other_brand2_rx_count) ? $sub->formdata->other_brand2_rx_count : '' }} {{ isset($sub->formdata->other_brand2_pob) ? $sub->formdata->other_brand2_pob : '' }} {{ isset($sub->formdata->other_brand2_pob_value) ? $sub->formdata->other_brand2_pob_value : '' }} {{ isset($sub->formdata->total_pob_value) ? $sub->formdata->total_pob_value : '' }}
@csrf @if ($id) @endif

Plan Camp

@foreach ($questions as $question) @if (in_array($question->code, [ 'execution_date', 'camp_executed_status', 'enter_remarks', 'enter_actual_camp_execution_date', 'camp_start_time', 'camp_end_time', 'manger_joined', 'actual_attendee_count', 'acegaba_rx_count', 'acegaba_rx_value', 'acegaba_pob_units', 'acegaba_pob_value', 'galop_rx_count', 'galop_pob_units', 'galop_pob_value', 'emlevo_rx_count', 'emlevo_pob_units', 'emlevo_pob_value', 'strocoz_rx_count', 'strocoz_pob_units', 'strocoz_pob_value', 'other_brand_1', 'other_brand1_rx_count', 'other_brand1_pob', 'other_brand1_pob_value', 'other_brand_2', 'other_brand2_rx_count', 'other_brand2_pob', 'other_brand2_pob_value', 'total_pob_value' ])) @continue @endif
@switch($question->type) @case('hidden') @break @case('text') @case('email') @case('tel') @case('date') required == 'yes' ? 'required' : '' }} value="{{ isset($question->value) ? $question->value : '' }}"> @break @case('number') required == 'yes' ? 'required' : '' }} value="{{ isset($question->value) ? $question->value : 0 }}"> @break @case('textarea') @break @case('dropdown') @break @case('checkbox') @foreach ($question->options as $option)
value) && $question->value != '' && in_array($option->value, $question->value) ? 'checked' : '' }}>
@endforeach @break @case('file') @break @endswitch
@endforeach @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@endif
@csrf {{-- --}}

Report Execution

@foreach ($questions as $question)
@switch($question->type) @case('hidden') @break @case('text') @case('email') @case('tel') @case('date') required == 'yes' ? 'required' : '' }} value="{{ isset($question->value) ? $question->value : '' }}"> @break @case('number') required == 'yes' ? 'required' : '' }} value="{{ isset($question->value) ? $question->value : 0 }}"> @break @case('textarea') @break @case('dropdown') @break @case('checkbox') @foreach ($question->options as $option)
value) && $question->value != '' && in_array($option->value, $question->value) ? 'checked' : '' }}>
@endforeach @break @case('file') @break @endswitch
@endforeach @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@endif
@include('layouts.shared/footer-script')