emp module dev 24/10 changes 1 -vadivel J
This commit is contained in:
parent
2e1abe5f96
commit
a9d0f350e8
@ -198,6 +198,40 @@ class Employeedetails extends BaseController
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
/**
|
||||
* This function is used to save the new Employee form in the database
|
||||
*/
|
||||
|
||||
|
||||
function AddNewEmployee()
|
||||
{
|
||||
@ -365,16 +399,15 @@ class Employeedetails extends BaseController
|
||||
$this->empFiles->save([
|
||||
'file_name' => $fileNames[$index], // User-entered file name
|
||||
'emp_file' => $newName, // New file name
|
||||
'emp_id' => $result,
|
||||
'emp_id' => $result['EmpID'],
|
||||
'path' => $path
|
||||
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$EmpID = $result;
|
||||
$EmpID = $result['EmpID'];
|
||||
$Total_Salary = $this->request->getPost('Total_salary');
|
||||
$Basic_Pay = $this->request->getPost('Basic_Pay');
|
||||
$HRA_Rate = $this->request->getPost('HRA_Rate');
|
||||
@ -627,13 +660,46 @@ class Employeedetails extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
/* To Update the employee details*/
|
||||
|
||||
|
||||
function UpdateEmployee()
|
||||
{
|
||||
|
||||
$EmpId = $this->request->getPost('employeeid');
|
||||
$EmpId = $this->request->getGet('empId');
|
||||
|
||||
$EmpId = $this->request->getPost('employeeid');
|
||||
$PictureName = $this->request->getPost('Image');
|
||||
$ModifyPictureName = $this->request->getPost('ModifyImage');
|
||||
$Picture = "";
|
||||
@ -853,9 +919,8 @@ class Employeedetails extends BaseController
|
||||
$this->empFiles->save([
|
||||
'file_name' => $fileNames[$index], // User-entered file name
|
||||
'emp_file' => $newName, // New file name
|
||||
'emp_id' => $result,
|
||||
'emp_id' => $EmpId,
|
||||
'path' => $path
|
||||
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,4 +21,3 @@ class EmpFilesModel extends Model
|
||||
];
|
||||
|
||||
}
|
||||
?>
|
||||
@ -1003,19 +1003,19 @@
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-3"><label>Aadhar Number</label> <span
|
||||
<div class="col-md-4"><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">
|
||||
<label>File Name</label>
|
||||
<div class="col-md-4">
|
||||
<label>Aadhar File Name</label>
|
||||
<input type="text" id="file_name" name="file_name1" maxlength="255"
|
||||
class="form-control" value="Aadhar">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label>Select Aadhar File</label>
|
||||
<input type="file" name="emp_file1" class="">
|
||||
</div>
|
||||
@ -1027,7 +1027,7 @@
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-3"><label>PAN Number</label>
|
||||
<div class="col-md-4"><label>PAN Number</label>
|
||||
<input type="text" id="panno" maxlength="10"
|
||||
style="text-transform:uppercase" name="panno"
|
||||
onchange="validatePAN();" class="form-control"
|
||||
@ -1036,26 +1036,21 @@
|
||||
onkeypress="return alpha(event);">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label>PAN File Name</label>
|
||||
<input type="text" id="file_name" name="file_name2" maxlength="255"
|
||||
class="form-control" value="PAN">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label>Select PAN File</label>
|
||||
<input type="file" name="emp_file2" class="">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-3"><label>Passport Number</label>
|
||||
<div class="col-md-4"><label>Passport Number</label>
|
||||
<input type="text" id="passportno" maxlength="9"
|
||||
onchange="ValidatePassport();" name="passportno"
|
||||
style="text-transform:uppercase" class="form-control"
|
||||
@ -1063,44 +1058,39 @@
|
||||
The first character cannot be Q, X or Z. (eg:A12 34567)" onkeypress="return alpha(event);">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label>Passport File Name</label>
|
||||
<input type="text" id="file_name" name="file_name3" maxlength="255"
|
||||
class="form-control" value="Passport">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label>Select Passport File</label>
|
||||
<input type="file" name="emp_file3" class="">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4"></div>
|
||||
<div class="col-md-4">
|
||||
<label>Bank PassBok Name</label>
|
||||
<input type="text" id="file_name" name="file_name4" maxlength="255"
|
||||
class="form-control" value="Bank Passbook">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label>Bank PassBok File</label>
|
||||
<input type="file" name="emp_file4" class="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4"></div>
|
||||
<div class="col-md-4">
|
||||
<label>Other Document File Name</label>
|
||||
<input type="text" id="file_name" name="file_name5" maxlength="255"
|
||||
class="form-control" value="Other Document">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label>Other Document File </label>
|
||||
<input type="file" name="emp_file5" class="">
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user