From c22bf8dead4a0ba0bbcf0574390072de57b56c85 Mon Sep 17 00:00:00 2001 From: Tanuja Pansare Date: Fri, 29 May 2026 15:53:28 +0530 Subject: [PATCH] Updated Arise blade file --- ...d8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php | 847 ++++++++++++++++-- 1 file changed, 773 insertions(+), 74 deletions(-) diff --git a/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php b/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php index a39d65ad..11656756 100644 --- a/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php +++ b/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5.blade.php @@ -58,6 +58,21 @@ @endif @foreach($questions as $question) + @php + + $hideFields = [ + 'date', + 'contact_id', + 'converted' + ]; + + @endphp + + @if(in_array($question->code, $hideFields)) + + @continue + + @endif
@switch($question->type) @@ -97,8 +112,12 @@ // Decode the first option's value to use as heading labels $headings = count($question->options) > 0 - ? json_decode($question->options[0]->value) + ? json_decode($question->options[0]->value, true) : []; + + if(!is_array($headings)){ + $headings = []; + } @endphp {{-- Matrix Wrapper with Horizontal Scroll on Small Screens --}} @@ -116,7 +135,14 @@ {{-- Table Rows --}} @foreach ($question->options as $option) - @php $nn = json_decode($option->value); @endphp + @php + $nn = json_decode($option->value, true); + + // fallback if invalid json + if(!is_array($nn)){ + $nn = []; + } + @endphp
@@ -181,10 +207,173 @@ @endforeach @if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes' ) )
+
+
+ +
+
Tagged Doctors
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Doctor NameSpecialityNumber of RxMSL CodeAction
+ No Doctors Found +
+ +
+ +
+ +
+ + @endif + + +
@@ -230,14 +419,98 @@