-
Projects Mangers:
- {{$project->managers }}
+
+
-
Research checklists
+
+
{{ $project->projname }}
+
+
+ {{-- Todo Add Edit and when to show mapping button logic --}}
- @foreach ($checklists as $checklist)
-
- {{$checklist->name}}
- |
- {{-- Todo find conditions for when this would not exist if any --}}
-
- Key
-
- @endforeach
+ @if(isset($project->managers) && $project->managers)
+
+ Projects Mangers:
+ {{$project->managers }}
+
+ @endif
+
Research checklists
+
+
+ @foreach ($checklists as $checklist)
+
+ {{$checklist->name}}
+ |
+ {{-- Todo find conditions for when this would not exist if any --}}
+
+ Key
+
+ @endforeach
+
diff --git a/resources/views/core/pages/projects/edit.blade.php b/resources/views/core/pages/projects/edit.blade.php
new file mode 100644
index 0000000..f45adfe
--- /dev/null
+++ b/resources/views/core/pages/projects/edit.blade.php
@@ -0,0 +1,58 @@
+@props(['project'])
+
+
+
+
+
+
+
{{ $project->projname }}
+
+
+
+
+
+ TODO metadata
+
+
+ TODO Inventory Managers
+
+
+ Checklist Management
+
+
+
+
+ {{-- Todo Add Edit and when to show mapping button logic --}}
+
+ @if(isset($project->managers) && $project->managers)
+
+ Projects Mangers:
+ {{$project->managers }}
+
+ @endif
+
Research checklists
+
+
+ @foreach ($checklists as $checklist)
+
+ {{$checklist->name}}
+ |
+ {{-- Todo find conditions for when this would not exist if any --}}
+
+ Key
+
+ @endforeach
+
+
+
diff --git a/routes/web.php b/routes/web.php
index cb62c90..4b3cf12 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -59,8 +59,9 @@
| Project Routes
|--------------------------------------------------------------------------
*/
-Route::group(['prefix' => '/project'], function () {
- Route::get('/{clid}', [ProjectController::class, 'project']);
+Route::group(['prefix' => '/projects'], function () {
+ Route::get('/{pid}', [ProjectController::class, 'project']);
+ Route::get('/{pid}/edit', [ProjectController::class, 'editProject']);
});
/*