bug fix on submit button in add employee
This commit is contained in:
parent
15292d82d7
commit
430b601382
@ -1472,7 +1472,8 @@
|
||||
});
|
||||
|
||||
if (!isValid) {
|
||||
console.log('Validation failed. Please fill all required fields.');
|
||||
|
||||
alert('Validation failed. Please fill all required fields.');
|
||||
return; // Stop the submission if validation fails
|
||||
}
|
||||
|
||||
|
||||
@ -1024,14 +1024,14 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-md-1" style="margin-top: 25px;">
|
||||
<div class="col-md-1" style="margin-top: 32px;">
|
||||
<a href="<?php echo base_url() . 'public/uploads/images/emp_files/' . $value['emp_file']; ?>"
|
||||
download>
|
||||
<i class="fa fa-download" aria-hidden="true"
|
||||
style="font-size: 25px;"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4" align="left" style="margin-top: 23px;">
|
||||
<div class="col-md-4" align="left" style="margin-top: 32px;">
|
||||
<button type="button" class="btn btn-danger btn-sm"
|
||||
id="<?= $value['id']; ?>"
|
||||
onclick="removeContact(this)">Delete
|
||||
|
||||
0
deletableFile.php
Normal file → Executable file
0
deletableFile.php
Normal file → Executable file
Loading…
Reference in New Issue
Block a user