From d36571ba7ac6124c5abf83ea1fa38983b88a0193 Mon Sep 17 00:00:00 2001 From: Ranjan Date: Fri, 5 Apr 2024 10:14:34 +0545 Subject: [PATCH] validation added --- Modules/Leave/resources/views/create.blade.php | 6 +++++- Modules/Leave/resources/views/partials/action.blade.php | 6 +++++- resources/views/layouts/app.blade.php | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Modules/Leave/resources/views/create.blade.php b/Modules/Leave/resources/views/create.blade.php index c56be23..22a97da 100644 --- a/Modules/Leave/resources/views/create.blade.php +++ b/Modules/Leave/resources/views/create.blade.php @@ -24,7 +24,7 @@
-
+ @csrf @include('leave::partials.action')
@@ -38,3 +38,7 @@
@endsection + +@push('js') + +@endpush diff --git a/Modules/Leave/resources/views/partials/action.blade.php b/Modules/Leave/resources/views/partials/action.blade.php index 04ce95d..bae23c3 100644 --- a/Modules/Leave/resources/views/partials/action.blade.php +++ b/Modules/Leave/resources/views/partials/action.blade.php @@ -1,6 +1,10 @@
- + +
+ Please enter Employee Name. +
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 8407633..dc16795 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -138,7 +138,7 @@ - + @stack('js')