From 8bcf556dc914d4e7087ffd51af2bcba308ad5ad5 Mon Sep 17 00:00:00 2001 From: Soeng Souy Date: Sun, 21 May 2023 18:01:51 +0700 Subject: [PATCH] add page edit department --- app/Http/Controllers/DepartmentController.php | 6 ++ .../views/department/edit-departmen.blade.php | 72 +++++++++++++++++++ resources/views/sidebar/sidebar.blade.php | 4 +- routes/web.php | 1 + 4 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 resources/views/department/edit-departmen.blade.php diff --git a/app/Http/Controllers/DepartmentController.php b/app/Http/Controllers/DepartmentController.php index 01bd53b..7ec041f 100644 --- a/app/Http/Controllers/DepartmentController.php +++ b/app/Http/Controllers/DepartmentController.php @@ -11,4 +11,10 @@ public function indexDepartment() { return view('department.add-department'); } + + /** edit record */ + public function editDepartment() + { + return view('department.edit-departmen'); + } } diff --git a/resources/views/department/edit-departmen.blade.php b/resources/views/department/edit-departmen.blade.php new file mode 100644 index 0000000..29335fd --- /dev/null +++ b/resources/views/department/edit-departmen.blade.php @@ -0,0 +1,72 @@ + +@extends('layouts.master') +@section('content') +{{-- message --}} +{!! Toastr::message() !!} +
+
+ +
+
+
+
+
+
+
+
Department Details
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/sidebar/sidebar.blade.php b/resources/views/sidebar/sidebar.blade.php index 8a0e12c..9b778af 100644 --- a/resources/views/sidebar/sidebar.blade.php +++ b/resources/views/sidebar/sidebar.blade.php @@ -60,7 +60,7 @@ -