소스 검색

removed note sections

= 1 년 전
부모
커밋
b6e7aff9f4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Http/Controllers/NoteController.php

+ 2 - 2
app/Http/Controllers/NoteController.php

@@ -28,8 +28,8 @@ class NoteController extends Controller
     public function dashboard(Request $request, Client $patient, Note $note)
     {
         $pros = $this->pros;
-        $noteSections = $note->sections;
-        $allSections = SectionTemplate::where('is_active', true)->get();
+        $noteSections = [];// $note->sections;
+        $allSections = []; //SectionTemplate::where('is_active', true)->get();
         foreach ($allSections as $section) {
             $section->used = false;
             foreach ($noteSections as $noteSection) {