|
@@ -4,6 +4,7 @@ namespace App\Http\Controllers;
|
|
|
|
|
|
use App\Models\AppSession;
|
|
use App\Models\AppSession;
|
|
use App\Models\Note;
|
|
use App\Models\Note;
|
|
|
|
+use App\Models\NoteTemplate;
|
|
use App\Models\Pro;
|
|
use App\Models\Pro;
|
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
|
@@ -25,6 +26,9 @@ class Controller extends BaseController
|
|
}
|
|
}
|
|
view()->share('pros', Pro::all());
|
|
view()->share('pros', Pro::all());
|
|
view()->share('notes', Note::all());
|
|
view()->share('notes', Note::all());
|
|
|
|
+
|
|
|
|
+ $noteTemplates = NoteTemplate::all();
|
|
|
|
+ view()->share('noteTemplates', $noteTemplates);
|
|
}
|
|
}
|
|
|
|
|
|
public function performer(){
|
|
public function performer(){
|