diff --git a/app/Http/Controllers/Juil/PlanningController.php b/app/Http/Controllers/Juil/PlanningController.php index 49965eea..153dbec1 100644 --- a/app/Http/Controllers/Juil/PlanningController.php +++ b/app/Http/Controllers/Juil/PlanningController.php @@ -35,4 +35,13 @@ public function workflow(Request $request): View|Response return view('juil.workflow'); } + + public function constructionPmis(Request $request): View|Response + { + if ($request->header('HX-Request')) { + return response('', 200)->header('HX-Redirect', route('juil.construction-pmis')); + } + + return view('juil.construction-pmis'); + } } diff --git a/resources/views/juil/construction-pmis.blade.php b/resources/views/juil/construction-pmis.blade.php new file mode 100644 index 00000000..56ef0357 --- /dev/null +++ b/resources/views/juil/construction-pmis.blade.php @@ -0,0 +1,137 @@ +@extends('layouts.app') + +@section('title', '건설PMIS') + +@section('content') +
+@endsection + +@push('scripts') + +@include('partials.react-cdn') + +@endpush diff --git a/routes/web.php b/routes/web.php index e3f52de9..09eeac93 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1724,6 +1724,7 @@ Route::get('/estimate', [PlanningController::class, 'estimate'])->name('estimate'); Route::get('/project', [PlanningController::class, 'project'])->name('project'); Route::get('/workflow', [PlanningController::class, 'workflow'])->name('workflow'); + Route::get('/construction-pmis', [PlanningController::class, 'constructionPmis'])->name('construction-pmis'); // 공사현장 사진대지 Route::prefix('construction-photos')->name('construction-photos.')->group(function () {