Jelajahi Sumber

Fixed summary display issues

Samson Mutunga 3 tahun lalu
induk
melakukan
a8840b19b2

+ 11 - 11
resources/views/app/patient/segment-templates/covid_follow-up/summary.blade.php

@@ -70,13 +70,13 @@ if (!!@$point->data) {
     <div class="mb-2">
         <label>Asked patient if they have already signed up for government supplied COVID-19 home diagnostic kits? Patient replied:</label>
         @if(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'yes')
-        {{segment_template_summary_value_display('Yes') }}
+        <?= segment_template_summary_value_display('Yes') ?>
         @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'no')
-        {{segment_template_summary_value_display('No') }}
+        <?= segment_template_summary_value_display('No') ?>
         @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'not_sure')
-        {{segment_template_summary_value_display('Not Sure') }}
+        <?= segment_template_summary_value_display('Not Sure') ?>
         @else
-        {{segment_template_summary_value_display('') }}
+        <?= segment_template_summary_value_display('') ?>
         @endif
     </div>
 
@@ -84,13 +84,13 @@ if (!!@$point->data) {
     <div class="mb-2">
         <label>Asked patient if we can apply on CovidTests.gov for them? Patient replied:</label>
         @if(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'yes')
-        {{segment_template_summary_value_display('Yes') }}
+        <?= segment_template_summary_value_display('Yes') ?>
         @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'no')
-        {{segment_template_summary_value_display('No') }}
+        <?= segment_template_summary_value_display('No') ?>
         @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'not_sure')
-        {{segment_template_summary_value_display('Not Sure') }}
+        <?= segment_template_summary_value_display('Not Sure') ?>
         @else
-        {{segment_template_summary_value_display('') }}
+        <?= segment_template_summary_value_display('') ?>
         @endif
     </div>
     @endif
@@ -149,7 +149,7 @@ if (!!@$point->data) {
     <div class="mb-2">
         @if(@$contentData['ans_has_answered_all_covid_19_questions'] == 'yes')
             <label>Answered all questions relating to COVID-19.</label>
-            {{segment_template_summary_value_display('Patient verbalizes understanding.')}}
+            <?= segment_template_summary_value_display('Patient verbalizes understanding.') ?>
         @elseif(@$contentData['ans_has_answered_all_covid_19_questions'] == 'no')
 
         @endif
@@ -182,12 +182,12 @@ if (!!@$point->data) {
 
     <div class="mb-2">
         <label>Asked patient, how are you doing regarding stress? Patient replied:</label>
-        {{segment_template_summary_value_display(@$contentData['ans_how_patient_is_doing_regarding_stress'])}}
+        <?= segment_template_summary_value_display(@$contentData['ans_how_patient_is_doing_regarding_stress']) ?>
     </div>
 
     <div class="mb-2">
         <label>Conducted PHQ-2 with patient. Patient score is:</label>
-        {{segment_template_summary_value_display(@$contentData['total_phq2'])}}
+        <?= segment_template_summary_value_display(@$contentData['total_phq2']) ?>
     </div>
 
     @if((int) @$contentData['total_phq2'] > 3)