@include('layouts.shared/title-meta', ['title' => 'Form']) @include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? ''])
processing...
@php $brandData = [ ['brand'=>'Hysodew Rx', 'slug'=>'hysodew_rx', 'comps'=> [ 'hysodew_new_maxmoist_ajanta_pharma'=>'NEW MAXMOIST (AJANTA PHARMA)', 'hysodew_soha_sun'=>'SOHA (SUN*)', 'hysodew_hyla_entod'=>'HYLA (ENTOD)', 'hysodew_lubimoist_mankind'=>'LUBIMOIST (MANKIND)', 'hysodew_hylosurge_ipca_labs'=>'HYLOSURGE (IPCA LABS)',]], ['brand'=>'Hydrakem Rx', 'slug'=>'hydrakem_rx', 'comps'=> [ 'hydrakem_refresh_tears_allergan'=>'REFRESH TEARS (ALLERGAN)', 'hydrakem_lubrex_micro_labs'=>'LUBREX (MICRO LABS*)', 'hydrakem_just_tears_sunways'=>'JUST TEARS (SUNWAYS)', 'hydrakem_tear_drops_sun'=>'TEAR DROPS (SUN*)', 'hydrakem_veldrop_alembic'=>'VELDROP (ALEMBIC)',]], ['brand'=>'Hydrakem Max Rx', 'slug'=>'hydrakem_max_rx', 'comps'=> [ 'hydrakem_max_refresh_liquigel_allergan'=>'REFRESH LIQUIGEL (ALLERGAN)', 'hydrakem_max_loctears_entod'=>'LOCTEARS (ENTOD)', 'hydrakem_max_flogel_cipla'=>'FLOGEL (CIPLA)', 'hydrakem_max_lubrex_micro_labs'=>'LUBREX (MICRO LABS*)', 'hydrakem_max_veldrop_gel_alembic'=>'VELDROP GEL (ALEMBIC)',]], ['brand'=>'Moxam Rx', 'slug'=>'moxam_rx', 'comps'=> [ 'moxam_vigamox_novartis_intl'=>'VIGAMOX (NOVARTIS INTL.*)', 'moxam_moxicip_cipla'=>'MOXICIP (CIPLA)', 'moxam_mahaflox_mankind'=>'MAHAFLOX (MANKIND)', 'moxam_milflox_sun'=>'MILFLOX (SUN*)', 'moxam_moxigram_micro_labs'=>'MOXIGRAM (MICRO LABS*)',]], ['brand'=>'Moxam D Rx', 'slug'=>'moxam_d_rx', 'comps'=> [ 'moxam_d_vigadexa_novartis_intl'=>'VIGADEXA (NOVARTIS INTL.*)', 'moxam_d_4_quind_entod'=>'4 QUIN-D (ENTOD)', 'moxam_d_moflorend_indoco'=>'MOFLOREN-D (INDOCO*)', 'moxam_d_moxigramdm_micro_labs'=>'MOXIGRAM-DM (MICRO LABS*)', 'moxam_d_moxisurged_ipca_labs'=>'MOXISURGE-D (IPCA LABS)']], ['brand'=>'Hysodew Liquigel Rx', 'slug'=>'hysodew_liquigel_rx', 'comps'=> [ 'hysodew_liquigel_maxmoist_ultra_ajanta'=>'MAXMOIST ULTRA (Ajanta)', 'hysodew_liquigel_softvisc_ultra_ajanta'=>'SOFTVISC ULTRA (Ajanta)', 'hysodew_liquigel_i_soft_sentiss'=>'I SOFT (Sentiss)',]], ['brand'=>'Travorite Rx', 'slug'=>'travorite_rx', 'comps'=> [ 'travorite_travatan_novartis'=>'TRAVATAN (Novartis)', 'travorite_travisight_alembic'=>'TRAVISIGHT (Alembic)', 'travorite_tovaxo_ajanta'=>'TOVAXO (Ajanta)', 'travorite_lupitrosz_lupin'=>'LUPITROS-Z (Lupin)', 'travorite_travo_micro'=>'TRAVO (Micro)',]], ['brand'=>'Travorite T Rx', 'slug'=>'travorite_t_rx', 'comps'=> [ 'travorite_t_travacom_novartis'=>'TRAVACOM (Novartis)', 'travorite_t_tovaxot_ajanta'=>'TOVAXO-T (Ajanta)', 'travorite_t_lupitrostz_lupin'=>'LUPITROS-TZ (Lupin)', 'travorite_t_travisightt_alembic'=>'TRAVISIGHT-T (Alembic)', 'travorite_t_tbet_entod'=>'T-BET (Entod)',]], ['brand'=>'Bramolide T Rx', 'slug'=>'bramolide_t_rx', 'comps'=> [ 'bramolide_t_combigan_abbvie'=>'COMBIGAN (Abbvie)', 'bramolide_t_brimolol_sun'=>'BRIMOLOL (Sun)', 'bramolide_t_brimocom_cipla'=>'BRIMOCOM- (Cipla)', 'bramolide_t_bidin_t_ajanta'=>'BIDIN T (Ajanta)', 'bramolide_t_ab_press_entod'=>'AB PRESS (Entod)',]], ]; $no_of_competitors = 3; //echo '
'; print_r($brandData); exit;
@endphp


    
@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
@foreach($brandData as $brand) @foreach($brand['comps'] as $k => $v) @endforeach @endforeach @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')
@for($i = 1; $i <= $no_of_competitors; $i++) @endfor @foreach($brandData as $brand) @for($i = 1; $i <= $no_of_competitors; $i++) @endfor @endforeach
Brand Rx nsCompetitor {{$i}} Rx ns
{{ $brand['brand'] }}
@break @endswitch
@endforeach @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@endif
@include('layouts.shared/footer-script')