Compare commits

...

2 Commits

Author SHA1 Message Date
dbe6632313 Merge branch 'omis_ranjan' of http://bibgit.com/dharmaraj/New-OMIS into omis_dharma 2024-04-05 11:19:23 +05:45
ranjangumanju
2dc9e4afe7 fixes 2024-04-04 22:37:34 +05:45
3 changed files with 19 additions and 18 deletions

View File

@ -24,7 +24,7 @@
<div class="col-lg-8"> <div class="col-lg-8">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<form action="{{ route('leave.store') }}" method="post" class="needs-validation" novalidate> <form action="{{ route('leave.store') }}" class="needs-validation" novalidate method="post">
@csrf @csrf
@include('leave::partials.action') @include('leave::partials.action')
</form> </form>

View File

@ -1,27 +1,30 @@
<div class="mb-3"> <div class="mb-3">
<label for="employeeName" class="form-label">Employee Name</label> <label for="employeeName" class="form-label">Employee Name</label>
<input type="text" class="form-control" id="employeeName" placeholder="Enter emploree name" name="employeeName" <input type="text" class="form-control" id="employeeName" placeholder="Enter employee name" name="employeeName" required>
required> <div class="invalid-feedback">
<div class="invalid-feedback"> Please enter employee name.
Please enter Employee Name.
</div> </div>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="employeeUrl" class="form-label">Employee Department URL</label> <label for="employeeUrl" class="form-label">Employee Department URL</label>
<input type="url" class="form-control" id="employeeUrl" placeholder="Enter emploree url" name="employeeUrl"> <input type="url" class="form-control" id="employeeUrl" placeholder="Enter emploree url" name="employeeUrl">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="StartleaveDate" class="form-label">Start Leave Date</label> <label for="StartleaveDate" class="form-label">Start Leave Date</label>
<input type="date" class="form-control" id="StartleaveDate" name="start_date"> <input type="date" class="form-control" id="StartleaveDate" name="start_date">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="EndleaveDate" class="form-label">End Leave Date</label> <label for="EndleaveDate" class="form-label">End Leave Date</label>
<input type="date" class="form-control" id="EndleaveDate" name="end_date"> <input type="date" class="form-control" id="EndleaveDate" name="end_date">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="VertimeassageInput" class="form-label">Message</label> <label for="VertimeassageInput" class="form-label">Message</label>
<textarea class="form-control" id="VertimeassageInput" rows="3" placeholder="Enter your message" name="remark"></textarea> <textarea class="form-control" id="VertimeassageInput" rows="3" placeholder="Enter your message" name="remark"></textarea>
</div> </div>
<div class="text-end"> <div class="text-end">
<button type="submit" class="btn btn-primary">Add Leave</button> <button type="submit" class="btn btn-primary">Add Leave</button>
</div> </div>
@push('js')
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
@endpush

View File

@ -1,6 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" <html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg"
data-sidebar-image="none" data-preloader="disable"> data-sidebar-image="none" data-preloader="enable">
<head> <head>
@ -145,9 +145,7 @@
<!-- Custom js --> <!-- Custom js -->
<script src="{{ asset('assets/js/custom.js') }}"></script> <script src="{{ asset('assets/js/custom.js') }}"></script>
@stack('js') @stack('js')
</body> </body>
</html> </html>