Browse Source

Enroll button issue fix

Vijayakrishnan 2 years ago
parent
commit
1dab7beab1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/app/patient/note/rm-setup.blade.php

+ 1 - 1
resources/views/app/patient/note/rm-setup.blade.php

@@ -61,7 +61,7 @@
                         <span class="text-sm ml-2">({{$patient->why_not_enrolled_in_rm_category}})</span>
                         <span class="text-sm ml-2">({{$patient->why_not_enrolled_in_rm_category}})</span>
                     @endif
                     @endif
 
 
-                    @if($patient->is_enrolled_in_rm === 'NO' || $patient->is_enrolled_in_rm === 'UNKNOWN') {{-- correct --}}
+                    @if(!$patient->is_enrolled_in_rm || $patient->is_enrolled_in_rm === 'NO' || $patient->is_enrolled_in_rm === 'UNKNOWN') {{-- correct --}}
                         <span class="ml-2 text-secondary">|</span>
                         <span class="ml-2 text-secondary">|</span>
                         <div moe wide class="ml-2">
                         <div moe wide class="ml-2">
                             <a start show>Enroll</a>
                             <a start show>Enroll</a>