Samson Mutunga před 3 roky
rodič
revize
87a07c3956

+ 2 - 2
app/Helpers/helpers.php

@@ -738,8 +738,8 @@ if(!function_exists('friendly_timezone')) {
 }
 
 if(!function_exists('segment_template_summary_value_display')) {
-    function segment_template_summary_value_display($value, $default='________') {
-        if($value && strlen($value)) return '<span class="segment-template-summary-value">' . $value . '</span>';
+    function segment_template_summary_value_display($value, $default='________', $class = '') {
+        if($value && strlen($value)) return '<span class="segment-template-summary-value '.$class.'">' . $value . '</span>';
         return $default;
     }
 }

+ 1 - 1
resources/views/app/patient/segment-templates/covid_intake/summary.blade.php

@@ -597,7 +597,7 @@ if (!!@$point->data) {
         @endif
     </div>
     <div class="mb-3">
-        <label>A total of <?= segment_template_summary_value_display(@$contentData['ans_total_mins_spent']) ?> minutes was spent on this visit counseling or educating a patient or caregiver, documentation, and care coordination. Over 50% of this time was directed towards counseling and education.</label>
+        <label>A total of <?= segment_template_summary_value_display(@$contentData['ans_total_mins_spent'], '', 'ml-0') ?> minutes was spent on this visit counseling or educating a patient or caregiver, documentation, and care coordination. Over 50% of this time was directed towards counseling and education.</label>
         
     </div>
 </div>