Преглед на файлове

Non-slim segment omega_xxx fix

Vijayakrishnan преди 3 години
родител
ревизия
e354634b6a
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      resources/views/app/patient/note/segment.blade.php

+ 3 - 1
resources/views/app/patient/note/segment.blade.php

@@ -1,5 +1,6 @@
 <?php $iName = $segment->segmentTemplate->internal_name; ?>
 <?php $isLSSegment = strpos($iName, 'lifestyle_') === 0; ?>
+<?php $isOmegaHistorySegment = strpos($iName, 'omega_history_') === 0; ?>
 
 <div class="border-bottom note-section visit-segment {{$note->is_signed_by_hcp ? '' : 'edit-trigger'}} {{strpos($iName, 'lifestyle_') === 0 && $iName !== 'lifestyle_general' ? 'zero-height' : ''}}"
      data-segment-uid="{{ $segment->uid }}"
@@ -136,8 +137,9 @@
         'plan_care_team',
         'intake_supplements',
         'plan_supplements',
+        'omega_'
     ];
-    if(!in_array($iName, $wizardPowered) && $iName !== 'ros') { ?>
+    if(!in_array($iName, $wizardPowered) && $iName !== 'ros' && $iName !== 'omega_ros' && !$isOmegaHistorySegment) { ?>
     <div class="d-none if-edit edit-container">
         {!! $segment->edit_html !!}
     </div>