Explorar el Código

removed note sections

= hace 1 año
padre
commit
b6e7aff9f4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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) {