diff --git a/ProcessMaker/Http/Controllers/TaskController.php b/ProcessMaker/Http/Controllers/TaskController.php index d920c27dbc..1195c1d59a 100755 --- a/ProcessMaker/Http/Controllers/TaskController.php +++ b/ProcessMaker/Http/Controllers/TaskController.php @@ -204,6 +204,7 @@ public function edit(ProcessRequestToken $task, string $preview = '') 'screenFields' => $screenFields, 'taskDraftsEnabled' => $taskDraftsEnabled, 'userConfiguration' => $userConfiguration, + 'hitlEnabled' => config('smart-extract.hitl_enabled', false), ]); } } diff --git a/resources/views/layouts/layoutnext.blade.php b/resources/views/layouts/layoutnext.blade.php index 0645a3573d..e21f1fc8c9 100644 --- a/resources/views/layouts/layoutnext.blade.php +++ b/resources/views/layouts/layoutnext.blade.php @@ -133,6 +133,7 @@ class="main flex-grow-1 h-100 @endif @yield('js') +@stack('scripts') @isset($addons) @foreach ($addons as $addon) diff --git a/resources/views/tasks/edit.blade.php b/resources/views/tasks/edit.blade.php index ab41f60767..c4d9725ec1 100644 --- a/resources/views/tasks/edit.blade.php +++ b/resources/views/tasks/edit.blade.php @@ -87,25 +87,29 @@ class="nav-link">