@@ -872,29 +886,27 @@ function Validate()
}
else if(!getMobileValidation())
{ return false; }
-
-
+
-
- if($("#emailid").val().length < 1)
- {
- swal('Please Enter Personal Email ID');
- return false;
- }
- else if(!validateEmail())
- {
- return;
- }
+ // if($("#emailid").val().length < 1)
+ // {
+ // swal('Please Enter Personal Email ID');
+ // return false;
+ // }
+ // else if(!validateEmail())
+ // {
+ // return;
+ // }
- if($("#mail").val().length < 1)
- {
- swal('Please Enter Company Email ID');
- return false;
- }
- else if(!validatecomEmail())
- {
- return;
- }
+ // if($("#mail").val().length < 1)
+ // {
+ // swal('Please Enter Company Email ID');
+ // return false;
+ // }
+ // else if(!validatecomEmail())
+ // {
+ // return;
+ // }
if($("option:selected", $("#gender")).val() == '-1')
{
@@ -910,13 +922,13 @@ function Validate()
return false;
}
- if($("option:selected", $("#bloodgroup")).val() == "-1")
- {
- swal('Please Select Blood group ');
- $("#bloodgroup").focus();
- return false;
- }
- if($("#currentaddress").val().length < 1)
+ // if($("option:selected", $("#bloodgroup")).val() == "-1")
+ // {
+ // swal('Please Select Blood group ');
+ // $("#bloodgroup").focus();
+ // return false;
+ // }
+ if($("#currentaddress").val().length < 1)
{
swal('Please Enter Current Address');
return false;
@@ -926,18 +938,18 @@ function Validate()
swal('Please Enter Permanent Address');
return false;
}
- if($("#emergencycontactname").val().length < 1)
- {
- swal('Please Enter Emergency Contact Name');
- return false;
- }
- if($("#emergencycontactnumber").val().length < 1)
- {
- swal('Please Enter Emergency Contact Number');
- return false;
- }
- else if(!getValidEmergencyNumber())
- { return false;}
+ // if($("#emergencycontactname").val().length < 1)
+ // {
+ // swal('Please Enter Emergency Contact Name');
+ // return false;
+ // }
+ // if($("#emergencycontactnumber").val().length < 1)
+ // {
+ // swal('Please Enter Emergency Contact Number');
+ // return false;
+ // }
+ // else if(!getValidEmergencyNumber())
+ // { return false;}
if($("option:selected", $("#desigination")).val() == "-1")
@@ -1009,95 +1021,95 @@ function Validate()
});
- $('#panno').change(function() {
+// $('#panno').change(function() {
- var id = $('#panno').val();
- if(id != '')
- {
- $.ajax({
- data:{id:id},
+// var id = $('#panno').val();
+// if(id != '')
+// {
+// $.ajax({
+// data:{id:id},
- type:"POST",
- url:"employeedetails/checkPAN",
- success:function(data) {
- if(data)
- {
- // alert( data+""+" Employee already exists in the database.Please Change the Pan Card Number");
- // $('#panno').val('');
- // $('#panno').focus();
+// type:"POST",
+// url:"employeedetails/checkPAN",
+// success:function(data) {
+// if(data)
+// {
+// // alert( data+""+" Employee already exists in the database.Please Change the Pan Card Number");
+// // $('#panno').val('');
+// // $('#panno').focus();
- var answer = confirm(data + " " +" Employee details is already exists in the database.Do you want to change the Employee details?")
- if (answer)
- {
- $('#panno').val('');
- $('#panno').focus();
- return false;
- }
- else
- {
- swal('please edit the PAN number in the Edit employee screen');
- window.location = 'employeedetails/employeeListing';
- }
+// var answer = confirm(data + " " +" Employee details is already exists in the database.Do you want to change the Employee details?")
+// if (answer)
+// {
+// $('#panno').val('');
+// $('#panno').focus();
+// return false;
+// }
+// else
+// {
+// swal('please edit the PAN number in the Edit employee screen');
+// window.location = 'employeedetails/employeeListing';
+// }
- }
- }
+// }
+// }
- });
- }
- else
- {
- //alert();
- swal('Please enter the PAN Number');
- $('#panno').focus();
- return false;
- }
+// });
+// }
+// else
+// {
+// //alert();
+// swal('Please enter the PAN Number');
+// $('#panno').focus();
+// return false;
+// }
-});
- //
- $('#aadharno').change(function() {
+// });
+// //
+// $('#aadharno').change(function() {
- var id = $('#aadharno').val();
- if(id != '')
- {
- $.ajax({
- data:{id:id},
+// var id = $('#aadharno').val();
+// if(id != '')
+// {
+// $.ajax({
+// data:{id:id},
- type:"POST",
- url:"employeedetails/checkAadharNo",
- success:function(data) {
- if(data)
- {
- // alert( data+""+" Employee already exists in the database.Please Change the Aadhar card Number");
- // $('#aadharno').val('');
- // $('#aadharno').focus();
+// type:"POST",
+// url:"employeedetails/checkAadharNo",
+// success:function(data) {
+// if(data)
+// {
+// // alert( data+""+" Employee already exists in the database.Please Change the Aadhar card Number");
+// // $('#aadharno').val('');
+// // $('#aadharno').focus();
- var answer = confirm(data + " " +" employee details is already exists in the database.Do you want to change the Employee details?")
- if (answer)
- {
- $('#aadharno').val('');
- $('#aadharno').focus();
- return false;
- }
- else
- {
- swal('please edit the aadhar number in the edit employee screen');
- window.location = 'employeedetails/employeeListing';
- }
+// var answer = confirm(data + " " +" employee details is already exists in the database.Do you want to change the Employee details?")
+// if (answer)
+// {
+// $('#aadharno').val('');
+// $('#aadharno').focus();
+// return false;
+// }
+// else
+// {
+// swal('please edit the aadhar number in the edit employee screen');
+// window.location = 'employeedetails/employeeListing';
+// }
- }
- }
+// }
+// }
- });
- }
- else
- {
- //alert();
- swal('Please enter the Aadhar Number');
- $('#aadharno').focus();
- return false;
- }
+// });
+// }
+// else
+// {
+// //alert();
+// swal('Please enter the Aadhar Number');
+// $('#aadharno').focus();
+// return false;
+// }
-});
+// });
$('#bankbranchname').change(function()
{
@@ -1123,6 +1135,22 @@ $('#bankbranchname').change(function()
}
});
+
+
\ No newline at end of file
+
\ No newline at end of file
diff --git a/application/views/addsupplier.php b/application/views/addsupplier.php
index 9fa4db3d..06374545 100644
--- a/application/views/addsupplier.php
+++ b/application/views/addsupplier.php
@@ -404,19 +404,19 @@ $(function() {
PAN
-
- TIN
+
+
Excise Registration
-
+