CHANGE_TRACKER_ISSUE_4_CONFLICT
This commit is contained in:
commit
be86795246
@ -2,6 +2,10 @@
|
||||
.row {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-style: bold;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
@ -437,33 +441,50 @@
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-2">
|
||||
<div class="box-header">
|
||||
<img id="profilepicture"
|
||||
src="<?php echo base_url(); ?>public/assets/dist/img/avatar.png"
|
||||
alt="your image" style="width: 139px;" /><br />
|
||||
|
||||
<div class="row">
|
||||
<div class="box-header">
|
||||
<img id="profilepicture"
|
||||
src="<?php echo base_url(); ?>public/assets/dist/img/avatar.png"
|
||||
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"
|
||||
name="photo" />
|
||||
<label for="photo">Select profile picture<br /><small>(only .jpg or
|
||||
.png)</small></label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-10">
|
||||
<div class="row">
|
||||
|
||||
<div class="row mb-3">
|
||||
<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"
|
||||
onkeypress="return onlyAlphabets(event);" maxlength="100"
|
||||
id="FirstName" class="form-control" required>
|
||||
</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>
|
||||
<input type="text" name="FatherName"
|
||||
onkeypress="return onlyAlphabets(event);" id="FatherName"
|
||||
maxlength="200" class="form-control" required>
|
||||
</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>
|
||||
<input type="text" name="ContactNumber"
|
||||
onchange="return getMobileValidation();" id="ContactNumber"
|
||||
@ -471,8 +492,8 @@
|
||||
class="form-control" onkeypress="return isNumberKey(event)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 pad"><span>Gender</span><span
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-4 pad"><label>Gender</label><span
|
||||
class="badge">*</span>
|
||||
<select id="gender" name="gender" type="text" required
|
||||
class="form-control select2">
|
||||
@ -489,30 +510,32 @@
|
||||
?>
|
||||
</select>
|
||||
</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>
|
||||
<input id="DateofBirth" required name="DateofBirth"
|
||||
onkeypress="return false;" maxlength="10"
|
||||
onchange="getAge();" class="form-control " data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
||||
</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"
|
||||
readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 pad"><span>Personal Email ID</span><span class="badge">*</span>
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-4 pad">
|
||||
<label>Personal Email ID</label><span class="badge">*</span>
|
||||
<input type="email" name="emailid" id="emailid" maxlength="100"
|
||||
class="form-control" required>
|
||||
</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"
|
||||
class="form-control">
|
||||
</div>
|
||||
<div class="col-md-4 pad">
|
||||
|
||||
<span>Blood group</span><span class="badge">*</span>
|
||||
<select id="bloodgroup" name="bloodgroup" required
|
||||
<label>Blood group</label><span class="badge">*</span>
|
||||
<select class="form-control" id="bloodgroup" name="bloodgroup" required
|
||||
class="form-control select2">
|
||||
<option value="">Select Blood group</option>
|
||||
<?php
|
||||
@ -528,9 +551,34 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
<div class="row mb-3">
|
||||
|
||||
<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"
|
||||
required placeholder="Marital status"
|
||||
class="form-control select2">
|
||||
@ -547,32 +595,16 @@
|
||||
?>
|
||||
</select>
|
||||
</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">
|
||||
<span>Emergency Contact Name</span>
|
||||
<label>Emergency Contact Name</label>
|
||||
<input type="text" id="emergencycontactname"
|
||||
onkeypress="return onlyAlphabets(event);" maxlength="100"
|
||||
name="emergencycontactname" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<span>Emergency Contact Number</span>
|
||||
<label>Emergency Contact Number</label>
|
||||
<input type="text" id="emergencycontactnumber"
|
||||
name="emergencycontactnumber"
|
||||
onchange="return getValidEmergencyNumber();" pattern="(.){10,10}"
|
||||
@ -580,11 +612,11 @@
|
||||
onkeypress="return isNumberKey(event)">
|
||||
</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>
|
||||
|
||||
</form>
|
||||
@ -604,7 +636,7 @@
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<span>Designation</span><span
|
||||
<label>Designation</label><span
|
||||
class="badge">*</span>
|
||||
<select type="text" id="desigination" name="desigination" required
|
||||
class="form-control select2">
|
||||
@ -623,7 +655,7 @@
|
||||
|
||||
</div>
|
||||
<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
|
||||
class="form-control select2">
|
||||
<option value="">Select Department</option>
|
||||
@ -640,13 +672,13 @@
|
||||
</select>
|
||||
|
||||
</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>
|
||||
<input id="dateofjoining" name="dateofjoining"
|
||||
onkeypress="return false;" maxlength="10" required
|
||||
class="form-control" data-provide="datepicker" data-date-format="dd-mm-yyyy">
|
||||
</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"
|
||||
maxlength="4" onkeypress="return isNumberKey(event)"
|
||||
class="form-control">
|
||||
@ -663,7 +695,7 @@
|
||||
<div class="col-md-11">
|
||||
<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
|
||||
class="form-control select2">
|
||||
<option value="">Select Qualification</option>
|
||||
@ -680,23 +712,23 @@
|
||||
</select>
|
||||
</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"
|
||||
maxlength="100" class="form-control">
|
||||
</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"
|
||||
onkeypress="return onlyAlphabets(event);" name="referredby"
|
||||
maxlength="100" class="form-control">
|
||||
</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"
|
||||
onchange=" return getValidReferNumber();" maxlength="10"
|
||||
onkeypress="return isNumberKey(event)" class="form-control">
|
||||
</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
|
||||
class="form-control select2">
|
||||
<option value="">Select Work Location</option>
|
||||
@ -747,22 +779,22 @@
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-3"><span>Bank Name</span><span class="badge">*</span>
|
||||
<input type="text" id="bankbranchname" name="bankbranchname"
|
||||
class="form-control" required>
|
||||
<div class="col-md-3"><label>Bank Name</l><span class="badge">*</span>
|
||||
<input type="text" id="bankbranchname" name="bankbranchname"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
<div class="col-md-3"><span>Account Number</span><span
|
||||
<div class="col-md-3"><label>Account Number</label><span
|
||||
class="badge">*</span>
|
||||
<input type="text" id="accountno" onkeypress="return isNumberKey(event)"
|
||||
maxlength="20" name="accountno" class="form-control" required>
|
||||
</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>
|
||||
<input type="text" id="ifsccode" name="ifsccode" placeholder="IFSC Code"
|
||||
class="form-control" onkeypress="return alpha(event);"
|
||||
style="text-transform: uppercase" required>
|
||||
</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"
|
||||
placeholder="Bank Address" maxlength="200" class="form-control">
|
||||
</div>
|
||||
@ -771,14 +803,14 @@
|
||||
|
||||
<!-- end col -->
|
||||
</div>
|
||||
<div class="row">
|
||||
<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>
|
||||
<label for="Basic_Pay">Total Salary</label>
|
||||
<font color="Red">*</font>
|
||||
|
||||
<input type="text" name="Total_salary" id="Total_salary"
|
||||
@ -792,7 +824,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span for="Basic_Pay">Basic Pay</span>
|
||||
<label for="Basic_Pay">Basic Pay</label>
|
||||
<font color="Red">*</font>
|
||||
<input type="text" name="Basic_Pay" id="Basic_Pay"
|
||||
value="<?php echo set_value('Basic_Pay'); ?>"
|
||||
@ -805,7 +837,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span for="HRA_Rate">HRA Rate(%)</span>
|
||||
<label for="HRA_Rate">HRA Rate(%)</label>
|
||||
<font color="Red">*</font>
|
||||
|
||||
<input type="text" name="HRA_Rate" id="HRA_Rate"
|
||||
@ -818,7 +850,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span for="HRA_Rate">HRA Amount</span>
|
||||
<label for="HRA_Rate">HRA Amount</label>
|
||||
<font color="Red">*</font>
|
||||
<input type="text" name="HRA_Amount" id="HRA_Amount"
|
||||
class="form-control num" style="text-transform:uppercase;"
|
||||
@ -831,7 +863,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom:0px;">
|
||||
<div class="col-md-1">
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
@ -839,7 +871,8 @@
|
||||
|
||||
|
||||
<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"
|
||||
onchange="validatePF();" class="form-control"
|
||||
style="text-transform:uppercase"
|
||||
@ -851,7 +884,7 @@
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span for="PF_Rate">PF Rate(%)</span>
|
||||
<label for="PF_Rate">PF Rate(%)</label>
|
||||
<font color="Red">*</font>
|
||||
<input type="text" name="PF_Rate" value="<?= $pf_rate; ?>"
|
||||
class="form-control num" style="text-transform:uppercase;"
|
||||
@ -863,16 +896,16 @@
|
||||
</div>
|
||||
|
||||
<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"
|
||||
onchange="validateESI();" class="form-control"
|
||||
title=" 10 digit number"
|
||||
onkeypress="return isNumberKey(event)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3" style="margin-top: 18px;">
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span for="ESI_Rate">ESI Rate(%)</span>
|
||||
<label for="ESI_Rate">ESI Rate(%)</label>
|
||||
<font color="Red">*</font>
|
||||
<input type="text" name="ESI_Rate" value="<?= $esi_rate; ?>"
|
||||
class="form-control num" style="text-transform:uppercase;"
|
||||
@ -890,7 +923,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom:0px;">
|
||||
<div class="col-md-1">
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
@ -898,9 +931,9 @@
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span
|
||||
<label
|
||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">ESI
|
||||
Applicable</span>
|
||||
Applicable</label>
|
||||
<label class="switch">
|
||||
<input type="checkbox" name="esi_applicable" value="0"
|
||||
onchange="updateSwitchValue(this)" />
|
||||
@ -911,9 +944,9 @@
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span
|
||||
<label
|
||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">PF
|
||||
Applicable</span>
|
||||
Applicable</label>
|
||||
<label class="switch">
|
||||
<input type="checkbox" name="pf_applicable" value="0"
|
||||
onchange="updateSwitchValue(this)" />
|
||||
@ -942,13 +975,13 @@
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<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>
|
||||
<input type="text" id="aadharno" name="aadharno" maxlength="14"
|
||||
onchange="ValidateAadhar();" class="form-control"
|
||||
onkeypress="return isNumberKey(event)" required>
|
||||
</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"
|
||||
style="text-transform:uppercase" name="panno"
|
||||
onchange="validatePAN();" class="form-control"
|
||||
@ -956,14 +989,14 @@
|
||||
title=" 5 character,4 Digit Numbers,1 character (ex:ABCDE1234A) "
|
||||
onkeypress="return alpha(event);">
|
||||
</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"
|
||||
onchange="ValidatePassport();" name="passportno"
|
||||
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
|
||||
The first character cannot be Q, X or Z. (eg:A12 34567)" onkeypress="return alpha(event);">
|
||||
</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;"
|
||||
maxlength="10" class="form-control">
|
||||
</div>
|
||||
@ -978,11 +1011,11 @@
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<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"
|
||||
class="form-control" style="text-transform: uppercase">
|
||||
</div>
|
||||
<div class="col-md-3"><span>Driving License</span>
|
||||
<div class="col-md-3"><label>Driving License</label>
|
||||
<input type="text" id="Driverlicense"
|
||||
onchange="validateDriverLicense();" style="text-transform:uppercase"
|
||||
pattern="[a-zA-Z]{2}[0-9]{2}\s[0-9]{11}" title="EX:TN82 12345678900"
|
||||
@ -990,12 +1023,12 @@
|
||||
onkeypress="return alpha(event);">
|
||||
</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"
|
||||
onkeypress="return false;" maxlength="10" class="form-control">
|
||||
</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"
|
||||
class="form-control">
|
||||
</div>
|
||||
@ -1020,12 +1053,12 @@
|
||||
<div class="row">
|
||||
<!-- <div class="files"> -->
|
||||
<div class="col-md-4">
|
||||
<span>File Name</span>
|
||||
<label>File Name</label>
|
||||
<input type="text" id="file_name" name="file_name[]" maxlength="255"
|
||||
class="form-control">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<span>File</span>
|
||||
<label>File</label>
|
||||
<input type="file" name="emp_file[]" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-4" style="margin-top: 23px;">
|
||||
@ -1361,7 +1394,6 @@
|
||||
// Validate all forms before proceeding
|
||||
$forms.each(function(index) {
|
||||
var $form = $(this);
|
||||
console.log(index);
|
||||
if (index <= currentIndex) {
|
||||
// Only validate forms up to the current tab
|
||||
if (!$form[0].checkValidity()) {
|
||||
@ -1463,7 +1495,6 @@
|
||||
var $nextTab = $activeTab.parent().next().find('a');
|
||||
|
||||
if ($nextTab.length) {
|
||||
|
||||
$nextTab.trigger('click');
|
||||
} else {
|
||||
// If there are no more tabs, submit the form
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -174,8 +174,14 @@ if ($Insurance == 1) {
|
||||
|
||||
|
||||
|
||||
$Orderedsum = (float)str_replace(',', '', $Orderedsum);
|
||||
$ExchangeRate = (float)str_replace(',', '', $ExchangeRate);
|
||||
|
||||
// Perform multiplication
|
||||
$SavedSum = $Orderedsum * $ExchangeRate;
|
||||
|
||||
// Format the result as a float with two decimal places
|
||||
$SavedSum = number_format($SavedSum, 2, '.', '');
|
||||
//echo $SavedSum;
|
||||
$AvilableBudget = $SavedSum + $AvlAmount;
|
||||
//echo $AvilableBudget;
|
||||
@ -2447,7 +2453,7 @@ if (!empty($getlogpodtl)) {
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">View Import Purchase Order Item</h4>
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
aria-hidden="true">×</button>
|
||||
aria-hidden="true"> × </button>
|
||||
</div>
|
||||
<form>
|
||||
<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