Procházet zdrojové kódy

removed note sections

= před 1 rokem
rodič
revize
b6e7aff9f4
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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) {