diff --git a/app/Http/Controllers/Juil/PlanningController.php b/app/Http/Controllers/Juil/PlanningController.php index ce26cc77..49965eea 100644 --- a/app/Http/Controllers/Juil/PlanningController.php +++ b/app/Http/Controllers/Juil/PlanningController.php @@ -26,4 +26,13 @@ public function project(Request $request): View|Response return view('juil.project'); } + + public function workflow(Request $request): View|Response + { + if ($request->header('HX-Request')) { + return response('', 200)->header('HX-Redirect', route('juil.workflow')); + } + + return view('juil.workflow'); + } } diff --git a/resources/views/juil/workflow.blade.php b/resources/views/juil/workflow.blade.php new file mode 100644 index 00000000..9a8cf9c1 --- /dev/null +++ b/resources/views/juil/workflow.blade.php @@ -0,0 +1,570 @@ +@extends('layouts.app') + +@section('title', '업무 Workflow') + +@section('content') +
+@endsection + +@push('scripts') + +@include('partials.react-cdn') + +@endpush diff --git a/routes/web.php b/routes/web.php index f5cbee9b..dd6ae947 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1641,6 +1641,7 @@ Route::middleware('auth')->prefix('juil')->name('juil.')->group(function () { 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::prefix('construction-photos')->name('construction-photos.')->group(function () {