CHANGE_TRACKER_ISSUE_4_CONFLICT
This commit is contained in:
commit
be86795246
@ -2,6 +2,10 @@
|
|||||||
.row {
|
.row {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
font-style: bold;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
@ -437,33 +441,50 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<img id="profilepicture"
|
<img id="profilepicture"
|
||||||
src="<?php echo base_url(); ?>public/assets/dist/img/avatar.png"
|
src="<?php echo base_url(); ?>public/assets/dist/img/avatar.png"
|
||||||
alt="your image" style="width: 139px;" /><br />
|
alt="your image" style="width: 139px;" /><br />
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<label for="photo">Select profile picture<br /><small>(only .jpg or
|
||||||
|
.png)</small>
|
||||||
|
</label>
|
||||||
|
<br>
|
||||||
<input type='file' onchange="readURL(this);" id="photo"
|
<input type='file' onchange="readURL(this);" id="photo"
|
||||||
name="photo" />
|
name="photo" />
|
||||||
<label for="photo">Select profile picture<br /><small>(only .jpg or
|
|
||||||
.png)</small></label>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<div class="row">
|
|
||||||
|
<div class="row mb-3">
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Full Name</span><span class="badge">*</span>
|
<label>Full Name</label><span class="badge">*</span>
|
||||||
<input type="text" name="FirstName"
|
<input type="text" name="FirstName"
|
||||||
onkeypress="return onlyAlphabets(event);" maxlength="100"
|
onkeypress="return onlyAlphabets(event);" maxlength="100"
|
||||||
id="FirstName" class="form-control" required>
|
id="FirstName" class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad"><span>Father / Husband Name</span><span
|
<div class="col-md-4 pad">
|
||||||
|
<label>Father / Husband Name</label>
|
||||||
|
<span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<input type="text" name="FatherName"
|
<input type="text" name="FatherName"
|
||||||
onkeypress="return onlyAlphabets(event);" id="FatherName"
|
onkeypress="return onlyAlphabets(event);" id="FatherName"
|
||||||
maxlength="200" class="form-control" required>
|
maxlength="200" class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad"><span>Contact Number</span><span
|
<div class="col-md-4 pad">
|
||||||
|
<label>Contact Number</label><span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<input type="text" name="ContactNumber"
|
<input type="text" name="ContactNumber"
|
||||||
onchange="return getMobileValidation();" id="ContactNumber"
|
onchange="return getMobileValidation();" id="ContactNumber"
|
||||||
@ -471,8 +492,8 @@
|
|||||||
class="form-control" onkeypress="return isNumberKey(event)">
|
class="form-control" onkeypress="return isNumberKey(event)">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row mb-3">
|
||||||
<div class="col-md-4 pad"><span>Gender</span><span
|
<div class="col-md-4 pad"><label>Gender</label><span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<select id="gender" name="gender" type="text" required
|
<select id="gender" name="gender" type="text" required
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
@ -489,30 +510,32 @@
|
|||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad"><span>Date Of Birth</span><span
|
<div class="col-md-4 pad"><label>Date Of Birth</label><span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<input id="DateofBirth" required name="DateofBirth"
|
<input id="DateofBirth" required name="DateofBirth"
|
||||||
onkeypress="return false;" maxlength="10"
|
onkeypress="return false;" maxlength="10"
|
||||||
onchange="getAge();" class="form-control " data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
onchange="getAge();" class="form-control " data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad"><span>Age</span>
|
<div class="col-md-4 pad"><label>Age</label>
|
||||||
<input type="text" name="age" id="age" class="form-control"
|
<input type="text" name="age" id="age" class="form-control"
|
||||||
readonly>
|
readonly>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row mb-3">
|
||||||
<div class="col-md-4 pad"><span>Personal Email ID</span><span class="badge">*</span>
|
<div class="col-md-4 pad">
|
||||||
|
<label>Personal Email ID</label><span class="badge">*</span>
|
||||||
<input type="email" name="emailid" id="emailid" maxlength="100"
|
<input type="email" name="emailid" id="emailid" maxlength="100"
|
||||||
class="form-control" required>
|
class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad"> <span>Official Email ID</span>
|
<div class="col-md-4 pad">
|
||||||
|
<label>Official Email ID</label>
|
||||||
<input type="email" name="comemailid" id="mail" maxlength="100"
|
<input type="email" name="comemailid" id="mail" maxlength="100"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
|
|
||||||
<span>Blood group</span><span class="badge">*</span>
|
<label>Blood group</label><span class="badge">*</span>
|
||||||
<select id="bloodgroup" name="bloodgroup" required
|
<select class="form-control" id="bloodgroup" name="bloodgroup" required
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
<option value="">Select Blood group</option>
|
<option value="">Select Blood group</option>
|
||||||
<?php
|
<?php
|
||||||
@ -528,9 +551,34 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Marital Status</span><span class="badge">*</span>
|
<label>Current Address</label><span class="badge">*</span>
|
||||||
|
<input type="text" id="currentaddress" required name="currentaddress"
|
||||||
|
pattern=".{0,500}" maxlength="500" class="form-control">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 pad" style="margin-top: 18px;">
|
||||||
|
|
||||||
|
<input type="checkbox" id="checksame" name="sameaddress"
|
||||||
|
> Current address same as permanent address
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<label>Permanent Address</label><span
|
||||||
|
class="badge">*</span>
|
||||||
|
<input type="text" id="permanentaddress" required
|
||||||
|
name="permanentaddress" pattern=".{0,500}" maxlength="500"
|
||||||
|
class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<label>Marital Status</label><span class="badge">*</span>
|
||||||
<select id="MartialStatus" name="MartialStatus" type="text"
|
<select id="MartialStatus" name="MartialStatus" type="text"
|
||||||
required placeholder="Marital status"
|
required placeholder="Marital status"
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
@ -547,32 +595,16 @@
|
|||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 pad">
|
|
||||||
<span>Current Address</span><span class="badge">*</span>
|
|
||||||
<input type="text" id="currentaddress" required name="currentaddress"
|
|
||||||
pattern=".{0,500}" maxlength="500" class="form-control">
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4 pad">
|
|
||||||
<span>Permanent Address</span><span
|
|
||||||
class="badge">*</span>
|
|
||||||
<input type="text" id="permanentaddress" required
|
|
||||||
name="permanentaddress" pattern=".{0,500}" maxlength="500"
|
|
||||||
class="form-control">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Emergency Contact Name</span>
|
<label>Emergency Contact Name</label>
|
||||||
<input type="text" id="emergencycontactname"
|
<input type="text" id="emergencycontactname"
|
||||||
onkeypress="return onlyAlphabets(event);" maxlength="100"
|
onkeypress="return onlyAlphabets(event);" maxlength="100"
|
||||||
name="emergencycontactname" class="form-control">
|
name="emergencycontactname" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<span>Emergency Contact Number</span>
|
<label>Emergency Contact Number</label>
|
||||||
<input type="text" id="emergencycontactnumber"
|
<input type="text" id="emergencycontactnumber"
|
||||||
name="emergencycontactnumber"
|
name="emergencycontactnumber"
|
||||||
onchange="return getValidEmergencyNumber();" pattern="(.){10,10}"
|
onchange="return getValidEmergencyNumber();" pattern="(.){10,10}"
|
||||||
@ -580,11 +612,11 @@
|
|||||||
onkeypress="return isNumberKey(event)">
|
onkeypress="return isNumberKey(event)">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad" style="margin-top: 18px;">
|
|
||||||
<input type="checkbox" id="checksame" name="sameaddress"> Current address same as permanent address
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
@ -604,7 +636,7 @@
|
|||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Designation</span><span
|
<label>Designation</label><span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<select type="text" id="desigination" name="desigination" required
|
<select type="text" id="desigination" name="desigination" required
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
@ -623,7 +655,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Department</span><span class="badge">*</span>
|
<label>Department</label><span class="badge">*</span>
|
||||||
<select type="text" id="departmentname" name="departmentname" required
|
<select type="text" id="departmentname" name="departmentname" required
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
<option value="">Select Department</option>
|
<option value="">Select Department</option>
|
||||||
@ -640,13 +672,13 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>Date Of Joining</span><span
|
<div class="col-md-3"><label>Date Of Joining</label><span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<input id="dateofjoining" name="dateofjoining"
|
<input id="dateofjoining" name="dateofjoining"
|
||||||
onkeypress="return false;" maxlength="10" required
|
onkeypress="return false;" maxlength="10" required
|
||||||
class="form-control" data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
class="form-control" data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>Previous Years of Experience</span>
|
<div class="col-md-3"><label>Previous Years of Experience</label>
|
||||||
<input type="text" id="Previousexperience" name="Previousexperience"
|
<input type="text" id="Previousexperience" name="Previousexperience"
|
||||||
maxlength="4" onkeypress="return isNumberKey(event)"
|
maxlength="4" onkeypress="return isNumberKey(event)"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
@ -663,7 +695,7 @@
|
|||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-3"><span>Qualification</span><span class="badge">*</span>
|
<div class="col-md-3"><label>Qualification</label><span class="badge">*</span>
|
||||||
<select type="text" id="eduqualifaction" name="eduqualifaction" required
|
<select type="text" id="eduqualifaction" name="eduqualifaction" required
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
<option value="">Select Qualification</option>
|
<option value="">Select Qualification</option>
|
||||||
@ -680,23 +712,23 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3" style="display:none"><span>Additional Qualification</span>
|
<div class="col-md-3" style="display:none"><label>Additional Qualification</label>
|
||||||
<input type="text" id="addqualification" name="addqualification"
|
<input type="text" id="addqualification" name="addqualification"
|
||||||
maxlength="100" class="form-control">
|
maxlength="100" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3" style="display:none"><span>Referred By</span>
|
<div class="col-md-3" style="display:none"><label>Referred By</label>
|
||||||
<input type="text" id="referredby"
|
<input type="text" id="referredby"
|
||||||
onkeypress="return onlyAlphabets(event);" name="referredby"
|
onkeypress="return onlyAlphabets(event);" name="referredby"
|
||||||
maxlength="100" class="form-control">
|
maxlength="100" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3" style="display:none"><span>Referrer Contact Number</span>
|
<div class="col-md-3" style="display:none"><label>Referrer Contact Number</label>
|
||||||
<input type="text" id="referrercontno" name="referrercontno"
|
<input type="text" id="referrercontno" name="referrercontno"
|
||||||
onchange=" return getValidReferNumber();" maxlength="10"
|
onchange=" return getValidReferNumber();" maxlength="10"
|
||||||
onkeypress="return isNumberKey(event)" class="form-control">
|
onkeypress="return isNumberKey(event)" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-3"><span>Work Location</span><span class="badge">*</span>
|
<div class="col-md-3"><label>Work Location</label><span class="badge">*</span>
|
||||||
<select type="text" id="work_location" name="work_location" required
|
<select type="text" id="work_location" name="work_location" required
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
<option value="">Select Work Location</option>
|
<option value="">Select Work Location</option>
|
||||||
@ -747,22 +779,22 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3"><span>Bank Name</span><span class="badge">*</span>
|
<div class="col-md-3"><label>Bank Name</l><span class="badge">*</span>
|
||||||
<input type="text" id="bankbranchname" name="bankbranchname"
|
<input type="text" id="bankbranchname" name="bankbranchname"
|
||||||
class="form-control" required>
|
class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>Account Number</span><span
|
<div class="col-md-3"><label>Account Number</label><span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<input type="text" id="accountno" onkeypress="return isNumberKey(event)"
|
<input type="text" id="accountno" onkeypress="return isNumberKey(event)"
|
||||||
maxlength="20" name="accountno" class="form-control" required>
|
maxlength="20" name="accountno" class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>IFSC Code</span></span><span
|
<div class="col-md-3"><label>IFSC Code</label></span><span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<input type="text" id="ifsccode" name="ifsccode" placeholder="IFSC Code"
|
<input type="text" id="ifsccode" name="ifsccode" placeholder="IFSC Code"
|
||||||
class="form-control" onkeypress="return alpha(event);"
|
class="form-control" onkeypress="return alpha(event);"
|
||||||
style="text-transform: uppercase" required>
|
style="text-transform: uppercase" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>Bank Address</span>
|
<div class="col-md-3"><label>Bank Address</label>
|
||||||
<input type="text" id="bankaddress" name="bankaddress"
|
<input type="text" id="bankaddress" name="bankaddress"
|
||||||
placeholder="Bank Address" maxlength="200" class="form-control">
|
placeholder="Bank Address" maxlength="200" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
@ -771,14 +803,14 @@
|
|||||||
|
|
||||||
<!-- end col -->
|
<!-- end col -->
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row" style="margin-bottom:0px;">
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="Basic_Pay">Total Salary</span>
|
<label for="Basic_Pay">Total Salary</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
|
|
||||||
<input type="text" name="Total_salary" id="Total_salary"
|
<input type="text" name="Total_salary" id="Total_salary"
|
||||||
@ -792,7 +824,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="Basic_Pay">Basic Pay</span>
|
<label for="Basic_Pay">Basic Pay</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="Basic_Pay" id="Basic_Pay"
|
<input type="text" name="Basic_Pay" id="Basic_Pay"
|
||||||
value="<?php echo set_value('Basic_Pay'); ?>"
|
value="<?php echo set_value('Basic_Pay'); ?>"
|
||||||
@ -805,7 +837,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="HRA_Rate">HRA Rate(%)</span>
|
<label for="HRA_Rate">HRA Rate(%)</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
|
|
||||||
<input type="text" name="HRA_Rate" id="HRA_Rate"
|
<input type="text" name="HRA_Rate" id="HRA_Rate"
|
||||||
@ -818,7 +850,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="HRA_Rate">HRA Amount</span>
|
<label for="HRA_Rate">HRA Amount</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="HRA_Amount" id="HRA_Amount"
|
<input type="text" name="HRA_Amount" id="HRA_Amount"
|
||||||
class="form-control num" style="text-transform:uppercase;"
|
class="form-control num" style="text-transform:uppercase;"
|
||||||
@ -831,7 +863,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row" style="margin-bottom:0px;">
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
@ -839,7 +871,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group"><span>UAN</span>
|
<div class="form-group">
|
||||||
|
<label>UAN</label>
|
||||||
<input type="text" id="pfno" name="pfno" maxlength="22"
|
<input type="text" id="pfno" name="pfno" maxlength="22"
|
||||||
onchange="validatePF();" class="form-control"
|
onchange="validatePF();" class="form-control"
|
||||||
style="text-transform:uppercase"
|
style="text-transform:uppercase"
|
||||||
@ -851,7 +884,7 @@
|
|||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="PF_Rate">PF Rate(%)</span>
|
<label for="PF_Rate">PF Rate(%)</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="PF_Rate" value="<?= $pf_rate; ?>"
|
<input type="text" name="PF_Rate" value="<?= $pf_rate; ?>"
|
||||||
class="form-control num" style="text-transform:uppercase;"
|
class="form-control num" style="text-transform:uppercase;"
|
||||||
@ -863,16 +896,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group"><span>ESI Number</span>
|
<div class="form-group"><label>ESI Number</label>
|
||||||
<input type="text" id="esino" name="esino" maxlength="10"
|
<input type="text" id="esino" name="esino" maxlength="10"
|
||||||
onchange="validateESI();" class="form-control"
|
onchange="validateESI();" class="form-control"
|
||||||
title=" 10 digit number"
|
title=" 10 digit number"
|
||||||
onkeypress="return isNumberKey(event)">
|
onkeypress="return isNumberKey(event)">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3" style="margin-top: 18px;">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="ESI_Rate">ESI Rate(%)</span>
|
<label for="ESI_Rate">ESI Rate(%)</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="ESI_Rate" value="<?= $esi_rate; ?>"
|
<input type="text" name="ESI_Rate" value="<?= $esi_rate; ?>"
|
||||||
class="form-control num" style="text-transform:uppercase;"
|
class="form-control num" style="text-transform:uppercase;"
|
||||||
@ -890,7 +923,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row" style="margin-bottom:0px;">
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
@ -898,9 +931,9 @@
|
|||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span
|
<label
|
||||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">ESI
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">ESI
|
||||||
Applicable</span>
|
Applicable</label>
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
<input type="checkbox" name="esi_applicable" value="0"
|
<input type="checkbox" name="esi_applicable" value="0"
|
||||||
onchange="updateSwitchValue(this)" />
|
onchange="updateSwitchValue(this)" />
|
||||||
@ -911,9 +944,9 @@
|
|||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span
|
<label
|
||||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">PF
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">PF
|
||||||
Applicable</span>
|
Applicable</label>
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
<input type="checkbox" name="pf_applicable" value="0"
|
<input type="checkbox" name="pf_applicable" value="0"
|
||||||
onchange="updateSwitchValue(this)" />
|
onchange="updateSwitchValue(this)" />
|
||||||
@ -942,13 +975,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3"><span>Aadhar Number</span> <span
|
<div class="col-md-3"><label>Aadhar Number</label> <span
|
||||||
class="badge">*</span>
|
class="badge">*</span>
|
||||||
<input type="text" id="aadharno" name="aadharno" maxlength="14"
|
<input type="text" id="aadharno" name="aadharno" maxlength="14"
|
||||||
onchange="ValidateAadhar();" class="form-control"
|
onchange="ValidateAadhar();" class="form-control"
|
||||||
onkeypress="return isNumberKey(event)" required>
|
onkeypress="return isNumberKey(event)" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>PAN Number</span>
|
<div class="col-md-3"><label>PAN Number</label>
|
||||||
<input type="text" id="panno" maxlength="10"
|
<input type="text" id="panno" maxlength="10"
|
||||||
style="text-transform:uppercase" name="panno"
|
style="text-transform:uppercase" name="panno"
|
||||||
onchange="validatePAN();" class="form-control"
|
onchange="validatePAN();" class="form-control"
|
||||||
@ -956,14 +989,14 @@
|
|||||||
title=" 5 character,4 Digit Numbers,1 character (ex:ABCDE1234A) "
|
title=" 5 character,4 Digit Numbers,1 character (ex:ABCDE1234A) "
|
||||||
onkeypress="return alpha(event);">
|
onkeypress="return alpha(event);">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>Passport Number</span>
|
<div class="col-md-3"><label>Passport Number</label>
|
||||||
<input type="text" id="passportno" maxlength="9"
|
<input type="text" id="passportno" maxlength="9"
|
||||||
onchange="ValidatePassport();" name="passportno"
|
onchange="ValidatePassport();" name="passportno"
|
||||||
style="text-transform:uppercase" class="form-control"
|
style="text-transform:uppercase" class="form-control"
|
||||||
pattern="[aA-prPR-wyWY]{1}[1-9]{1}\d{1}\s\d{4}[1-9]{1}" title="The first digit or the last digit will never be 0
|
pattern="[aA-prPR-wyWY]{1}[1-9]{1}\d{1}\s\d{4}[1-9]{1}" title="The first digit or the last digit will never be 0
|
||||||
The first character cannot be Q, X or Z. (eg:A12 34567)" onkeypress="return alpha(event);">
|
The first character cannot be Q, X or Z. (eg:A12 34567)" onkeypress="return alpha(event);">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>Passport Expiry Date</span>
|
<div class="col-md-3"><label>Passport Expiry Date</label>
|
||||||
<input id="ValidTill" name="ValidTill" onkeypress="return false;"
|
<input id="ValidTill" name="ValidTill" onkeypress="return false;"
|
||||||
maxlength="10" class="form-control">
|
maxlength="10" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
@ -978,11 +1011,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3"><span>Voter ID</span>
|
<div class="col-md-3"><label>Voter ID</label>
|
||||||
<input type="text" id="VoterID" name="voterID" maxlength="12"
|
<input type="text" id="VoterID" name="voterID" maxlength="12"
|
||||||
class="form-control" style="text-transform: uppercase">
|
class="form-control" style="text-transform: uppercase">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3"><span>Driving License</span>
|
<div class="col-md-3"><label>Driving License</label>
|
||||||
<input type="text" id="Driverlicense"
|
<input type="text" id="Driverlicense"
|
||||||
onchange="validateDriverLicense();" style="text-transform:uppercase"
|
onchange="validateDriverLicense();" style="text-transform:uppercase"
|
||||||
pattern="[a-zA-Z]{2}[0-9]{2}\s[0-9]{11}" title="EX:TN82 12345678900"
|
pattern="[a-zA-Z]{2}[0-9]{2}\s[0-9]{11}" title="EX:TN82 12345678900"
|
||||||
@ -990,12 +1023,12 @@
|
|||||||
onkeypress="return alpha(event);">
|
onkeypress="return alpha(event);">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3"><span>Driving License Expiry Date</span>
|
<div class="col-md-3"><label>Driving License Expiry Date</label>
|
||||||
<input id="LicenseExpiryDate" name="licenseExpiryDate"
|
<input id="LicenseExpiryDate" name="licenseExpiryDate"
|
||||||
onkeypress="return false;" maxlength="10" class="form-control">
|
onkeypress="return false;" maxlength="10" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3"><span>Nominee reference</span>
|
<div class="col-md-3"><label>Nominee reference</label>
|
||||||
<input type="text" id="nomineename" name="nomineename" maxlength="255"
|
<input type="text" id="nomineename" name="nomineename" maxlength="255"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
</div>
|
</div>
|
||||||
@ -1020,12 +1053,12 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- <div class="files"> -->
|
<!-- <div class="files"> -->
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<span>File Name</span>
|
<label>File Name</label>
|
||||||
<input type="text" id="file_name" name="file_name[]" maxlength="255"
|
<input type="text" id="file_name" name="file_name[]" maxlength="255"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<span>File</span>
|
<label>File</label>
|
||||||
<input type="file" name="emp_file[]" class="form-control">
|
<input type="file" name="emp_file[]" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4" style="margin-top: 23px;">
|
<div class="col-md-4" style="margin-top: 23px;">
|
||||||
@ -1361,7 +1394,6 @@
|
|||||||
// Validate all forms before proceeding
|
// Validate all forms before proceeding
|
||||||
$forms.each(function(index) {
|
$forms.each(function(index) {
|
||||||
var $form = $(this);
|
var $form = $(this);
|
||||||
console.log(index);
|
|
||||||
if (index <= currentIndex) {
|
if (index <= currentIndex) {
|
||||||
// Only validate forms up to the current tab
|
// Only validate forms up to the current tab
|
||||||
if (!$form[0].checkValidity()) {
|
if (!$form[0].checkValidity()) {
|
||||||
@ -1463,7 +1495,6 @@
|
|||||||
var $nextTab = $activeTab.parent().next().find('a');
|
var $nextTab = $activeTab.parent().next().find('a');
|
||||||
|
|
||||||
if ($nextTab.length) {
|
if ($nextTab.length) {
|
||||||
|
|
||||||
$nextTab.trigger('click');
|
$nextTab.trigger('click');
|
||||||
} else {
|
} else {
|
||||||
// If there are no more tabs, submit the form
|
// If there are no more tabs, submit the form
|
||||||
|
|||||||
@ -2,6 +2,10 @@
|
|||||||
.row {
|
.row {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
font-style: bold;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@ -141,19 +145,16 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
<div class="content-page">
|
<div class="content-page">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-12">
|
||||||
<div class="page-title-box page-title-box-alt">
|
<div class="page-title-box page-title-box-alt">
|
||||||
<h4 class="page-title">Edit Employee</h4>
|
<h4 class="page-title">Edit Employee</h4>
|
||||||
</div>
|
<a class="btn btn-secondary" href="<?php echo base_url() ?>employeeListing"><span
|
||||||
</div>
|
|
||||||
<div class="col-6 text-right">
|
|
||||||
<a class=" btn btn-dark waves-effect waves-light" href="<?php echo base_url() ?>employeeListing"><span
|
|
||||||
class="bold">Back</span></a>
|
class="bold">Back</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xl-12">
|
<div class="col-xl-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
@ -206,14 +207,30 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
|
|
||||||
<img id="profilepicture"
|
<img id="profilepicture"
|
||||||
src="<?php echo base_url() . $ProfilePic; ?>" alt="your image"
|
src="<?php echo base_url() . $ProfilePic; ?>" alt="your image"
|
||||||
style="width: 139px;" /><br />
|
style="width: 139px;" />
|
||||||
|
<br />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<label for="photo">Select profile picture<br /><small>(only .jpg or
|
||||||
|
.png)</small>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
<input type='file' onchange="readURL(this);" id="photo"
|
<input type='file' onchange="readURL(this);" id="photo"
|
||||||
value="<?php echo base_url() . $ProfilePic; ?>" name="photo" />
|
value="<?php echo base_url() . $ProfilePic; ?>" name="photo" />
|
||||||
<label for="photo">Select profile picture<br /><small>(only .jpg or
|
|
||||||
.png)</small></label>
|
|
||||||
|
|
||||||
<input type="hidden" name="Image" id="Image"
|
<input type="hidden" name="Image" id="Image"
|
||||||
value="<?php echo $ProfilePic; ?>" class="form-control"
|
value="<?php echo $ProfilePic; ?>" class="form-control"
|
||||||
@ -223,16 +240,21 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br><br>
|
<br>
|
||||||
|
|
||||||
|
<div class="form-row">
|
||||||
|
<label>Employee ID</label><span class="badge">*</span>
|
||||||
|
|
||||||
<div >
|
|
||||||
<span>Employee ID</span><span class="badge">*</span>
|
|
||||||
<input type="text" name="employeeid" id="employeeid"
|
|
||||||
value="<?php echo $EmpID; ?>" placeholder="Employee ID"
|
|
||||||
class="form-control" readonly>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-top: 18px;">
|
<div class="form-row">
|
||||||
|
|
||||||
|
<input type="text" name="employeeid" id="employeeid"
|
||||||
|
value="<?php echo $EmpID; ?>" placeholder="Employee ID"
|
||||||
|
class="form-control w-50" readonly>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-top: 18px;">
|
||||||
|
|
||||||
<input type="checkbox" id="isactive" <?php echo $IsActive; ?>
|
<input type="checkbox" id="isactive" <?php echo $IsActive; ?>
|
||||||
name="isactive" value="1"> Is Active
|
name="isactive" value="1"> Is Active
|
||||||
@ -246,10 +268,10 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row mb-3">
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Full Name</span><span class="badge">*</span>
|
<label>Full Name</label><span class="badge">*</span>
|
||||||
<input type="text" name="FirstName" maxlength="100"
|
<input type="text" name="FirstName" maxlength="100"
|
||||||
value="<?php echo $FirstName; ?>" id="FirstName"
|
value="<?php echo $FirstName; ?>" id="FirstName"
|
||||||
placeholder="First Name" class="form-control" required
|
placeholder="First Name" class="form-control" required
|
||||||
@ -257,7 +279,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Father / Husband Name</span><span class="badge">*</span>
|
<label>Father / Husband Name</lab><span class="badge">*</span>
|
||||||
<input type="text" name="FatherName" id="FatherName"
|
<input type="text" name="FatherName" id="FatherName"
|
||||||
maxlength="200" value="<?php echo $FatherName; ?>"
|
maxlength="200" value="<?php echo $FatherName; ?>"
|
||||||
placeholder="Father / Husband Name" class="form-control"
|
placeholder="Father / Husband Name" class="form-control"
|
||||||
@ -265,7 +287,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Contact Number</span><span class="badge">*</span>
|
<label>Contact Number</label><span class="badge">*</span>
|
||||||
<input type="text" name="ContactNumber"
|
<input type="text" name="ContactNumber"
|
||||||
value="<?php echo $ContactNumber; ?>"
|
value="<?php echo $ContactNumber; ?>"
|
||||||
onchange="getMobileValidation();" id="ContactNumber"
|
onchange="getMobileValidation();" id="ContactNumber"
|
||||||
@ -276,10 +298,10 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row mb-3">
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Gender</span><span class="badge">*</span>
|
<label>Gender</label><span class="badge">*</span>
|
||||||
<select id="gender" name="gender" type="text"
|
<select id="gender" name="gender" type="text"
|
||||||
placeholder="Gender" required class="form-control select2">
|
placeholder="Gender" required class="form-control select2">
|
||||||
<option value="<?php echo $Gender; ?>">
|
<option value="<?php echo $Gender; ?>">
|
||||||
@ -305,7 +327,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Date Of Birth</span><span class="badge">*</span>
|
<label>Date Of Birth</label><span class="badge">*</span>
|
||||||
<input id="DateofBirth" required name="DateofBirth"
|
<input id="DateofBirth" required name="DateofBirth"
|
||||||
value="<?php echo $DOB; ?>" maxlength="10"
|
value="<?php echo $DOB; ?>" maxlength="10"
|
||||||
placeholder="Date Of Birth" onchange="getAge();"
|
placeholder="Date Of Birth" onchange="getAge();"
|
||||||
@ -314,7 +336,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Age</span><span class="badge">*</span>
|
<label>Age</l><span class="badge">*</span>
|
||||||
<input type="text" name="age" placeholder="Age" id="age"
|
<input type="text" name="age" placeholder="Age" id="age"
|
||||||
value="<?php echo $Age; ?>" class="form-control" readonly>
|
value="<?php echo $Age; ?>" class="form-control" readonly>
|
||||||
</div>
|
</div>
|
||||||
@ -322,17 +344,17 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row mb-3">
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Personal Email ID</span>
|
<label>Personal Email ID</label>
|
||||||
<input type="mail" name="emailid"
|
<input type="mail" name="emailid"
|
||||||
value="<?php echo $EmailId; ?>" id="email"
|
value="<?php echo $EmailId; ?>" id="email"
|
||||||
placeholder="Email ID" maxlength="100" class="form-control">
|
placeholder="Email ID" maxlength="100" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Official Email ID</span>
|
<label>Official Email ID</label>
|
||||||
<input type="email" name="comemailid" id="mail"
|
<input type="email" name="comemailid" id="mail"
|
||||||
placeholder="Official Email ID"
|
placeholder="Official Email ID"
|
||||||
value="<?php echo $personalEmailId; ?>" maxlength="100"
|
value="<?php echo $personalEmailId; ?>" maxlength="100"
|
||||||
@ -341,7 +363,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
|
|
||||||
<span>Blood group</span><span class="badge">*</span>
|
<label>Blood group</label><span class="badge">*</span>
|
||||||
<select id="bloodgroup" name="bloodgroup" required
|
<select id="bloodgroup" name="bloodgroup" required
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
<option value="<?php echo $BloodGroup; ?>">
|
<option value="<?php echo $BloodGroup; ?>">
|
||||||
@ -367,9 +389,38 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row mb-3">
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Marital Status</span><span class="badge">*</span>
|
<label>Current Address</label><span class="badge">*</span>
|
||||||
|
<input type="text" id="currentaddress" pattern=".{1,500}"
|
||||||
|
required name="currentaddress" maxlength="500"
|
||||||
|
value="<?php echo $PresentAddress; ?>"
|
||||||
|
placeholder="Current Address" class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-4 pad" style="margin-top: 18px;">
|
||||||
|
<input type="checkbox" id="checksame" name="sameaddress"
|
||||||
|
onclick="CheckClick"> Current address same as permanent
|
||||||
|
address
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<label>Permanent Address</label><span class="badge">*</span>
|
||||||
|
<input type="text" id="permanentaddress" required
|
||||||
|
name="permanentaddress" pattern=".{0,500}"
|
||||||
|
value="<?php echo $PermanentAddress; ?>" maxlength="500"
|
||||||
|
placeholder="Permanent Address " class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<label>Marital Status</label><span class="badge">*</span>
|
||||||
<select id="MartialStatus" name="MartialStatus" type="text"
|
<select id="MartialStatus" name="MartialStatus" type="text"
|
||||||
required placeholder="Marital status"
|
required placeholder="Marital status"
|
||||||
class="form-control select2">
|
class="form-control select2">
|
||||||
@ -394,27 +445,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
<div class="col-md-4 pad">
|
||||||
<span>Current Address</span><span class="badge">*</span>
|
<label>Emergency Contact Name</label>
|
||||||
<input type="text" id="currentaddress" pattern=".{1,500}"
|
|
||||||
required name="currentaddress" maxlength="500"
|
|
||||||
value="<?php echo $PresentAddress; ?>"
|
|
||||||
placeholder="Current Address" class="form-control">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
|
||||||
<span>Permanent Address</span><span class="badge">*</span>
|
|
||||||
<input type="text" id="permanentaddress" required
|
|
||||||
name="permanentaddress" pattern=".{0,500}"
|
|
||||||
value="<?php echo $PermanentAddress; ?>" maxlength="500"
|
|
||||||
placeholder="Permanent Address " class="form-control">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
<div class="col-md-4 pad">
|
|
||||||
<span>Emergency Contact Name</span>
|
|
||||||
<input type="text" id="emergencycontactname" maxlength="100"
|
<input type="text" id="emergencycontactname" maxlength="100"
|
||||||
name="emergencycontactname"
|
name="emergencycontactname"
|
||||||
value="<?php echo $EmergencyContactName; ?>"
|
value="<?php echo $EmergencyContactName; ?>"
|
||||||
@ -422,7 +453,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<span>Emergency Contact Number</span>
|
<label>Emergency Contact Number</label>
|
||||||
<input type="text" id="emergencycontactnumber"
|
<input type="text" id="emergencycontactnumber"
|
||||||
name="emergencycontactnumber"
|
name="emergencycontactnumber"
|
||||||
onchange="getValidEmergencyNumber();" maxlength="10"
|
onchange="getValidEmergencyNumber();" maxlength="10"
|
||||||
@ -431,11 +462,6 @@ if (!empty($EmpDetails)) {
|
|||||||
onkeypress="return isNumberKey(event)">
|
onkeypress="return isNumberKey(event)">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 pad" style="margin-top: 18px;">
|
|
||||||
<input type="checkbox" id="checksame" name="sameaddress"
|
|
||||||
onclick="CheckClick"> Current address same as permanent
|
|
||||||
address
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -461,7 +487,7 @@ if (!empty($EmpDetails)) {
|
|||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Designation</span><span class="badge">*</span>
|
<label>Designation</label><span class="badge">*</span>
|
||||||
<select type="text" id="desigination" name="desigination"
|
<select type="text" id="desigination" name="desigination"
|
||||||
required class="form-control select2">
|
required class="form-control select2">
|
||||||
<option value="<?php echo $Designation; ?>">
|
<option value="<?php echo $Designation; ?>">
|
||||||
@ -487,7 +513,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Department</span><span class="badge">*</span>
|
<label>Department</label><span class="badge">*</span>
|
||||||
<select type="text" id="departmentname" name="departmentname"
|
<select type="text" id="departmentname" name="departmentname"
|
||||||
required class="form-control select2">
|
required class="form-control select2">
|
||||||
<option value="<?php echo $Departmentcode; ?>">
|
<option value="<?php echo $Departmentcode; ?>">
|
||||||
@ -511,14 +537,14 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Date Of Joining</span><span class="badge">*</span>
|
<label>Date Of Joining</label><span class="badge">*</span>
|
||||||
<input id="dateofjoining" name="dateofjoining"
|
<input id="dateofjoining" name="dateofjoining"
|
||||||
value="<?php echo $DOJ; ?>" maxlength="10" required
|
value="<?php echo $DOJ; ?>" maxlength="10" required
|
||||||
placeholder="Date Of Joining" class="form-control"
|
placeholder="Date Of Joining" class="form-control"
|
||||||
data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Previous Years of Experience</span>
|
<label>Previous Years of Experience</label>
|
||||||
<input type="text" id="Previousexperience"
|
<input type="text" id="Previousexperience"
|
||||||
value="<?php echo $PreviousYearsOfExp; ?>"
|
value="<?php echo $PreviousYearsOfExp; ?>"
|
||||||
name="Previousexperience" maxlength="4"
|
name="Previousexperience" maxlength="4"
|
||||||
@ -538,7 +564,7 @@ if (!empty($EmpDetails)) {
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Qualification</span><span class="badge">*</span>
|
<label>Qualification</label><span class="badge">*</span>
|
||||||
<select type="text" id="eduqualifaction" name="eduqualifaction"
|
<select type="text" id="eduqualifaction" name="eduqualifaction"
|
||||||
required class="form-control select2">
|
required class="form-control select2">
|
||||||
<option value="<?php echo $Edu_Qualification; ?>">
|
<option value="<?php echo $Edu_Qualification; ?>">
|
||||||
@ -561,21 +587,21 @@ if (!empty($EmpDetails)) {
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3" style="display:none">
|
<div class="col-md-3" style="display:none">
|
||||||
<span>Additional Qualification</span>
|
<label>Additional Qualification</label>
|
||||||
<input type="text" id="addqualification" name="addqualification"
|
<input type="text" id="addqualification" name="addqualification"
|
||||||
value="<?php echo $Additional_Qualification; ?>"
|
value="<?php echo $Additional_Qualification; ?>"
|
||||||
maxlength="100" placeholder="Additional Qualification"
|
maxlength="100" placeholder="Additional Qualification"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3" style="display:none">
|
<div class="col-md-3" style="display:none">
|
||||||
<span>Referred By</span>
|
<label>Referred By</label>
|
||||||
<input type="text" id="referredby" name="referredby"
|
<input type="text" id="referredby" name="referredby"
|
||||||
value="<?php echo $Reference_Name; ?>"
|
value="<?php echo $Reference_Name; ?>"
|
||||||
placeholder="Referred By" maxlength="100"
|
placeholder="Referred By" maxlength="100"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3" style="display:none">
|
<div class="col-md-3" style="display:none">
|
||||||
<span>Referrer Contact Number</span>
|
<label>Referrer Contact Number</label>
|
||||||
<input type="text" id="referrercontno" name="referrercontno"
|
<input type="text" id="referrercontno" name="referrercontno"
|
||||||
value="<?php echo $Reference_ContactNumber; ?>"
|
value="<?php echo $Reference_ContactNumber; ?>"
|
||||||
onchange="getValidReferNumber();" maxlength="10"
|
onchange="getValidReferNumber();" maxlength="10"
|
||||||
@ -585,7 +611,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Work Location</span><span class="badge">*</span>
|
<label>Work Location</label><span class="badge">*</span>
|
||||||
<select type="text" id="work_location" name="work_location"
|
<select type="text" id="work_location" name="work_location"
|
||||||
required class="form-control select2">
|
required class="form-control select2">
|
||||||
<option value="<?php echo $work_location; ?>">
|
<option value="<?php echo $work_location; ?>">
|
||||||
@ -612,9 +638,10 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
<div class="col-md-3" style="margin-top: 18px;">
|
<div class="col-md-3" style="margin-top: 18px;">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span
|
<label
|
||||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">Management
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">
|
||||||
Team</span>
|
Management
|
||||||
|
Team</label>
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
<input type="checkbox" name="is_management_team"
|
<input type="checkbox" name="is_management_team"
|
||||||
value="<?= $is_management_team; ?>" <?php echo $is_management_team == '1' ? 'checked' : ''; ?>
|
value="<?= $is_management_team; ?>" <?php echo $is_management_team == '1' ? 'checked' : ''; ?>
|
||||||
@ -644,33 +671,33 @@ if (!empty($EmpDetails)) {
|
|||||||
<div class="tab-pane fade" id="third">
|
<div class="tab-pane fade" id="third">
|
||||||
<form id="bankForm" method="post" action="#" class="form-horizontal">
|
<form id="bankForm" method="post" action="#" class="form-horizontal">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row mb-2">
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Bank Name</span>
|
<label>Bank Name</label>
|
||||||
<input type="text" id="bankbranchname" name="bankbranchname"
|
<input type="text" id="bankbranchname" name="bankbranchname"
|
||||||
class="form-control" value="<?php echo $BankBranchName; ?>"
|
class="form-control" value="<?php echo $BankBranchName; ?>"
|
||||||
required>
|
required>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Account Number</span>
|
<label>Account Number</label>
|
||||||
<input type="text" id="accountno" maxlength="20"
|
<input type="text" id="accountno" maxlength="20"
|
||||||
name="accountno" placeholder="Account Number"
|
name="accountno" placeholder="Account Number"
|
||||||
class="form-control" value="<?php echo $BankAccountNo; ?>"
|
class="form-control" value="<?php echo $BankAccountNo; ?>"
|
||||||
onkeypress="return isNumberKey(event)">
|
onkeypress="return isNumberKey(event)">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>IFSC Code</span>
|
<label>IFSC Code</label>
|
||||||
<input type="text" id="ifsccode" name="ifsccode"
|
<input type="text" id="ifsccode" name="ifsccode"
|
||||||
placeholder="IFSC Code" class="form-control"
|
placeholder="IFSC Code" class="form-control"
|
||||||
value="<?php echo $IFSCCode; ?>">
|
value="<?php echo $IFSCCode; ?>">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Bank Address</span>
|
<label>Bank Address</label>
|
||||||
<input type="text" id="bankaddress" name="bankaddress"
|
<input type="text" id="bankaddress" name="bankaddress"
|
||||||
placeholder="Bank Address" class="form-control"
|
placeholder="Bank Address" class="form-control"
|
||||||
value="<?php echo $BankAddress; ?>">
|
value="<?php echo $BankAddress; ?>">
|
||||||
@ -681,7 +708,7 @@ if (!empty($EmpDetails)) {
|
|||||||
<!-- end col -->
|
<!-- end col -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row" style="margin-bottom:0px;">
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
@ -689,7 +716,7 @@ if (!empty($EmpDetails)) {
|
|||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
||||||
<span for="Basic_Pay">Total Salary</span>
|
<label for="Basic_Pay">Total Salary</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
|
|
||||||
<input type="text" name="Total_salary" id="Total_salary"
|
<input type="text" name="Total_salary" id="Total_salary"
|
||||||
@ -704,7 +731,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="Basic_Pay">Basic Pay</span>
|
<label for="Basic_Pay">Basic Pay</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="Basic_Pay" id="Basic_Pay"
|
<input type="text" name="Basic_Pay" id="Basic_Pay"
|
||||||
value="<?php echo $empPay->Basic_Pay; ?>"
|
value="<?php echo $empPay->Basic_Pay; ?>"
|
||||||
@ -717,7 +744,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="HRA_Rate">HRA Rate(%)</span>
|
<label for="HRA_Rate">HRA Rate(%)</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
|
|
||||||
<input type="text" name="HRA_Rate" id="HRA_Rate"
|
<input type="text" name="HRA_Rate" id="HRA_Rate"
|
||||||
@ -732,7 +759,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="HRA_Rate">HRA Amount</span>
|
<label for="HRA_Rate">HRA Amount</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="HRA_Amount" id="HRA_Amount"
|
<input type="text" name="HRA_Amount" id="HRA_Amount"
|
||||||
class="form-control num"
|
class="form-control num"
|
||||||
@ -748,13 +775,15 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row" style="margin-bottom:0px;">
|
||||||
<div class="col-md-1"></div>
|
<div class="col-md-1">
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span>ESI Number</span>
|
<label>ESI Number</label>
|
||||||
<input type="text" id="esino" name="esino" maxlength="10"
|
<input type="text" id="esino" name="esino" maxlength="10"
|
||||||
onchange="validateESI();" class="form-control"
|
onchange="validateESI();" class="form-control"
|
||||||
title=" 10 digit number" value="<?php echo $esino; ?>"
|
title=" 10 digit number" value="<?php echo $esino; ?>"
|
||||||
@ -763,7 +792,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="ESI_Rate">ESI Rate(%)</span>
|
<label for="ESI_Rate">ESI Rate(%)</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="ESI_Rate"
|
<input type="text" name="ESI_Rate"
|
||||||
value="<?php echo $empPay->ESI_Rate; ?>"
|
value="<?php echo $empPay->ESI_Rate; ?>"
|
||||||
@ -778,7 +807,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span>UAN</span>
|
<label>UAN</label>
|
||||||
<input type="text" id="pfno" name="pfno" maxlength="22"
|
<input type="text" id="pfno" name="pfno" maxlength="22"
|
||||||
value="<?php echo $pfno; ?>" onchange="validatePF();"
|
value="<?php echo $pfno; ?>" onchange="validatePF();"
|
||||||
class="form-control" style="text-transform:uppercase"
|
class="form-control" style="text-transform:uppercase"
|
||||||
@ -786,10 +815,9 @@ if (!empty($EmpDetails)) {
|
|||||||
onkeypress="return alpha(event);">
|
onkeypress="return alpha(event);">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span for="PF_Rate">PF Rate(%)</span>
|
<label for="PF_Rate">PF Rate(%)</label>
|
||||||
<font color="Red">*</font>
|
<font color="Red">*</font>
|
||||||
<input type="text" name="PF_Rate"
|
<input type="text" name="PF_Rate"
|
||||||
value="<?php echo $empPay->PF_Rate; ?>"
|
value="<?php echo $empPay->PF_Rate; ?>"
|
||||||
@ -805,15 +833,15 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row" style="margin-bottom:0px;">
|
||||||
<div class="col-md-1"></div>
|
<div class="col-md-1"></div>
|
||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span
|
<label
|
||||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">ESI
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">ESI
|
||||||
Applicable</span>
|
Applicable</label>
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
<input type="checkbox" name="esi_applicable"
|
<input type="checkbox" name="esi_applicable"
|
||||||
value="<?= $esi_applicable; ?>" <?php echo $esi_applicable == '1' ? 'checked' : ''; ?>
|
value="<?= $esi_applicable; ?>" <?php echo $esi_applicable == '1' ? 'checked' : ''; ?>
|
||||||
@ -825,9 +853,9 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<span
|
<label
|
||||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">PF
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">PF
|
||||||
Applicable</span>
|
Applicable</label>
|
||||||
<label class="switch">
|
<label class="switch">
|
||||||
<input type="checkbox" name="pf_applicable"
|
<input type="checkbox" name="pf_applicable"
|
||||||
value="<?= $pf_applicable; ?>" <?php echo $pf_applicable == '1' ? 'checked' : ''; ?>
|
value="<?= $pf_applicable; ?>" <?php echo $pf_applicable == '1' ? 'checked' : ''; ?>
|
||||||
@ -861,14 +889,14 @@ if (!empty($EmpDetails)) {
|
|||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Aadhar Number</span> <span class="badge">*</span>
|
<label>Aadhar Number</label> <span class="badge">*</span>
|
||||||
<input type="text" id="aadharno" name="aadharno" required
|
<input type="text" id="aadharno" name="aadharno" required
|
||||||
maxlength="14" placeholder="Aadhar Number"
|
maxlength="14" placeholder="Aadhar Number"
|
||||||
onchange="ValidateAadhar();" class="form-control num"
|
onchange="ValidateAadhar();" class="form-control num"
|
||||||
value="<?php echo $AadharNo; ?>" title=" : 12 digit number">
|
value="<?php echo $AadharNo; ?>" title=" : 12 digit number">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>PAN Number</span>
|
<label>PAN Number</label>
|
||||||
<input type="text" id="panno" style="text-transform: uppercase"
|
<input type="text" id="panno" style="text-transform: uppercase"
|
||||||
maxlength="10" name="panno" placeholder="PAN Number"
|
maxlength="10" name="panno" placeholder="PAN Number"
|
||||||
onchange="validatePAN();" class="form-control"
|
onchange="validatePAN();" class="form-control"
|
||||||
@ -878,7 +906,7 @@ if (!empty($EmpDetails)) {
|
|||||||
title=" 5 character,4 Digit Numbers,1 character (ex:ABCDE1234A) ">
|
title=" 5 character,4 Digit Numbers,1 character (ex:ABCDE1234A) ">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Passport Number</span>
|
<label>Passport Number</label>
|
||||||
<input type="text" id="passportno" name="passportno"
|
<input type="text" id="passportno" name="passportno"
|
||||||
maxlength="9" placeholder="Passport Number"
|
maxlength="9" placeholder="Passport Number"
|
||||||
onkeypress="return alpha(event);"
|
onkeypress="return alpha(event);"
|
||||||
@ -890,7 +918,7 @@ if (!empty($EmpDetails)) {
|
|||||||
style="text-transform: uppercase">
|
style="text-transform: uppercase">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Passport Expiry Date</span>
|
<label>Passport Expiry Date</label>
|
||||||
<input id="ValidTill" name="ValidTill" maxlength="10"
|
<input id="ValidTill" name="ValidTill" maxlength="10"
|
||||||
placeholder="Passport Expiry Date" class="form-control"
|
placeholder="Passport Expiry Date" class="form-control"
|
||||||
value="<?php echo $DOPassport; ?>">
|
value="<?php echo $DOPassport; ?>">
|
||||||
@ -905,14 +933,14 @@ if (!empty($EmpDetails)) {
|
|||||||
<div class="col-md-11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Voter ID</span>
|
<label>Voter ID</label>
|
||||||
<input type="text" id="VoterID" name="VoterID" maxlength="12"
|
<input type="text" id="VoterID" name="VoterID" maxlength="12"
|
||||||
value="<?php echo $VoterID; ?>" class="form-control"
|
value="<?php echo $VoterID; ?>" class="form-control"
|
||||||
placeholder="VoterID" onkeypress="return alpha(event);"
|
placeholder="VoterID" onkeypress="return alpha(event);"
|
||||||
style="text-transform: uppercase">
|
style="text-transform: uppercase">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Driving License</span>
|
<label>Driving License</label>
|
||||||
<!-- <input type="text" id="Driverlicense" maxlength="16" onchange="validateDriverLicense();" pattern="[A-Z]{2}[0-9]{2}\s[0-9]{11}" value="<?php echo $DriverLicense; ?>"name="Driverlicense" title="EX:TN82 12345678900" class="form-control" value=""placeholder="Driverlicense"> -->
|
<!-- <input type="text" id="Driverlicense" maxlength="16" onchange="validateDriverLicense();" pattern="[A-Z]{2}[0-9]{2}\s[0-9]{11}" value="<?php echo $DriverLicense; ?>"name="Driverlicense" title="EX:TN82 12345678900" class="form-control" value=""placeholder="Driverlicense"> -->
|
||||||
<input type="text" id="Driverlicense" maxlength="16"
|
<input type="text" id="Driverlicense" maxlength="16"
|
||||||
onchange="validateDriverLicense();"
|
onchange="validateDriverLicense();"
|
||||||
@ -925,7 +953,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Driving License Expiry Date</span>
|
<label>Driving License Expiry Date</label>
|
||||||
<input id="LicenseExpiryDate" name="LicenseExpiryDate"
|
<input id="LicenseExpiryDate" name="LicenseExpiryDate"
|
||||||
value="<?php echo $LicenseValidtill; ?>"
|
value="<?php echo $LicenseValidtill; ?>"
|
||||||
onkeypress="return false;" class="form-control"
|
onkeypress="return false;" class="form-control"
|
||||||
@ -933,7 +961,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span>Nominee reference</span>
|
<label>Nominee reference</label>
|
||||||
<input type="text" id="nomineename" name="nomineename"
|
<input type="text" id="nomineename" name="nomineename"
|
||||||
maxlength="250" class="form-control"
|
maxlength="250" class="form-control"
|
||||||
placeholder="Nominee Name" value="<?php echo $nominee; ?>">
|
placeholder="Nominee Name" value="<?php echo $nominee; ?>">
|
||||||
@ -965,21 +993,19 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
<?php if (count($emp_data) > 0) { ?>
|
<?php if (count($emp_data) > 0) { ?>
|
||||||
|
|
||||||
<div class="col-md-10 text-right">
|
|
||||||
<button type="button" class="btn btn-primary btn-sm a1"
|
|
||||||
onclick="appendFilesFileds()" id="day"
|
|
||||||
style="display: inline-block;">
|
|
||||||
Add New File
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php foreach ($emp_data as $key => $value) { ?>
|
<?php foreach ($emp_data as $key => $value) { ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<span>File Name</span>
|
|
||||||
|
<label>File Name</label>
|
||||||
<input type="text" maxlength="255" class="form-control"
|
<input type="text" maxlength="255" class="form-control"
|
||||||
value="<?php echo $value['file_name']; ?>" readonly>
|
value="<?php echo $value['file_name']; ?>" readonly>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1" style="margin-top: 25px;">
|
<div class="col-md-1" style="margin-top: 25px;">
|
||||||
<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']; ?>"
|
||||||
@ -988,11 +1014,18 @@ if (!empty($EmpDetails)) {
|
|||||||
style="font-size: 25px;"></i>
|
style="font-size: 25px;"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5" style="margin-top: 23px;">
|
<div class="col-md-4" align="left" style="margin-top: 23px;">
|
||||||
<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</button>
|
onclick="removeContact(this)">Delete
|
||||||
|
</button>
|
||||||
|
<button type="button" class="btn btn-primary btn-sm a1"
|
||||||
|
onclick="appendFilesFileds()" id="day"
|
||||||
|
style="display: inline-block;">
|
||||||
|
Add New File
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php }
|
<?php }
|
||||||
@ -1040,6 +1073,7 @@ if (!empty($EmpDetails)) {
|
|||||||
</div> <!-- end card-->
|
</div> <!-- end card-->
|
||||||
</div> <!-- end col -->
|
</div> <!-- end col -->
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -1047,7 +1081,7 @@ if (!empty($EmpDetails)) {
|
|||||||
if (input.files && input.files[0]) {
|
if (input.files && input.files[0]) {
|
||||||
var reader = new FileReader();
|
var reader = new FileReader();
|
||||||
|
|
||||||
reader.onload = function (e) {
|
reader.onload = function(e) {
|
||||||
$('#profilepicture')
|
$('#profilepicture')
|
||||||
.attr('src', e.target.result)
|
.attr('src', e.target.result)
|
||||||
.width(166)
|
.width(166)
|
||||||
@ -1059,8 +1093,8 @@ if (!empty($EmpDetails)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function () {
|
$(function() {
|
||||||
$('#checksame').click(function () {
|
$('#checksame').click(function() {
|
||||||
if ($('#checksame').prop('checked')) {
|
if ($('#checksame').prop('checked')) {
|
||||||
|
|
||||||
$('#permanentaddress').val($('#currentaddress').val());
|
$('#permanentaddress').val($('#currentaddress').val());
|
||||||
@ -1399,7 +1433,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function () {
|
$(function() {
|
||||||
var d = new Date();
|
var d = new Date();
|
||||||
|
|
||||||
var month = d.getMonth();
|
var month = d.getMonth();
|
||||||
@ -1461,7 +1495,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function() {
|
||||||
$("#gender").select2();
|
$("#gender").select2();
|
||||||
$("#bloodgroup").select2();
|
$("#bloodgroup").select2();
|
||||||
$("#MartialStatus").select2();
|
$("#MartialStatus").select2();
|
||||||
@ -1469,7 +1503,7 @@ if (!empty($EmpDetails)) {
|
|||||||
$("#departmentname").select2();
|
$("#departmentname").select2();
|
||||||
$("#eduqualifaction").select2();
|
$("#eduqualifaction").select2();
|
||||||
$("#work_location").select2();
|
$("#work_location").select2();
|
||||||
document.getElementById('aadharno').addEventListener('input', function (e) {
|
document.getElementById('aadharno').addEventListener('input', function(e) {
|
||||||
e.target.value = e.target.value.replace(/[^\d]/g, '').replace(/(.{4})/g, '$1 ').trim();
|
e.target.value = e.target.value.replace(/[^\d]/g, '').replace(/(.{4})/g, '$1 ').trim();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -1550,7 +1584,7 @@ if (!empty($EmpDetails)) {
|
|||||||
},
|
},
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "<?php echo base_url(); ?>deleteEmployeeFile",
|
url: "<?php echo base_url(); ?>deleteEmployeeFile",
|
||||||
success: function (data) {
|
success: function(data) {
|
||||||
if (data) {
|
if (data) {
|
||||||
alert("File removed");
|
alert("File removed");
|
||||||
return false;
|
return false;
|
||||||
@ -1573,7 +1607,7 @@ if (!empty($EmpDetails)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$("#email").change(function () {
|
$("#email").change(function() {
|
||||||
|
|
||||||
var id = $('#email').val();
|
var id = $('#email').val();
|
||||||
if (validateEmail()) {
|
if (validateEmail()) {
|
||||||
@ -1584,7 +1618,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "<?php echo base_url(); ?>employeedetails/CheckEmail",
|
url: "<?php echo base_url(); ?>employeedetails/CheckEmail",
|
||||||
success: function (data) {
|
success: function(data) {
|
||||||
if (data) {
|
if (data) {
|
||||||
alert(data + "" +
|
alert(data + "" +
|
||||||
" Employee already exists in the database.Please Change the mail id");
|
" Employee already exists in the database.Please Change the mail id");
|
||||||
@ -1597,7 +1631,7 @@ if (!empty($EmpDetails)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
$('#panno').change(function () {
|
$('#panno').change(function() {
|
||||||
|
|
||||||
var id = $('#panno').val();
|
var id = $('#panno').val();
|
||||||
if (id != '') {
|
if (id != '') {
|
||||||
@ -1608,7 +1642,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "<?php echo base_url(); ?>employeedetails/checkPAN",
|
url: "<?php echo base_url(); ?>employeedetails/checkPAN",
|
||||||
success: function (data) {
|
success: function(data) {
|
||||||
if (data) {
|
if (data) {
|
||||||
alert(data + "" +
|
alert(data + "" +
|
||||||
" Employee already exists in the database.Please Change the Pan Card Number"
|
" Employee already exists in the database.Please Change the Pan Card Number"
|
||||||
@ -1624,7 +1658,7 @@ if (!empty($EmpDetails)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
$('#aadharno').change(function () {
|
$('#aadharno').change(function() {
|
||||||
|
|
||||||
var id = $('#aadharno').val();
|
var id = $('#aadharno').val();
|
||||||
if (id != '') {
|
if (id != '') {
|
||||||
@ -1634,7 +1668,7 @@ if (!empty($EmpDetails)) {
|
|||||||
},
|
},
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "<?php echo base_url(); ?>employeedetails/checkAadharNo",
|
url: "<?php echo base_url(); ?>employeedetails/checkAadharNo",
|
||||||
success: function (data) {
|
success: function(data) {
|
||||||
if (data) {
|
if (data) {
|
||||||
alert(data + "" +
|
alert(data + "" +
|
||||||
" Employee already exists in the database.Please Change the Aadhar card Number"
|
" Employee already exists in the database.Please Change the Aadhar card Number"
|
||||||
@ -1651,7 +1685,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#bankbranchname').change(function () {
|
$('#bankbranchname').change(function() {
|
||||||
|
|
||||||
var bank = $('#bankbranchname').val();
|
var bank = $('#bankbranchname').val();
|
||||||
|
|
||||||
@ -1659,7 +1693,7 @@ if (!empty($EmpDetails)) {
|
|||||||
|
|
||||||
var y = <?php echo json_encode($bankdetails, JSON_PRETTY_PRINT) ?>;
|
var y = <?php echo json_encode($bankdetails, JSON_PRETTY_PRINT) ?>;
|
||||||
|
|
||||||
$.each(y, function (idx, obj) {
|
$.each(y, function(idx, obj) {
|
||||||
|
|
||||||
if (bank == obj.Bank_name) {
|
if (bank == obj.Bank_name) {
|
||||||
$("#ifsccode").val(obj.IFSC);
|
$("#ifsccode").val(obj.IFSC);
|
||||||
@ -1672,8 +1706,8 @@ if (!empty($EmpDetails)) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function() {
|
||||||
$('.next').click(function (e) {
|
$('.next').click(function(e) {
|
||||||
e.preventDefault(); // Prevent default action
|
e.preventDefault(); // Prevent default action
|
||||||
|
|
||||||
var isValid = true;
|
var isValid = true;
|
||||||
@ -1682,7 +1716,7 @@ if (!empty($EmpDetails)) {
|
|||||||
var $forms = $('.tab-pane form');
|
var $forms = $('.tab-pane form');
|
||||||
|
|
||||||
// Validate all forms before proceeding
|
// Validate all forms before proceeding
|
||||||
$forms.each(function (index) {
|
$forms.each(function(index) {
|
||||||
var $form = $(this);
|
var $form = $(this);
|
||||||
if (index <= currentIndex) {
|
if (index <= currentIndex) {
|
||||||
// Only validate forms up to the current tab
|
// Only validate forms up to the current tab
|
||||||
@ -1701,24 +1735,24 @@ if (!empty($EmpDetails)) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!isValid) {
|
// if (!isValid) {
|
||||||
console.log('Validation failed. Please fill all required fields.');
|
// console.log('Validation failed. Please fill all required fields.');
|
||||||
return; // Stop the submission if validation fails
|
// return; // Stop the submission if validation fails
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Proceed to the next tab
|
// // Proceed to the next tab
|
||||||
var $nextTab = $('.nav-link.active').closest('li').next().find('.nav-link');
|
// var $nextTab = $('.nav-link.active').closest('li').next().find('.nav-link');
|
||||||
if ($nextTab.length) {
|
// if ($nextTab.length) {
|
||||||
$nextTab.tab('show');
|
// $nextTab.tab('show');
|
||||||
}
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.submit').click(function (e) {
|
$('.submit').click(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var isValid = true;
|
var isValid = true;
|
||||||
var combinedFormData = new FormData();
|
var combinedFormData = new FormData();
|
||||||
var formIds = ['#accountForm', '#profileForm', '#bankForm', '#proofForm', '#fileForm']; // Add all your form IDs here
|
var formIds = ['#accountForm', '#profileForm', '#bankForm', '#proofForm', '#fileForm']; // Add all your form IDs here
|
||||||
formIds.forEach(function (formId) {
|
formIds.forEach(function(formId) {
|
||||||
var $form = $(formId);
|
var $form = $(formId);
|
||||||
|
|
||||||
if (!$form[0].checkValidity()) {
|
if (!$form[0].checkValidity()) {
|
||||||
@ -1727,13 +1761,13 @@ if (!empty($EmpDetails)) {
|
|||||||
return false; // Break the loop if any form is invalid
|
return false; // Break the loop if any form is invalid
|
||||||
}
|
}
|
||||||
// Append the form data to FormData
|
// Append the form data to FormData
|
||||||
$form.serializeArray().forEach(function (field) {
|
$form.serializeArray().forEach(function(field) {
|
||||||
combinedFormData.append(field.name, field.value);
|
combinedFormData.append(field.name, field.value);
|
||||||
});
|
});
|
||||||
// Handle file inputs separately
|
// Handle file inputs separately
|
||||||
$form.find('input[type="file"]').each(function () {
|
$form.find('input[type="file"]').each(function() {
|
||||||
var input = $(this);
|
var input = $(this);
|
||||||
$.each(input[0].files, function (i, file) {
|
$.each(input[0].files, function(i, file) {
|
||||||
combinedFormData.append(input.attr('name'), file);
|
combinedFormData.append(input.attr('name'), file);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -1751,7 +1785,7 @@ if (!empty($EmpDetails)) {
|
|||||||
data: combinedFormData,
|
data: combinedFormData,
|
||||||
processData: false, // Prevent jQuery from processing the data
|
processData: false, // Prevent jQuery from processing the data
|
||||||
contentType: false, // Prevent jQuery from setting the content type
|
contentType: false, // Prevent jQuery from setting the content type
|
||||||
success: function (response) {
|
success: function(response) {
|
||||||
console.log(response);
|
console.log(response);
|
||||||
|
|
||||||
console.log('Form submitted successfully:', response == 'true');
|
console.log('Form submitted successfully:', response == 'true');
|
||||||
@ -1761,7 +1795,7 @@ if (!empty($EmpDetails)) {
|
|||||||
alert('Employee details Not Update...');
|
alert('Employee details Not Update...');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function (error) {
|
error: function(error) {
|
||||||
console.log('Form submission failed:', error);
|
console.log('Form submission failed:', error);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -1782,7 +1816,7 @@ if (!empty($EmpDetails)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Handle form submission
|
// Handle form submission
|
||||||
$('#fileForm').on('submit', function (event) {
|
$('#fileForm').on('submit', function(event) {
|
||||||
event.preventDefault(); // Prevent default form submission
|
event.preventDefault(); // Prevent default form submission
|
||||||
// Your form submission logic here
|
// Your form submission logic here
|
||||||
});
|
});
|
||||||
|
|||||||
@ -174,8 +174,14 @@ if ($Insurance == 1) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$Orderedsum = (float)str_replace(',', '', $Orderedsum);
|
||||||
|
$ExchangeRate = (float)str_replace(',', '', $ExchangeRate);
|
||||||
|
|
||||||
|
// Perform multiplication
|
||||||
$SavedSum = $Orderedsum * $ExchangeRate;
|
$SavedSum = $Orderedsum * $ExchangeRate;
|
||||||
|
|
||||||
|
// Format the result as a float with two decimal places
|
||||||
|
$SavedSum = number_format($SavedSum, 2, '.', '');
|
||||||
//echo $SavedSum;
|
//echo $SavedSum;
|
||||||
$AvilableBudget = $SavedSum + $AvlAmount;
|
$AvilableBudget = $SavedSum + $AvlAmount;
|
||||||
//echo $AvilableBudget;
|
//echo $AvilableBudget;
|
||||||
@ -2447,7 +2453,7 @@ if (!empty($getlogpodtl)) {
|
|||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h4 class="modal-title">View Import Purchase Order Item</h4>
|
<h4 class="modal-title">View Import Purchase Order Item</h4>
|
||||||
<button type="button" class="close" data-dismiss="modal"
|
<button type="button" class="close" data-dismiss="modal"
|
||||||
aria-hidden="true">×</button>
|
aria-hidden="true"> × </button>
|
||||||
</div>
|
</div>
|
||||||
<form>
|
<form>
|
||||||
<div class="modal-body p-4">
|
<div class="modal-body p-4">
|
||||||
|
|||||||
869
deletableFile.php
Normal file
869
deletableFile.php
Normal file
@ -0,0 +1,869 @@
|
|||||||
|
|
||||||
|
<div class="tab-content mb-0 b-0">
|
||||||
|
|
||||||
|
<div class="tab-pane active" id="first">
|
||||||
|
|
||||||
|
<form id="accountForm" method="post" action="#" class="form-horizontal">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-md-2">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="box-header">
|
||||||
|
|
||||||
|
<img id="profilepicture"
|
||||||
|
src="<?php echo base_url() . $ProfilePic; ?>" alt="your image"
|
||||||
|
style="width: 139px;" />
|
||||||
|
<br />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<label for="photo">Select profile picture<br /><small>(only .jpg or
|
||||||
|
.png)</small>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<input type='file' onchange="readURL(this);" id="photo"
|
||||||
|
value="<?php echo base_url() . $ProfilePic; ?>" name="photo" />
|
||||||
|
|
||||||
|
|
||||||
|
<input type="hidden" name="Image" id="Image"
|
||||||
|
value="<?php echo $ProfilePic; ?>" class="form-control"
|
||||||
|
readonly>
|
||||||
|
<input type="hidden" name="ModifyImage" id="ModifyImage"
|
||||||
|
class="form-control" readonly>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<div class="form-row" >
|
||||||
|
<label>Employee ID</label><span class="badge">*</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-row" >
|
||||||
|
|
||||||
|
<input type="text" name="employeeid" id="employeeid"
|
||||||
|
value="<?php echo $EmpID; ?>" placeholder="Employee ID"
|
||||||
|
class="form-control w-50" readonly>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-top: 18px;">
|
||||||
|
|
||||||
|
<input type="checkbox" id="isactive" <?php echo $IsActive; ?>
|
||||||
|
name="isactive" value="1"> Is Active
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-10">
|
||||||
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Full Name</span><span class="badge">*</span>
|
||||||
|
<input type="text" name="FirstName" maxlength="100"
|
||||||
|
value="<?php echo $FirstName; ?>" id="FirstName"
|
||||||
|
placeholder="First Name" class="form-control" required
|
||||||
|
onkeypress="return onlyAlphabets(event);">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Father / Husband Name</span><span class="badge">*</span>
|
||||||
|
<input type="text" name="FatherName" id="FatherName"
|
||||||
|
maxlength="200" value="<?php echo $FatherName; ?>"
|
||||||
|
placeholder="Father / Husband Name" class="form-control"
|
||||||
|
required onkeypress="return onlyAlphabets(event);">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Contact Number</span><span class="badge">*</span>
|
||||||
|
<input type="text" name="ContactNumber"
|
||||||
|
value="<?php echo $ContactNumber; ?>"
|
||||||
|
onchange="getMobileValidation();" id="ContactNumber"
|
||||||
|
required placeholder="Contact Number" maxlength="10"
|
||||||
|
class="form-control" onkeypress="return isNumberKey(event)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Gender</span><span class="badge">*</span>
|
||||||
|
<select id="gender" name="gender" type="text"
|
||||||
|
placeholder="Gender" required class="form-control select2">
|
||||||
|
<option value="<?php echo $Gender; ?>">
|
||||||
|
<?php echo $Gender; ?>
|
||||||
|
</option>
|
||||||
|
<?php foreach ($GenderList as $rl): ?>
|
||||||
|
<?php $rl1 = $rl->ConfigValue; ?>
|
||||||
|
<?php if (trim($rl1) != trim($Gender)): ?>
|
||||||
|
<?php if (isset($_POST['gender']) && $_POST['gender'] == $rl1): ?>
|
||||||
|
<option value="<?= esc($rl1) ?>" selected="selected">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php else: ?>
|
||||||
|
<option value="<?= esc($rl1) ?>">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
|
||||||
|
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Date Of Birth</span><span class="badge">*</span>
|
||||||
|
<input id="DateofBirth" required name="DateofBirth"
|
||||||
|
value="<?php echo $DOB; ?>" maxlength="10"
|
||||||
|
placeholder="Date Of Birth" onchange="getAge();"
|
||||||
|
class="form-control" data-provide="datepicker"
|
||||||
|
data-date-format="dd-mm-yyyy">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Age</span><span class="badge">*</span>
|
||||||
|
<input type="text" name="age" placeholder="Age" id="age"
|
||||||
|
value="<?php echo $Age; ?>" class="form-control" readonly>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Personal Email ID</span>
|
||||||
|
<input type="mail" name="emailid"
|
||||||
|
value="<?php echo $EmailId; ?>" id="email"
|
||||||
|
placeholder="Email ID" maxlength="100" class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Official Email ID</span>
|
||||||
|
<input type="email" name="comemailid" id="mail"
|
||||||
|
placeholder="Official Email ID"
|
||||||
|
value="<?php echo $personalEmailId; ?>" maxlength="100"
|
||||||
|
class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
|
||||||
|
<span>Blood group</span><span class="badge">*</span>
|
||||||
|
<select id="bloodgroup" name="bloodgroup" required
|
||||||
|
class="form-control select2">
|
||||||
|
<option value="<?php echo $BloodGroup; ?>">
|
||||||
|
<?php echo $BloodGroup ?>
|
||||||
|
</option>
|
||||||
|
<?php foreach ($BloodGroupList as $rl): ?>
|
||||||
|
<?php $rl1 = $rl->ConfigValue; ?>
|
||||||
|
<?php if (trim($rl1) != trim($BloodGroup)): ?>
|
||||||
|
<?php if (isset($_POST['BloodGroup']) && $_POST['BloodGroup'] == $rl1): ?>
|
||||||
|
<option value="<?= esc($rl1) ?>" selected="selected">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php else: ?>
|
||||||
|
<option value="<?= esc($rl1) ?>">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Current Address</span><span class="badge">*</span>
|
||||||
|
<input type="text" id="currentaddress" pattern=".{1,500}"
|
||||||
|
required name="currentaddress" maxlength="500"
|
||||||
|
value="<?php echo $PresentAddress; ?>"
|
||||||
|
placeholder="Current Address" class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-4 pad" style="margin-top: 18px;">
|
||||||
|
<input type="checkbox" id="checksame" name="sameaddress"
|
||||||
|
onclick="CheckClick"> Current address same as permanent
|
||||||
|
address
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Permanent Address</span><span class="badge">*</span>
|
||||||
|
<input type="text" id="permanentaddress" required
|
||||||
|
name="permanentaddress" pattern=".{0,500}"
|
||||||
|
value="<?php echo $PermanentAddress; ?>" maxlength="500"
|
||||||
|
placeholder="Permanent Address " class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row mb-3">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Marital Status</span><span class="badge">*</span>
|
||||||
|
<select id="MartialStatus" name="MartialStatus" type="text"
|
||||||
|
required placeholder="Marital status"
|
||||||
|
class="form-control select2">
|
||||||
|
<option value="<?php echo $MartialStatus ?>">
|
||||||
|
<?php echo $MartialStatus; ?>
|
||||||
|
</option>
|
||||||
|
<?php foreach ($MartialList as $rl): ?>
|
||||||
|
<?php $rl1 = $rl->ConfigValue; ?>
|
||||||
|
<?php if (trim($rl1) != trim($MartialStatus)): ?>
|
||||||
|
<?php if (isset($_POST['MartialStatus']) && $_POST['MartialStatus'] == $rl1): ?>
|
||||||
|
<option value="<?= esc($rl1) ?>" selected="selected">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php else: ?>
|
||||||
|
<option value="<?= esc($rl1) ?>">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4 pad">
|
||||||
|
<span>Emergency Contact Name</span>
|
||||||
|
<input type="text" id="emergencycontactname" maxlength="100"
|
||||||
|
name="emergencycontactname"
|
||||||
|
value="<?php echo $EmergencyContactName; ?>"
|
||||||
|
placeholder="Emergency Contact Name" class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<span>Emergency Contact Number</span>
|
||||||
|
<input type="text" id="emergencycontactnumber"
|
||||||
|
name="emergencycontactnumber"
|
||||||
|
onchange="getValidEmergencyNumber();" maxlength="10"
|
||||||
|
value="<?php echo $EmergencyContactNumber; ?>"
|
||||||
|
placeholder="Emergency Contact Number" class="form-control"
|
||||||
|
onkeypress="return isNumberKey(event)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<ul class="list-inline wizard mb-0">
|
||||||
|
<li class="previous list-inline-item"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Previous</a>
|
||||||
|
</li>
|
||||||
|
<li class="next list-inline-item float-right"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Next</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-pane fade" id="second">
|
||||||
|
<form id="profileForm" method="post" action="#" class="form-horizontal">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-1">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Designation</span><span class="badge">*</span>
|
||||||
|
<select type="text" id="desigination" name="desigination"
|
||||||
|
required class="form-control select2">
|
||||||
|
<option value="<?php echo $Designation; ?>">
|
||||||
|
<?php echo $Designation; ?>
|
||||||
|
</option>
|
||||||
|
<?php foreach ($DesignationList as $rl): ?>
|
||||||
|
<?php $rl1 = $rl->ConfigValue; ?>
|
||||||
|
<?php if (trim($rl1) != trim($Designation)): ?>
|
||||||
|
<?php if (isset($_POST['Designation']) && $_POST['Designation'] == $rl1): ?>
|
||||||
|
<option value="<?= esc($rl1) ?>" selected="selected">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php else: ?>
|
||||||
|
<option value="<?= esc($rl1) ?>">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Department</span><span class="badge">*</span>
|
||||||
|
<select type="text" id="departmentname" name="departmentname"
|
||||||
|
required class="form-control select2">
|
||||||
|
<option value="<?php echo $Departmentcode; ?>">
|
||||||
|
<?php echo $Departmentcode . " - " . $DepartmentName; ?>
|
||||||
|
</option>
|
||||||
|
<?php foreach ($DepartmentList as $rl): ?>
|
||||||
|
<?php $rl1 = $rl->DEPCode; ?>
|
||||||
|
<?php if (trim($rl1) != trim($Departmentcode)): ?>
|
||||||
|
<?php if (isset($_POST['Departmentcode']) && $_POST['Departmentcode'] == $rl1): ?>
|
||||||
|
<option value="<?= esc($rl1) ?>" selected="selected">
|
||||||
|
<?= esc($rl->DEPCode) . " - " . esc($rl->DepartmentName); ?>
|
||||||
|
</option>
|
||||||
|
<?php else: ?>
|
||||||
|
<option value="<?= esc($rl1) ?>">
|
||||||
|
<?= esc($rl->DEPCode) . " - " . esc($rl->DepartmentName); ?>
|
||||||
|
</option>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Date Of Joining</span><span class="badge">*</span>
|
||||||
|
<input id="dateofjoining" name="dateofjoining"
|
||||||
|
value="<?php echo $DOJ; ?>" maxlength="10" required
|
||||||
|
placeholder="Date Of Joining" class="form-control"
|
||||||
|
data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Previous Years of Experience</span>
|
||||||
|
<input type="text" id="Previousexperience"
|
||||||
|
value="<?php echo $PreviousYearsOfExp; ?>"
|
||||||
|
name="Previousexperience" maxlength="4"
|
||||||
|
onkeypress="return isNumberKey(event)"
|
||||||
|
placeholder="Previous Years of Experience"
|
||||||
|
class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-1">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Qualification</span><span class="badge">*</span>
|
||||||
|
<select type="text" id="eduqualifaction" name="eduqualifaction"
|
||||||
|
required class="form-control select2">
|
||||||
|
<option value="<?php echo $Edu_Qualification; ?>">
|
||||||
|
<?php echo $Edu_Qualification; ?>
|
||||||
|
</option>
|
||||||
|
<?php foreach ($QualificationList as $rl): ?>
|
||||||
|
<?php $rl1 = $rl->ConfigValue; ?>
|
||||||
|
<?php if (trim($rl1) != trim($Designation)): ?>
|
||||||
|
<?php if (isset($_POST['Edu_Qualification']) && $_POST['Edu_Qualification'] == $rl1): ?>
|
||||||
|
<option value="<?= esc($rl1) ?>" selected="selected">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php else: ?>
|
||||||
|
<option value="<?= esc($rl1) ?>">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3" style="display:none">
|
||||||
|
<span>Additional Qualification</span>
|
||||||
|
<input type="text" id="addqualification" name="addqualification"
|
||||||
|
value="<?php echo $Additional_Qualification; ?>"
|
||||||
|
maxlength="100" placeholder="Additional Qualification"
|
||||||
|
class="form-control">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3" style="display:none">
|
||||||
|
<span>Referred By</span>
|
||||||
|
<input type="text" id="referredby" name="referredby"
|
||||||
|
value="<?php echo $Reference_Name; ?>"
|
||||||
|
placeholder="Referred By" maxlength="100"
|
||||||
|
class="form-control">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3" style="display:none">
|
||||||
|
<span>Referrer Contact Number</span>
|
||||||
|
<input type="text" id="referrercontno" name="referrercontno"
|
||||||
|
value="<?php echo $Reference_ContactNumber; ?>"
|
||||||
|
onchange="getValidReferNumber();" maxlength="10"
|
||||||
|
placeholder="Referrer Contact Number" class="form-control"
|
||||||
|
onkeypress="return isNumberKey(event)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Work Location</span><span class="badge">*</span>
|
||||||
|
<select type="text" id="work_location" name="work_location"
|
||||||
|
required class="form-control select2">
|
||||||
|
<option value="<?php echo $work_location; ?>">
|
||||||
|
<?php echo $work_location; ?>
|
||||||
|
</option>
|
||||||
|
<?php foreach ($Location as $rl): ?>
|
||||||
|
<?php $rl1 = $rl->ConfigValue; ?>
|
||||||
|
<?php if (trim($rl1) != trim($work_location)): ?>
|
||||||
|
<?php if (isset($_POST['work_location']) && $_POST['work_location'] == $rl1): ?>
|
||||||
|
<option value="<?= esc($rl1) ?>" selected="selected">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php else: ?>
|
||||||
|
<option value="<?= esc($rl1) ?>">
|
||||||
|
<?= esc($rl->ConfigValue) ?>
|
||||||
|
</option>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3" style="margin-top: 18px;">
|
||||||
|
<div class="form-group">
|
||||||
|
<span
|
||||||
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">Management
|
||||||
|
Team</span>
|
||||||
|
<label class="switch">
|
||||||
|
<input type="checkbox" name="is_management_team"
|
||||||
|
value="<?= $is_management_team; ?>" <?php echo $is_management_team == '1' ? 'checked' : ''; ?>
|
||||||
|
onchange="updateSwitchValue(this)" />
|
||||||
|
<span class="slider"></span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- end row -->
|
||||||
|
</form>
|
||||||
|
<ul class="list-inline wizard mb-0">
|
||||||
|
<li class="previous list-inline-item"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Previous</a>
|
||||||
|
</li>
|
||||||
|
<li class="next list-inline-item float-right"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Next</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-pane fade" id="third">
|
||||||
|
<form id="bankForm" method="post" action="#" class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-md-1">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Bank Name</span>
|
||||||
|
<input type="text" id="bankbranchname" name="bankbranchname"
|
||||||
|
class="form-control" value="<?php echo $BankBranchName; ?>"
|
||||||
|
required>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Account Number</span>
|
||||||
|
<input type="text" id="accountno" maxlength="20"
|
||||||
|
name="accountno" placeholder="Account Number"
|
||||||
|
class="form-control" value="<?php echo $BankAccountNo; ?>"
|
||||||
|
onkeypress="return isNumberKey(event)">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>IFSC Code</span>
|
||||||
|
<input type="text" id="ifsccode" name="ifsccode"
|
||||||
|
placeholder="IFSC Code" class="form-control"
|
||||||
|
value="<?php echo $IFSCCode; ?>">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Bank Address</span>
|
||||||
|
<input type="text" id="bankaddress" name="bankaddress"
|
||||||
|
placeholder="Bank Address" class="form-control"
|
||||||
|
value="<?php echo $BankAddress; ?>">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- end col -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom:0px;">
|
||||||
|
<div class="col-md-1">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
|
||||||
|
<span for="Basic_Pay">Total Salary</span>
|
||||||
|
<font color="Red">*</font>
|
||||||
|
|
||||||
|
<input type="text" name="Total_salary" id="Total_salary"
|
||||||
|
value="<?php echo $empPay->TotalSalary; ?>"
|
||||||
|
pattern="([0-9]{1,8}([.][0-9]{1,2})?)"
|
||||||
|
class="form-control num"
|
||||||
|
style="text-transform:uppercase;"
|
||||||
|
title="Enter Valid Total salary Amount, Minimum Four Digit Positive Number"
|
||||||
|
onchange="calculalteHRA();" />
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span for="Basic_Pay">Basic Pay</span>
|
||||||
|
<font color="Red">*</font>
|
||||||
|
<input type="text" name="Basic_Pay" id="Basic_Pay"
|
||||||
|
value="<?php echo $empPay->Basic_Pay; ?>"
|
||||||
|
pattern="[0-9]{4,6}" class="form-control num"
|
||||||
|
style="text-transform:uppercase;"
|
||||||
|
title="Enter Valid Basic Pay Amount, Minimum Four Digit Positive Number"
|
||||||
|
readonly />
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span for="HRA_Rate">HRA Rate(%)</span>
|
||||||
|
<font color="Red">*</font>
|
||||||
|
|
||||||
|
<input type="text" name="HRA_Rate" id="HRA_Rate"
|
||||||
|
value="<?php echo $empPay->HRA_Rate; ?>"
|
||||||
|
class="form-control num"
|
||||||
|
style="text-transform:uppercase;"
|
||||||
|
pattern="([0-9]{1,2}([.][0-9]{1,2})?)"
|
||||||
|
title="Enter the Valid HRA Rate, Minimum 1 digit, Maximum 2 digit"
|
||||||
|
readonly />
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span for="HRA_Rate">HRA Amount</span>
|
||||||
|
<font color="Red">*</font>
|
||||||
|
<input type="text" name="HRA_Amount" id="HRA_Amount"
|
||||||
|
class="form-control num"
|
||||||
|
value="<?php echo $empPay->HRA_Amount; ?>"
|
||||||
|
style="text-transform:uppercase;" readonly />
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom:0px;">
|
||||||
|
<div class="col-md-1">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span>ESI Number</span>
|
||||||
|
<input type="text" id="esino" name="esino" maxlength="10"
|
||||||
|
onchange="validateESI();" class="form-control"
|
||||||
|
title=" 10 digit number" value="<?php echo $esino; ?>"
|
||||||
|
onkeypress="return isNumberKey(event)">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span for="ESI_Rate">ESI Rate(%)</span>
|
||||||
|
<font color="Red">*</font>
|
||||||
|
<input type="text" name="ESI_Rate"
|
||||||
|
value="<?php echo $empPay->ESI_Rate; ?>"
|
||||||
|
class="form-control num"
|
||||||
|
style="text-transform:uppercase;"
|
||||||
|
pattern="([0-9]{1,2}([.][0-9]{1,2})?)"
|
||||||
|
title="Enter the Valid ESI Rate, Minimum 1 digit, Maximum 2 digits"
|
||||||
|
readonly />
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span>UAN</span>
|
||||||
|
<input type="text" id="pfno" name="pfno" maxlength="22"
|
||||||
|
value="<?php echo $pfno; ?>" onchange="validatePF();"
|
||||||
|
class="form-control" style="text-transform:uppercase"
|
||||||
|
pattern="\d{12}" title="12 Digit number"
|
||||||
|
onkeypress="return alpha(event);">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span for="PF_Rate">PF Rate(%)</span>
|
||||||
|
<font color="Red">*</font>
|
||||||
|
<input type="text" name="PF_Rate"
|
||||||
|
value="<?php echo $empPay->PF_Rate; ?>"
|
||||||
|
class="form-control num"
|
||||||
|
style="text-transform:uppercase;"
|
||||||
|
pattern="([0-9]{1,2}([.][0-9]{1,2})?)"
|
||||||
|
title="Enter the valid PF Rate, Minimum 1 digit, Maximum 2 digits"
|
||||||
|
readonly />
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-bottom:0px;">
|
||||||
|
<div class="col-md-1"></div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span
|
||||||
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">ESI
|
||||||
|
Applicable</span>
|
||||||
|
<label class="switch">
|
||||||
|
<input type="checkbox" name="esi_applicable"
|
||||||
|
value="<?= $esi_applicable; ?>" <?php echo $esi_applicable == '1' ? 'checked' : ''; ?>
|
||||||
|
onchange="updateSwitchValue(this)" />
|
||||||
|
<span class="slider"></span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<span
|
||||||
|
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">PF
|
||||||
|
Applicable</span>
|
||||||
|
<label class="switch">
|
||||||
|
<input type="checkbox" name="pf_applicable"
|
||||||
|
value="<?= $pf_applicable; ?>" <?php echo $pf_applicable == '1' ? 'checked' : ''; ?>
|
||||||
|
onchange="updateSwitchValue(this)" />
|
||||||
|
<span class="slider"></span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- end row -->
|
||||||
|
</form>
|
||||||
|
<ul class="list-inline wizard mb-0">
|
||||||
|
<li class="previous list-inline-item"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Previous</a>
|
||||||
|
</li>
|
||||||
|
<li class="next list-inline-item float-right"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Next</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-pane fade" id="fourth">
|
||||||
|
<form id="proofForm" method="post" action="#" class="form-horizontal">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-1">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Aadhar Number</span> <span class="badge">*</span>
|
||||||
|
<input type="text" id="aadharno" name="aadharno" required
|
||||||
|
maxlength="14" placeholder="Aadhar Number"
|
||||||
|
onchange="ValidateAadhar();" class="form-control num"
|
||||||
|
value="<?php echo $AadharNo; ?>" title=" : 12 digit number">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>PAN Number</span>
|
||||||
|
<input type="text" id="panno" style="text-transform: uppercase"
|
||||||
|
maxlength="10" name="panno" placeholder="PAN Number"
|
||||||
|
onchange="validatePAN();" class="form-control"
|
||||||
|
value="<?php echo $PANNo; ?>"
|
||||||
|
onkeypress="return alpha(event);"
|
||||||
|
pattern="([a-zA-Z]){5}([0-9]){4}([a-zA-Z]){1}"
|
||||||
|
title=" 5 character,4 Digit Numbers,1 character (ex:ABCDE1234A) ">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Passport Number</span>
|
||||||
|
<input type="text" id="passportno" name="passportno"
|
||||||
|
maxlength="9" placeholder="Passport Number"
|
||||||
|
onkeypress="return alpha(event);"
|
||||||
|
onchange="ValidatePassport();" class="form-control"
|
||||||
|
value="<?php echo $PassportNo; ?>"
|
||||||
|
pattern="[Aa-PpRr-WwYy]{1}[1-9]{1}\d{1}\s\d{4}[1-9]{1}"
|
||||||
|
title="The first digit or the last digit will never be 0
|
||||||
|
The first character cannot be Q, X or Z. (eg:A12 34567)"
|
||||||
|
style="text-transform: uppercase">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Passport Expiry Date</span>
|
||||||
|
<input id="ValidTill" name="ValidTill" maxlength="10"
|
||||||
|
placeholder="Passport Expiry Date" class="form-control"
|
||||||
|
value="<?php echo $DOPassport; ?>">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-1">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Voter ID</span>
|
||||||
|
<input type="text" id="VoterID" name="VoterID" maxlength="12"
|
||||||
|
value="<?php echo $VoterID; ?>" class="form-control"
|
||||||
|
placeholder="VoterID" onkeypress="return alpha(event);"
|
||||||
|
style="text-transform: uppercase">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Driving License</span>
|
||||||
|
<!-- <input type="text" id="Driverlicense" maxlength="16" onchange="validateDriverLicense();" pattern="[A-Z]{2}[0-9]{2}\s[0-9]{11}" value="<?php echo $DriverLicense; ?>"name="Driverlicense" title="EX:TN82 12345678900" class="form-control" value=""placeholder="Driverlicense"> -->
|
||||||
|
<input type="text" id="Driverlicense" maxlength="16"
|
||||||
|
onchange="validateDriverLicense();"
|
||||||
|
pattern="[a-zA-Z]{2}[0-9]{2}\s[0-9]{11}"
|
||||||
|
value="<?php echo $DriverLicense; ?>" name="Driverlicense"
|
||||||
|
title="EX:TN82 12345678900" class="form-control"
|
||||||
|
placeholder="Driverlicense"
|
||||||
|
style="text-transform: uppercase"
|
||||||
|
onkeypress="return alpha(event);">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Driving License Expiry Date</span>
|
||||||
|
<input id="LicenseExpiryDate" name="LicenseExpiryDate"
|
||||||
|
value="<?php echo $LicenseValidtill; ?>"
|
||||||
|
onkeypress="return false;" class="form-control"
|
||||||
|
placeholder="License Expiry Date">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<span>Nominee reference</span>
|
||||||
|
<input type="text" id="nomineename" name="nomineename"
|
||||||
|
maxlength="250" class="form-control"
|
||||||
|
placeholder="Nominee Name" value="<?php echo $nominee; ?>">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<ul class="list-inline wizard mb-0">
|
||||||
|
<li class="previous list-inline-item"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Previous</a>
|
||||||
|
</li>
|
||||||
|
<li class="next list-inline-item float-right"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Next</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-pane fade" id="fivth">
|
||||||
|
<form id="fileForm" method="post" action="#" class="form-horizontal">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-1">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-11">
|
||||||
|
<!-- <div class="row"> -->
|
||||||
|
<!-- <div class="files"> -->
|
||||||
|
|
||||||
|
<?php if (count($emp_data) > 0) { ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?php foreach ($emp_data as $key => $value) { ?>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
|
||||||
|
<span>File Name</span>
|
||||||
|
<input type="text" maxlength="255" class="form-control"
|
||||||
|
value="<?php echo $value['file_name']; ?>" readonly>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-md-1" style="margin-top: 25px;">
|
||||||
|
<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;">
|
||||||
|
<button type="button" class="btn btn-danger btn-sm"
|
||||||
|
id="<?= $value['id']; ?>"
|
||||||
|
onclick="removeContact(this)">Delete
|
||||||
|
</button>
|
||||||
|
<button type="button" class="btn btn-primary btn-sm a1"
|
||||||
|
onclick="appendFilesFileds()" id="day"
|
||||||
|
style="display: inline-block;">
|
||||||
|
Add New File
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php }
|
||||||
|
} else { ?>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<span>File Name</span>
|
||||||
|
<input type="text" id="file_name" name="file_name[]"
|
||||||
|
maxlength="255" class="form-control">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<span>File</span>
|
||||||
|
<input type="file" name="emp_file[]" class="form-control">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4" style="margin-top: 23px;">
|
||||||
|
<button type="button" class="btn btn-primary btn-sm a1"
|
||||||
|
onclick="appendFilesFileds()" id="day">
|
||||||
|
Add
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
<div id="filesContainer" class="col-12"></div>
|
||||||
|
<!-- </div> -->
|
||||||
|
<!-- </div> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<ul class="list-inline wizard mb-0">
|
||||||
|
<li class="previous list-inline-item"><a href="javascript: void(0);"
|
||||||
|
class="btn btn-secondary">Previous</a>
|
||||||
|
</li>
|
||||||
|
<!-- <li class="next list-inline-item float-right"> -->
|
||||||
|
<button type="submit" class="btn btn-primary submit float-right">Submit</button>
|
||||||
|
<!-- </li> -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user