From 7ae4e7212692e8ba48dc6badb3c8e30c38222a6e Mon Sep 17 00:00:00 2001 From: zeeshan Date: Tue, 6 Oct 2026 14:07:28 +0530 Subject: [PATCH] Lifemankind Domain (Ventidox E RCPA) --- ...383b-b5ba-48ff-8516-1fd043fa00e6.blade.php | 414 ++++++++++++++++++ 1 file changed, 414 insertions(+) create mode 100644 resources/views/form/rapport-lifemankind/1791269761-47ba383b-b5ba-48ff-8516-1fd043fa00e6.blade.php diff --git a/resources/views/form/rapport-lifemankind/1791269761-47ba383b-b5ba-48ff-8516-1fd043fa00e6.blade.php b/resources/views/form/rapport-lifemankind/1791269761-47ba383b-b5ba-48ff-8516-1fd043fa00e6.blade.php new file mode 100644 index 00000000..ae39d469 --- /dev/null +++ b/resources/views/form/rapport-lifemankind/1791269761-47ba383b-b5ba-48ff-8516-1fd043fa00e6.blade.php @@ -0,0 +1,414 @@ + + + + + @include('layouts.shared/title-meta', ['title' => "Form"]) + @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) + + + +
+ processing... +
+@php +$brandData = [ + +['brand'=>'ERDOMAC AB (Macleods)', 'slug'=>'erdomac_ab_macleods','pseudoId'=>'erdomac_ab_macleods_value'], +['brand'=>'Ab Phylline E (SUN)', 'slug'=>'ab_phylline_e_sun','pseudoId'=>'ab_phylline_e_sun_value'], +['brand'=>'AB FLO E (Lupin)', 'slug'=>'ab_flo_e_lupin','pseudoId'=>'ab_flo_e_lupin_value'], +['brand'=>'Bronstedo (Sun)', 'slug'=>'bronstedo_sun','pseudoId'=>'bronstedo_sun_value'], +['brand'=>'Erdozet AB (Glenmark)', 'slug'=>'erdozet_ab_glenmark','pseudoId'=>'erdozet_ab_glenmark_value'], +['brand'=>'Erdozyd AB (Zydus)', 'slug'=>'erdozyd_ab_zydus','pseudoId'=>'erdozyd_ab_zydus_value'], +['brand'=>'ABEVIA E (MANKIND)', 'slug'=>'abevia_e_mankind','pseudoId'=>'abevia_e_mankind_value'], +['brand'=>'Others', 'slug'=>'others','pseudoId'=>'others_value'], + + + +]; + +@endphp + +@php + $submissions = Formhelper::getMultiformData($form->partition, $form_id, $form->user_id); + + + $formdata = null; + +if (!empty($submissions->data->submissions)) { + foreach ($submissions->data->submissions as $submission) { + if ($submission->id == $id) { + $formdata = $submission->formdata ?? null; + break; + } + } +} + +@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 +
+ + + @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($brandData as $brand) + + + + + {{-- --}} + + + @endforeach + +
Competitor NameRx in QTY/MonthValue
{{ $brand['brand'] }} + + + +
+
+ + +
+ @break + @endswitch +
+ @endforeach + @if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != + 'yes' ) ) +
+ +
+ @endif +
+ +
+
+ + + + +
+
+ +
+ +
+ + + @include('layouts.shared/footer-script') + + + + + + \ No newline at end of file