@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

{{ $form->title }}

@if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@if ($form->link_type == 'form') View History @else Back @endif
@endif @if (isset($form->user_info))
Submitted By: {{ $form->user_info->name }}
@endif
{{-- hysodew starts --}} {{-- hysodew ends --}} {{-- hydrakem starts --}} {{-- hydrakem ends --}} {{-- hydrakem max starts --}} {{-- hydrakem max ends --}} {{-- moxam starts --}} {{-- moxam ends --}} {{-- moxam d starts --}} {{-- moxam d ends --}} {{-- hysodew_liquigel starts --}} {{-- hysodew_liquigel ends --}} {{-- travorite starts --}} {{-- travorite ends --}} {{-- travorite_t starts --}} {{-- travorite_t ends --}} {{-- bramolide_t starts --}} {{-- bramolide_t ends --}} @csrf @if ($id) @endif @if (isset($form->manager_can_submit) && $form->manager_can_submit == true)
@endif @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') @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes')) required == 'yes' ? 'required' : '' }}> @elseif(isset($question->value)) @endif @break @case('multitextbox')
{{-- @foreach ($question->options as $option)
{{$option->display}}
@endforeach --}}
@php $brandData = [ 'hysodew_rx' => [ 'slug' => ['brand_1' => 'new_maxmoist_ajanta_pharma', 'brand_2' => 'soha_sun', 'brand_3' => 'hyla_entod', 'brand_4' => 'lubimoist_mankind', 'brand_5' => 'ipca_labs', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'NEW MAXMOIST (AJANTA PHARMA)', 'brand_2_name' => 'SOHA (SUN*)', 'brand_3_name' => 'HYLA (ENTOD)', 'brand_4_name' => 'LUBIMOIST (MANKIND)', 'brand_5_name' => 'HYLOSURGE (IPCA LABS)', 'brand_6_name' => 'Other'], ], 'hydrakem_rx' => [ 'slug' => ['brand_1' => 'refresh_tears_allergan', 'brand_2' => 'lubrex_micro_labs', 'brand_3' => 'just_tears_sunways', 'brand_4' => 'tear_drop_sun', 'brand_5' => 'veldrop_alembic', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'REFRESH TEARS (ALLERGAN)', 'brand_2_name' => 'LUBREX (MICRO LABS*)', 'brand_3_name' => 'JUST TEARS (SUNWAYS)', 'brand_4_name' => 'TEAR DROPS (SUN*)', 'brand_5_name' => 'VELDROP (ALEMBIC)', 'brand_6_name' => 'Other'], ], 'hydrakem_max_rx' => [ 'slug' => ['brand_1' => 'refresh_liquigel_allergan', 'brand_2' => 'loctears_entod', 'brand_3' => 'flogel_ciple', 'brand_4' => 'lubrex_micro_labs', 'brand_5' => 'veldrop_gel_alembic', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'REFRESH LIQUIGEL (ALLERGAN)', 'brand_2_name' => 'LOCTEARS (ENTOD)', 'brand_3_name' => 'FLOGEL (CIPLA)', 'brand_4_name' => 'LUBREX (MICRO LABS*)', 'brand_5_name' => 'VELDROP GEL (ALEMBIC)', 'brand_6_name' => 'Other'], ], 'moxam_rx' => [ 'slug' => ['brand_1' => 'vigamox_nocartis_intl', 'brand_2' => 'moxicip_cipla', 'brand_3' => 'mahaflox_mankind', 'brand_4' => 'milflox_sun', 'brand_5' => 'moxigram_micro_labs', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'VIGAMOX (NOVARTIS INTL.*)', 'brand_2_name' => 'MOXICIP (CIPLA)', 'brand_3_name' => 'MAHAFLOX (MANKIND)', 'brand_4_name' => 'MILFLOX (SUN*)', 'brand_5_name' => 'MOXIGRAM (MICRO LABS*)', 'brand_6_name' => 'Other'], ], 'moxam_d_rx' => [ 'slug' => ['brand_1' => 'vigadexa_nocartis_intl', 'brand_2' => '4_quin_d_entod', 'brand_3' => 'mofloren_d_indoco', 'brand_4' => 'moxigram_dm_micro_labs', 'brand_5' => 'moxisurge_d_ipca_labs', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'VIGADEXA (NOVARTIS INTL.*)', 'brand_2_name' => '4 QUIN-D (ENTOD)', 'brand_3_name' => 'MOFLOREN-D (INDOCO*)', 'brand_4_name' => 'MOXIGRAM-DM (MICRO LABS*)', 'brand_5_name' => 'MOXISURGE-D (IPCA LABS)', 'brand_6_name' => 'Other'], ], 'hysodew_liquigel_rx' => [ 'slug' => ['brand_1' => 'maxmoist_ultra_ajanta', 'brand_2' => 'softvisc_ajanta', 'brand_3' => 'i_soft_sentiss', 'brand_4' => 'other' ,'brand_5' => '' ,'brand_6' => '' ], 'name' => ['brand_1_name' => 'MAXMOIST ULTRA (Ajanta)', 'brand_2_name' => 'SOFTVISC ULTRA (Ajanta)', 'brand_3_name' => 'I SOFT (Sentiss)', 'brand_4_name' => 'Other', 'brand_5_name' => '', 'brand_6_name' => ''], ], 'travorite_rx' => [ 'slug' => ['brand_1' => 'travatan_novartis', 'brand_2' => 'travisight_alembic', 'brand_3' => 'tovaxo_ajanta', 'brand_4' => 'lupitros-z_lupin', 'brand_5' => 'travo_micro', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'TRAVATAN (Novartis)', 'brand_2_name' => 'TRAVISIGHT (Alembic)', 'brand_3_name' => 'TOVAXO (Ajanta)', 'brand_4_name' => 'LUPITROS-Z (Lupin)', 'brand_5_name' => 'TRAVO (Micro)', 'brand_6_name' => 'Other'], ], 'travorite_t_rx' => [ 'slug' => ['brand_1' => 'travacom_novartis', 'brand_2' => 'tovaxo_t_ajanta', 'brand_3' => 'lupitros_tz_lupin', 'brand_4' => 'travisight-t_alembic', 'brand_5' => 't-bet_entod', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'TRAVACOM (Novartis)', 'brand_2_name' => 'TOVAXO-T (Ajanta)', 'brand_3_name' => 'LUPITROS-TZ (Lupin)', 'brand_4_name' => 'TRAVISIGHT-T (Alembic)', 'brand_5_name' => 'T-BET (Entod)', 'brand_6_name' => 'Other'], ], 'bramolide_t_rx' => [ 'slug' => ['brand_1' => 'combigan_abbvie', 'brand_2' => 'brimolol_sun', 'brand_3' => 'brimocom_cipla', 'brand_4' => 'bidin_t_ajanta', 'brand_5' => 'ab_press_entod', 'brand_6' => 'other'], 'name' => ['brand_1_name' => 'COMBIGAN (Abbvie)', 'brand_2_name' => 'BRIMOLOL (Sun)', 'brand_3_name' => 'BRIMOCOM- (Cipla)', 'brand_4_name' => 'BIDIN T (Ajanta)', 'brand_5_name' => 'AB PRESS (Entod)', 'brand_6_name' => 'Other'], ], ]; @endphp @foreach ($question->options as $option) @php $mainbrand_slug = []; $mainbrand_name = []; if (array_key_exists($option->value, $brandData)) { $mainbrand_slug = $brandData[$option->value]['slug']; $mainbrand_name = $brandData[$option->value]['name']; } @endphp @endforeach
Brand Rx ns Competitor 1 Rx ns Competitor 2 Rx ns Competitor 3 Rx ns
{{ $option->display }}
@break @endswitch
@endforeach @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@endif
@include('layouts.shared/footer-script')