diff --git a/application/views/AddEmp.php b/application/views/AddEmp.php index 95116bf..09263f0 100644 --- a/application/views/AddEmp.php +++ b/application/views/AddEmp.php @@ -284,8 +284,8 @@ function validateName(event) {
- - + +
@@ -393,14 +393,14 @@ $(document).ready(function() { }); - $('#emp_desg').on('keyup', function() { - var emp_desg = $('#emp_desg').val(); - if ($('#emp_desg').val().length == 0) { - $('#degsErr').text('Please Enter a Employee Designation.'); - } else { - $('#degsErr').text(''); - } - }); + // $('#emp_desg').on('keyup', function() { + // var emp_desg = $('#emp_desg').val(); + // if ($('#emp_desg').val().length == 0) { + // $('#degsErr').text('Please Enter a Employee Designation.'); + // } else { + // $('#degsErr').text(''); + // } + // }); @@ -442,7 +442,7 @@ $(document).ready(function() { var branchName = $('#branchErr').val(); var empid = $('#empid').val(); var name = $('#name').val(); - var emp_desg = $('#emp_desg').val(); + //var emp_desg = $('#emp_desg').val(); var mno = $('#mno').val(); var email = $('#email').val(); var emailregex ='/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/'; @@ -464,10 +464,10 @@ $(document).ready(function() { errorFound = true; } - if (emp_desg == '') { - $('#degsErr').text('Enter Employee Designation.'); - errorFound = true; - } + // if (emp_desg == '') { + // $('#degsErr').text('Enter Employee Designation.'); + // errorFound = true; + // } // if (mno == '') { // $('#mobErr').text('Enter Employee MobileNumber.'); diff --git a/application/views/EditEmp.php b/application/views/EditEmp.php index 246668a..5ec0060 100644 --- a/application/views/EditEmp.php +++ b/application/views/EditEmp.php @@ -123,8 +123,8 @@ function validateKeyPress(event) {
- - + +
diff --git a/application/views/EmpIDCard.php b/application/views/EmpIDCard.php index 1636192..2442f85 100644 --- a/application/views/EmpIDCard.php +++ b/application/views/EmpIDCard.php @@ -24,9 +24,13 @@
emp_name; ?>
+ + emp_mobile != "") { ?>
emp_desg; ?>
+ +
comp_name; ?>
diff --git a/application/views/EmpPreview.php b/application/views/EmpPreview.php index e939792..6bf5470 100644 --- a/application/views/EmpPreview.php +++ b/application/views/EmpPreview.php @@ -41,10 +41,14 @@
emp_name; ?>
+ + emp_desg != "") { ?>
emp_desg; ?>
-
+ + +
comp_name; ?>
diff --git a/uploads/1690798713.jpg b/uploads/1690798713.jpg new file mode 100644 index 0000000..c67d300 Binary files /dev/null and b/uploads/1690798713.jpg differ diff --git a/uploads/16907987131.jpg b/uploads/16907987131.jpg new file mode 100644 index 0000000..c67d300 Binary files /dev/null and b/uploads/16907987131.jpg differ