diff --git a/resources/views/form/history.blade.php b/resources/views/form/history.blade.php index aac78901..9e8b8c8b 100644 --- a/resources/views/form/history.blade.php +++ b/resources/views/form/history.blade.php @@ -9,7 +9,7 @@
- + `

{{$formname}}

diff --git a/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5-history.blade.php b/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5-history.blade.php new file mode 100644 index 00000000..f065fd29 --- /dev/null +++ b/resources/views/form/rapport-arise/1779187275-848fd8f3-6ea2-4521-9d85-85ec424fa8d5-history.blade.php @@ -0,0 +1,188 @@ + + + + @include('layouts.shared/title-meta', ['title' => "History"]) + @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) + + + + + + @include('layouts.shared/footer-script') + + + + + \ No newline at end of file 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 @@ diff --git a/resources/views/form/rapport-copd/1725611704-e406068f-ad9a-4279-afed-71c5f9e89eeb.blade.php b/resources/views/form/rapport-copd/1725611704-e406068f-ad9a-4279-afed-71c5f9e89eeb.blade.php index 4fa8d17e..ca243d55 100644 --- a/resources/views/form/rapport-copd/1725611704-e406068f-ad9a-4279-afed-71c5f9e89eeb.blade.php +++ b/resources/views/form/rapport-copd/1725611704-e406068f-ad9a-4279-afed-71c5f9e89eeb.blade.php @@ -117,7 +117,7 @@ $brandData = [ {{$question->required == 'yes'?'required':'' }}>{{isset($question->value)?$question->value:''}} @break @case('dropdown') - required == 'yes' ? 'required' : '' }}> @foreach ($question->options as $option)