869 lines
41 KiB
PHP
Executable File
869 lines
41 KiB
PHP
Executable File
|
|
<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>
|