Explorar o código

Include old cem only if not a visit note

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
c27e5fe7e8
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      resources/views/app/patient/note/dashboard.blade.php

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

@@ -2210,7 +2210,9 @@
     </div>
     <div class="note-templates-underlay"></div>
     @include('app.patient.note.dashboard_script')
-    {{--@include('app.patient.canvas-sections.canvas-editor-modal', ['key' => 'rx', 'class' => 'wide', 'noEditLink' => true])--}}
+    @if(!$isVisitTemplateBased)
+    @include('app.patient.canvas-sections.canvas-editor-modal', ['key' => 'rx', 'class' => 'wide', 'noEditLink' => true])
+    @endif
     @if($isVisitTemplateBased)
     <script>
         (function() {