bug fix on submit button in add employee
This commit is contained in:
parent
15292d82d7
commit
430b601382
@ -1472,7 +1472,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!isValid) {
|
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
|
return; // Stop the submission if validation fails
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1024,14 +1024,14 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
|
|
||||||
</div>
|
</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']; ?>"
|
<a href="<?php echo base_url() . 'public/uploads/images/emp_files/' . $value['emp_file']; ?>"
|
||||||
download>
|
download>
|
||||||
<i class="fa fa-download" aria-hidden="true"
|
<i class="fa fa-download" aria-hidden="true"
|
||||||
style="font-size: 25px;"></i>
|
style="font-size: 25px;"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</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"
|
<button type="button" class="btn btn-danger btn-sm"
|
||||||
id="<?= $value['id']; ?>"
|
id="<?= $value['id']; ?>"
|
||||||
onclick="removeContact(this)">Delete
|
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