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="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>
|
||||
<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
|
||||
|
||||
@ -2,6 +2,10 @@
|
||||
.row {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-style: bold;
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
|
||||
@ -141,19 +145,16 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
<div class="content-page">
|
||||
<div class="content">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<div class="col-12">
|
||||
<div class="page-title-box page-title-box-alt">
|
||||
<h4 class="page-title">Edit Employee</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class=" btn btn-dark waves-effect waves-light" href="<?php echo base_url() ?>employeeListing"><span
|
||||
<a class="btn btn-secondary" href="<?php echo base_url() ?>employeeListing"><span
|
||||
class="bold">Back</span></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="card">
|
||||
@ -206,14 +207,30 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
<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 />
|
||||
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" />
|
||||
<label for="photo">Select profile picture<br /><small>(only .jpg or
|
||||
.png)</small></label>
|
||||
|
||||
|
||||
<input type="hidden" name="Image" id="Image"
|
||||
value="<?php echo $ProfilePic; ?>" class="form-control"
|
||||
@ -223,16 +240,21 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
</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 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; ?>
|
||||
name="isactive" value="1"> Is Active
|
||||
@ -246,10 +268,10 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
<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" maxlength="100"
|
||||
value="<?php echo $FirstName; ?>" id="FirstName"
|
||||
placeholder="First Name" class="form-control" required
|
||||
@ -257,7 +279,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<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"
|
||||
maxlength="200" value="<?php echo $FatherName; ?>"
|
||||
placeholder="Father / Husband Name" class="form-control"
|
||||
@ -265,7 +287,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<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"
|
||||
value="<?php echo $ContactNumber; ?>"
|
||||
onchange="getMobileValidation();" id="ContactNumber"
|
||||
@ -276,10 +298,10 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="row mb-3">
|
||||
|
||||
<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"
|
||||
placeholder="Gender" required class="form-control select2">
|
||||
<option value="<?php echo $Gender; ?>">
|
||||
@ -305,7 +327,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<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"
|
||||
value="<?php echo $DOB; ?>" maxlength="10"
|
||||
placeholder="Date Of Birth" onchange="getAge();"
|
||||
@ -314,7 +336,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<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"
|
||||
value="<?php echo $Age; ?>" class="form-control" readonly>
|
||||
</div>
|
||||
@ -322,17 +344,17 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="row mb-3">
|
||||
|
||||
<div class="col-md-4 pad">
|
||||
<span>Personal Email ID</span>
|
||||
<label>Personal Email ID</label>
|
||||
<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>
|
||||
<label>Official Email ID</label>
|
||||
<input type="email" name="comemailid" id="mail"
|
||||
placeholder="Official Email ID"
|
||||
value="<?php echo $personalEmailId; ?>" maxlength="100"
|
||||
@ -341,7 +363,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
<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
|
||||
class="form-control select2">
|
||||
<option value="<?php echo $BloodGroup; ?>">
|
||||
@ -367,9 +389,38 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
</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" 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"
|
||||
required placeholder="Marital status"
|
||||
class="form-control select2">
|
||||
@ -394,27 +445,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<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">
|
||||
<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>
|
||||
<label>Emergency Contact Name</label>
|
||||
<input type="text" id="emergencycontactname" maxlength="100"
|
||||
name="emergencycontactname"
|
||||
value="<?php echo $EmergencyContactName; ?>"
|
||||
@ -422,7 +453,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<span>Emergency Contact Number</span>
|
||||
<label>Emergency Contact Number</label>
|
||||
<input type="text" id="emergencycontactnumber"
|
||||
name="emergencycontactnumber"
|
||||
onchange="getValidEmergencyNumber();" maxlength="10"
|
||||
@ -431,11 +462,6 @@ if (!empty($EmpDetails)) {
|
||||
onkeypress="return isNumberKey(event)">
|
||||
</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>
|
||||
|
||||
@ -461,7 +487,7 @@ if (!empty($EmpDetails)) {
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<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"
|
||||
required class="form-control select2">
|
||||
<option value="<?php echo $Designation; ?>">
|
||||
@ -487,7 +513,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
</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="<?php echo $Departmentcode; ?>">
|
||||
@ -511,14 +537,14 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
</div>
|
||||
<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"
|
||||
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>
|
||||
<label>Previous Years of Experience</label>
|
||||
<input type="text" id="Previousexperience"
|
||||
value="<?php echo $PreviousYearsOfExp; ?>"
|
||||
name="Previousexperience" maxlength="4"
|
||||
@ -538,7 +564,7 @@ if (!empty($EmpDetails)) {
|
||||
<div class="row">
|
||||
|
||||
<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"
|
||||
required class="form-control select2">
|
||||
<option value="<?php echo $Edu_Qualification; ?>">
|
||||
@ -561,21 +587,21 @@ if (!empty($EmpDetails)) {
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3" style="display:none">
|
||||
<span>Additional Qualification</span>
|
||||
<label>Additional Qualification</label>
|
||||
<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>
|
||||
<label>Referred By</label>
|
||||
<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>
|
||||
<label>Referrer Contact Number</label>
|
||||
<input type="text" id="referrercontno" name="referrercontno"
|
||||
value="<?php echo $Reference_ContactNumber; ?>"
|
||||
onchange="getValidReferNumber();" maxlength="10"
|
||||
@ -585,7 +611,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
|
||||
<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"
|
||||
required class="form-control select2">
|
||||
<option value="<?php echo $work_location; ?>">
|
||||
@ -612,9 +638,10 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
<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
|
||||
style="display: inline-block; vertical-align: bottom; margin-right: 10px; margin-bottom: 10px;">
|
||||
Management
|
||||
Team</label>
|
||||
<label class="switch">
|
||||
<input type="checkbox" name="is_management_team"
|
||||
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">
|
||||
<form id="bankForm" method="post" action="#" class="form-horizontal">
|
||||
|
||||
<div class="row">
|
||||
<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>
|
||||
<label>Bank Name</label>
|
||||
<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>
|
||||
<label>Account Number</label>
|
||||
<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>
|
||||
<label>IFSC Code</label>
|
||||
<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>
|
||||
<label>Bank Address</label>
|
||||
<input type="text" id="bankaddress" name="bankaddress"
|
||||
placeholder="Bank Address" class="form-control"
|
||||
value="<?php echo $BankAddress; ?>">
|
||||
@ -681,7 +708,7 @@ if (!empty($EmpDetails)) {
|
||||
<!-- end col -->
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="row" style="margin-bottom:0px;">
|
||||
<div class="col-md-1">
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
@ -689,7 +716,7 @@ if (!empty($EmpDetails)) {
|
||||
<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"
|
||||
@ -704,7 +731,7 @@ if (!empty($EmpDetails)) {
|
||||
</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 $empPay->Basic_Pay; ?>"
|
||||
@ -717,7 +744,7 @@ if (!empty($EmpDetails)) {
|
||||
</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"
|
||||
@ -732,7 +759,7 @@ if (!empty($EmpDetails)) {
|
||||
</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"
|
||||
@ -748,13 +775,15 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-1"></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>
|
||||
<label>ESI Number</label>
|
||||
<input type="text" id="esino" name="esino" maxlength="10"
|
||||
onchange="validateESI();" class="form-control"
|
||||
title=" 10 digit number" value="<?php echo $esino; ?>"
|
||||
@ -763,7 +792,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
<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="<?php echo $empPay->ESI_Rate; ?>"
|
||||
@ -778,7 +807,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<span>UAN</span>
|
||||
<label>UAN</label>
|
||||
<input type="text" id="pfno" name="pfno" maxlength="22"
|
||||
value="<?php echo $pfno; ?>" onchange="validatePF();"
|
||||
class="form-control" style="text-transform:uppercase"
|
||||
@ -786,10 +815,9 @@ if (!empty($EmpDetails)) {
|
||||
onkeypress="return alpha(event);">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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="<?php echo $empPay->PF_Rate; ?>"
|
||||
@ -805,15 +833,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-11">
|
||||
<div class="row">
|
||||
<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="<?= $esi_applicable; ?>" <?php echo $esi_applicable == '1' ? 'checked' : ''; ?>
|
||||
@ -825,9 +853,9 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
<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="<?= $pf_applicable; ?>" <?php echo $pf_applicable == '1' ? 'checked' : ''; ?>
|
||||
@ -861,14 +889,14 @@ if (!empty($EmpDetails)) {
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<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
|
||||
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>
|
||||
<label>PAN Number</label>
|
||||
<input type="text" id="panno" style="text-transform: uppercase"
|
||||
maxlength="10" name="panno" placeholder="PAN Number"
|
||||
onchange="validatePAN();" class="form-control"
|
||||
@ -878,7 +906,7 @@ if (!empty($EmpDetails)) {
|
||||
title=" 5 character,4 Digit Numbers,1 character (ex:ABCDE1234A) ">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<span>Passport Number</span>
|
||||
<label>Passport Number</label>
|
||||
<input type="text" id="passportno" name="passportno"
|
||||
maxlength="9" placeholder="Passport Number"
|
||||
onkeypress="return alpha(event);"
|
||||
@ -890,7 +918,7 @@ if (!empty($EmpDetails)) {
|
||||
style="text-transform: uppercase">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<span>Passport Expiry Date</span>
|
||||
<label>Passport Expiry Date</label>
|
||||
<input id="ValidTill" name="ValidTill" maxlength="10"
|
||||
placeholder="Passport Expiry Date" class="form-control"
|
||||
value="<?php echo $DOPassport; ?>">
|
||||
@ -905,14 +933,14 @@ if (!empty($EmpDetails)) {
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<span>Voter ID</span>
|
||||
<label>Voter ID</label>
|
||||
<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>
|
||||
<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();"
|
||||
@ -925,7 +953,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<span>Driving License Expiry Date</span>
|
||||
<label>Driving License Expiry Date</label>
|
||||
<input id="LicenseExpiryDate" name="LicenseExpiryDate"
|
||||
value="<?php echo $LicenseValidtill; ?>"
|
||||
onkeypress="return false;" class="form-control"
|
||||
@ -933,7 +961,7 @@ if (!empty($EmpDetails)) {
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<span>Nominee reference</span>
|
||||
<label>Nominee reference</label>
|
||||
<input type="text" id="nomineename" name="nomineename"
|
||||
maxlength="250" class="form-control"
|
||||
placeholder="Nominee Name" value="<?php echo $nominee; ?>">
|
||||
@ -965,21 +993,19 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
<?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) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<span>File Name</span>
|
||||
|
||||
<label>File Name</label>
|
||||
<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']; ?>"
|
||||
@ -988,11 +1014,18 @@ if (!empty($EmpDetails)) {
|
||||
style="font-size: 25px;"></i>
|
||||
</a>
|
||||
</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"
|
||||
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>
|
||||
|
||||
<?php }
|
||||
@ -1040,6 +1073,7 @@ if (!empty($EmpDetails)) {
|
||||
</div> <!-- end card-->
|
||||
</div> <!-- end col -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
@ -1047,7 +1081,7 @@ if (!empty($EmpDetails)) {
|
||||
if (input.files && input.files[0]) {
|
||||
var reader = new FileReader();
|
||||
|
||||
reader.onload = function (e) {
|
||||
reader.onload = function(e) {
|
||||
$('#profilepicture')
|
||||
.attr('src', e.target.result)
|
||||
.width(166)
|
||||
@ -1059,8 +1093,8 @@ if (!empty($EmpDetails)) {
|
||||
}
|
||||
}
|
||||
|
||||
$(function () {
|
||||
$('#checksame').click(function () {
|
||||
$(function() {
|
||||
$('#checksame').click(function() {
|
||||
if ($('#checksame').prop('checked')) {
|
||||
|
||||
$('#permanentaddress').val($('#currentaddress').val());
|
||||
@ -1399,7 +1433,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
}
|
||||
|
||||
$(function () {
|
||||
$(function() {
|
||||
var d = new Date();
|
||||
|
||||
var month = d.getMonth();
|
||||
@ -1461,7 +1495,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$(document).ready(function() {
|
||||
$("#gender").select2();
|
||||
$("#bloodgroup").select2();
|
||||
$("#MartialStatus").select2();
|
||||
@ -1469,7 +1503,7 @@ if (!empty($EmpDetails)) {
|
||||
$("#departmentname").select2();
|
||||
$("#eduqualifaction").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();
|
||||
});
|
||||
});
|
||||
@ -1550,7 +1584,7 @@ if (!empty($EmpDetails)) {
|
||||
},
|
||||
type: "POST",
|
||||
url: "<?php echo base_url(); ?>deleteEmployeeFile",
|
||||
success: function (data) {
|
||||
success: function(data) {
|
||||
if (data) {
|
||||
alert("File removed");
|
||||
return false;
|
||||
@ -1573,7 +1607,7 @@ if (!empty($EmpDetails)) {
|
||||
}
|
||||
|
||||
|
||||
$("#email").change(function () {
|
||||
$("#email").change(function() {
|
||||
|
||||
var id = $('#email').val();
|
||||
if (validateEmail()) {
|
||||
@ -1584,7 +1618,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
type: "POST",
|
||||
url: "<?php echo base_url(); ?>employeedetails/CheckEmail",
|
||||
success: function (data) {
|
||||
success: function(data) {
|
||||
if (data) {
|
||||
alert(data + "" +
|
||||
" 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();
|
||||
if (id != '') {
|
||||
@ -1608,7 +1642,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
type: "POST",
|
||||
url: "<?php echo base_url(); ?>employeedetails/checkPAN",
|
||||
success: function (data) {
|
||||
success: function(data) {
|
||||
if (data) {
|
||||
alert(data + "" +
|
||||
" 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();
|
||||
if (id != '') {
|
||||
@ -1634,7 +1668,7 @@ if (!empty($EmpDetails)) {
|
||||
},
|
||||
type: "POST",
|
||||
url: "<?php echo base_url(); ?>employeedetails/checkAadharNo",
|
||||
success: function (data) {
|
||||
success: function(data) {
|
||||
if (data) {
|
||||
alert(data + "" +
|
||||
" 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();
|
||||
|
||||
@ -1659,7 +1693,7 @@ if (!empty($EmpDetails)) {
|
||||
|
||||
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) {
|
||||
$("#ifsccode").val(obj.IFSC);
|
||||
@ -1672,8 +1706,8 @@ if (!empty($EmpDetails)) {
|
||||
});
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
$('.next').click(function (e) {
|
||||
$(document).ready(function() {
|
||||
$('.next').click(function(e) {
|
||||
e.preventDefault(); // Prevent default action
|
||||
|
||||
var isValid = true;
|
||||
@ -1682,7 +1716,7 @@ if (!empty($EmpDetails)) {
|
||||
var $forms = $('.tab-pane form');
|
||||
|
||||
// Validate all forms before proceeding
|
||||
$forms.each(function (index) {
|
||||
$forms.each(function(index) {
|
||||
var $form = $(this);
|
||||
if (index <= currentIndex) {
|
||||
// Only validate forms up to the current tab
|
||||
@ -1701,24 +1735,24 @@ if (!empty($EmpDetails)) {
|
||||
}
|
||||
});
|
||||
|
||||
if (!isValid) {
|
||||
console.log('Validation failed. Please fill all required fields.');
|
||||
return; // Stop the submission if validation fails
|
||||
}
|
||||
// if (!isValid) {
|
||||
// console.log('Validation failed. Please fill all required fields.');
|
||||
// return; // Stop the submission if validation fails
|
||||
// }
|
||||
|
||||
// Proceed to the next tab
|
||||
var $nextTab = $('.nav-link.active').closest('li').next().find('.nav-link');
|
||||
if ($nextTab.length) {
|
||||
$nextTab.tab('show');
|
||||
}
|
||||
// // Proceed to the next tab
|
||||
// var $nextTab = $('.nav-link.active').closest('li').next().find('.nav-link');
|
||||
// if ($nextTab.length) {
|
||||
// $nextTab.tab('show');
|
||||
// }
|
||||
});
|
||||
|
||||
$('.submit').click(function (e) {
|
||||
$('.submit').click(function(e) {
|
||||
e.preventDefault();
|
||||
var isValid = true;
|
||||
var combinedFormData = new FormData();
|
||||
var formIds = ['#accountForm', '#profileForm', '#bankForm', '#proofForm', '#fileForm']; // Add all your form IDs here
|
||||
formIds.forEach(function (formId) {
|
||||
formIds.forEach(function(formId) {
|
||||
var $form = $(formId);
|
||||
|
||||
if (!$form[0].checkValidity()) {
|
||||
@ -1727,13 +1761,13 @@ if (!empty($EmpDetails)) {
|
||||
return false; // Break the loop if any form is invalid
|
||||
}
|
||||
// Append the form data to FormData
|
||||
$form.serializeArray().forEach(function (field) {
|
||||
$form.serializeArray().forEach(function(field) {
|
||||
combinedFormData.append(field.name, field.value);
|
||||
});
|
||||
// Handle file inputs separately
|
||||
$form.find('input[type="file"]').each(function () {
|
||||
$form.find('input[type="file"]').each(function() {
|
||||
var input = $(this);
|
||||
$.each(input[0].files, function (i, file) {
|
||||
$.each(input[0].files, function(i, file) {
|
||||
combinedFormData.append(input.attr('name'), file);
|
||||
});
|
||||
});
|
||||
@ -1751,7 +1785,7 @@ if (!empty($EmpDetails)) {
|
||||
data: combinedFormData,
|
||||
processData: false, // Prevent jQuery from processing the data
|
||||
contentType: false, // Prevent jQuery from setting the content type
|
||||
success: function (response) {
|
||||
success: function(response) {
|
||||
console.log(response);
|
||||
|
||||
console.log('Form submitted successfully:', response == 'true');
|
||||
@ -1761,7 +1795,7 @@ if (!empty($EmpDetails)) {
|
||||
alert('Employee details Not Update...');
|
||||
}
|
||||
},
|
||||
error: function (error) {
|
||||
error: function(error) {
|
||||
console.log('Form submission failed:', error);
|
||||
}
|
||||
});
|
||||
@ -1782,7 +1816,7 @@ if (!empty($EmpDetails)) {
|
||||
}
|
||||
|
||||
// Handle form submission
|
||||
$('#fileForm').on('submit', function (event) {
|
||||
$('#fileForm').on('submit', function(event) {
|
||||
event.preventDefault(); // Prevent default form submission
|
||||
// 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;
|
||||
|
||||
// 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