CHANGE_EMP_CURD
This commit is contained in:
parent
b7d8071271
commit
2a8db81a15
@ -51,7 +51,6 @@ class Employeedetails extends BaseController
|
||||
$this->session = session();
|
||||
helper('form'); //$this->load->library('form_validation');
|
||||
$this->isLoggedIn();
|
||||
|
||||
}
|
||||
/**
|
||||
* This function is used to load the Employee details
|
||||
@ -202,20 +201,24 @@ class Employeedetails extends BaseController
|
||||
|
||||
function AddNewEmployee()
|
||||
{
|
||||
|
||||
// print_r($this->request->getPost());die;
|
||||
|
||||
$photo = $this->request->getFile('photo');
|
||||
$Picture = "";
|
||||
if(isset($photoan)){
|
||||
if ($photo->isValid() && !$photo->hasMoved()) {
|
||||
$uploadDir = ROOTPATH . 'public/uploads/images/';
|
||||
$allowedTypes = ['jpg', 'jpeg', 'png', 'gif'];
|
||||
if (in_array($photo->getExtension(), $allowedTypes)) {
|
||||
$newName = $photo->getRandomName();
|
||||
if(!is_dir($uploadDir)) { mkdir($uploadDir, 0777, true); }
|
||||
if (!is_dir($uploadDir)) {
|
||||
mkdir($uploadDir, 0777, true);
|
||||
}
|
||||
$photo->move($uploadDir, $newName);
|
||||
$Picture = $newName;
|
||||
}
|
||||
}
|
||||
}
|
||||
// $Profile = $this->request->getPost('photo');
|
||||
$FirstName = $this->request->getPost('FirstName');
|
||||
$FatherName = $this->request->getPost('FatherName');
|
||||
@ -290,22 +293,49 @@ class Employeedetails extends BaseController
|
||||
|
||||
//echo $DOB;
|
||||
$Employee = array(
|
||||
'FirstName' => $FirstName, 'FatherName' => $FatherName,
|
||||
'Gender' => $Gender, 'DateofBirth' => $DOB, 'ContactNumber' => $ContactNumber, 'EmailId' => $EmailId,
|
||||
'BloodGroup' => $BloodGroup, 'MartialStatus' => $MartialStatus, 'DateofJoining' => $DOJ,
|
||||
'PreviousYearsOfExp' => $Previousexperience, 'Designation' => $desigination,
|
||||
'Departmentcode' => $departmentCode, 'PresentAddress' => $CurrentAddress,
|
||||
'PermanentAddress' => $permanentaddress, 'EmergencyContactName' => $emergencycontactname,
|
||||
'EmergencyContactNumber' => $emergencycontactnumber, 'Edu_Qualification' => $eduqualifaction,
|
||||
'Additional_Qualification' => $addqualification, 'AadharNo' => $aadharno, 'PANNo' => $panno,
|
||||
'BankAccountNo' => $accountno, 'IFSCCode' => $ifsccode, 'BankBranchName' => $bankbranchname,
|
||||
'BankAddress' => $bankaddress, 'PassportNo' => $passportno, 'Passport_Valid_till' => $Valid,
|
||||
'IsActive' => $IsActive, 'ProfilePic' => $Picture, 'Reference_Name' => $referredby,
|
||||
'Reference_ContactNumber' => $referrercontno, 'Remarks' => $addinfo, 'CreatedBy' => $createdby,
|
||||
'personalEmailId' => $comEmailId, 'DriverLicense' => $driverlicense,
|
||||
'LicenseValidtill' => $License_ExpiryDate, 'VoterID' => $VoterID, 'PFNO' => $PFno, 'ESI' => $ESIno,
|
||||
'NomineeDetails' => $Nominee , 'is_management_team' => $is_management_team , 'esi_applicable'=>$esi_applicable,
|
||||
'pf_applicable'=>$pf_applicable,'work_location'=>$work_location
|
||||
'FirstName' => $FirstName,
|
||||
'FatherName' => $FatherName,
|
||||
'Gender' => $Gender,
|
||||
'DateofBirth' => $DOB,
|
||||
'ContactNumber' => $ContactNumber,
|
||||
'EmailId' => $EmailId,
|
||||
'BloodGroup' => $BloodGroup,
|
||||
'MartialStatus' => $MartialStatus,
|
||||
'DateofJoining' => $DOJ,
|
||||
'PreviousYearsOfExp' => $Previousexperience,
|
||||
'Designation' => $desigination,
|
||||
'Departmentcode' => $departmentCode,
|
||||
'PresentAddress' => $CurrentAddress,
|
||||
'PermanentAddress' => $permanentaddress,
|
||||
'EmergencyContactName' => $emergencycontactname,
|
||||
'EmergencyContactNumber' => $emergencycontactnumber,
|
||||
'Edu_Qualification' => $eduqualifaction,
|
||||
'Additional_Qualification' => $addqualification,
|
||||
'AadharNo' => $aadharno,
|
||||
'PANNo' => $panno,
|
||||
'BankAccountNo' => $accountno,
|
||||
'IFSCCode' => $ifsccode,
|
||||
'BankBranchName' => $bankbranchname,
|
||||
'BankAddress' => $bankaddress,
|
||||
'PassportNo' => $passportno,
|
||||
'Passport_Valid_till' => $Valid,
|
||||
'IsActive' => $IsActive,
|
||||
'ProfilePic' => $Picture,
|
||||
'Reference_Name' => $referredby,
|
||||
'Reference_ContactNumber' => $referrercontno,
|
||||
'Remarks' => $addinfo,
|
||||
'CreatedBy' => $createdby,
|
||||
'personalEmailId' => $comEmailId,
|
||||
'DriverLicense' => $driverlicense,
|
||||
'LicenseValidtill' => $License_ExpiryDate,
|
||||
'VoterID' => $VoterID,
|
||||
'PFNO' => $PFno,
|
||||
'ESI' => $ESIno,
|
||||
'NomineeDetails' => $Nominee,
|
||||
'is_management_team' => $is_management_team,
|
||||
'esi_applicable' => $esi_applicable,
|
||||
'pf_applicable' => $pf_applicable,
|
||||
'work_location' => $work_location
|
||||
);
|
||||
|
||||
//print_r($Employee);die();
|
||||
@ -316,8 +346,7 @@ class Employeedetails extends BaseController
|
||||
// Get the uploaded files
|
||||
$files = $this->request->getFiles();
|
||||
$fileNames = $this->request->getPost('file_name'); // Get user-entered file names
|
||||
if(isset($files['emp_file']))
|
||||
{
|
||||
if (isset($files['emp_file'])) {
|
||||
foreach ($files['emp_file'] as $index => $file) {
|
||||
if ($file->isValid() && !$file->hasMoved()) {
|
||||
// Move the file to the desired directory
|
||||
@ -353,20 +382,23 @@ class Employeedetails extends BaseController
|
||||
|
||||
// $this->session->set_flashdata('Success', 'New Employee created successfully!');
|
||||
$this->session->setFlashdata('success', 'New Employee created successfully!');
|
||||
return json_encode('true');
|
||||
// echo "<script>alert('New Employee Created successfully!');</script>";
|
||||
} else {
|
||||
|
||||
// $this->session->set_flashdata('Error', 'New Employee details not saved');
|
||||
$this->session->setFlashdata('error', 'Record Not Saved!');
|
||||
return json_encode('false');
|
||||
// echo "<script>alert('Record Not Saved!');</script>";
|
||||
// redirect('employeeListing', 'refresh');
|
||||
}
|
||||
return redirect()->route('employeeListing');
|
||||
// return redirect()->route('employeeListing');
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
function deleteEmployeeFile(){
|
||||
function deleteEmployeeFile()
|
||||
{
|
||||
$id = $this->request->getPost('id');
|
||||
$update = $this->empFiles->set(['is_active' => 0])->where('id', $id)->update();
|
||||
if ($update) {
|
||||
@ -379,8 +411,6 @@ class Employeedetails extends BaseController
|
||||
* This function is used to load the add new Employee form with dropdown values */
|
||||
function addemployee()
|
||||
{
|
||||
|
||||
|
||||
$GenderConfigID = 'C013';
|
||||
$MartialConfigID = 'C012';
|
||||
$QualificationConfigID = 'C014';
|
||||
@ -405,7 +435,8 @@ class Employeedetails extends BaseController
|
||||
// {
|
||||
|
||||
|
||||
$this->loadViews("addEmployee", $this->global, $data, NULL);
|
||||
// $this->loadViews("addEmployee", $this->global, $data, NULL);
|
||||
$this->loadViews("addEmployeenew", $this->global, $data, NULL);
|
||||
|
||||
|
||||
// }
|
||||
@ -449,7 +480,6 @@ class Employeedetails extends BaseController
|
||||
$query = $this->employeedetails_model->checkAadharExists($id);
|
||||
$response = ($query !== null && !empty($query)) ? $query[0]['AadharNo'] : null;
|
||||
return $this->response->setJSON($response);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -503,7 +533,9 @@ class Employeedetails extends BaseController
|
||||
if (in_array($photo->getExtension(), $allowedTypes)) {
|
||||
// Generate unique file name
|
||||
$newName = $photo->getRandomName();
|
||||
if(!is_dir($uploadDir)) { mkdir($uploadDir, 0777, true); }
|
||||
if (!is_dir($uploadDir)) {
|
||||
mkdir($uploadDir, 0777, true);
|
||||
}
|
||||
// Move the uploaded file to the upload directory
|
||||
$photo->move($uploadDir, $newName);
|
||||
|
||||
@ -549,7 +581,7 @@ class Employeedetails extends BaseController
|
||||
|
||||
$this->global['pageTitle'] = 'View Employee';
|
||||
|
||||
$this->loadViews("editEmployee", $this->global, $data, NULL);
|
||||
$this->loadViews("editEmployeenew", $this->global, $data, NULL);
|
||||
}
|
||||
/* To Check the email exists in the database or not for the employee*/
|
||||
function checkMailEmp()
|
||||
@ -571,7 +603,8 @@ class Employeedetails extends BaseController
|
||||
/* To Update the employee details*/
|
||||
function UpdateEmployee()
|
||||
{
|
||||
|
||||
// echo "<pre>";
|
||||
// print_r($this->request->getPost());die;
|
||||
$EmpId = $this->request->getPost('employeeid');
|
||||
|
||||
//$mail = $this->this->.post('emailid');
|
||||
@ -619,7 +652,9 @@ class Employeedetails extends BaseController
|
||||
$allowedTypes = ['jpg', 'jpeg', 'png', 'gif'];
|
||||
if (in_array($photo->getExtension(), $allowedTypes)) {
|
||||
$newName = $photo->getRandomName();
|
||||
if(!is_dir($uploadDir)) { mkdir($uploadDir, 0777, true); }
|
||||
if (!is_dir($uploadDir)) {
|
||||
mkdir($uploadDir, 0777, true);
|
||||
}
|
||||
$photo->move($uploadDir, $newName);
|
||||
$Picture = $newName;
|
||||
}
|
||||
@ -628,17 +663,21 @@ class Employeedetails extends BaseController
|
||||
} else {
|
||||
//echo 'Not Exists';
|
||||
$photo = $this->request->getFile('photo');
|
||||
if(isset($photo)){
|
||||
if ($photo->isValid() && !$photo->hasMoved()) {
|
||||
$uploadDir = ROOTPATH . 'public/uploads/images/';
|
||||
$allowedTypes = ['jpg', 'jpeg', 'png', 'gif'];
|
||||
if (in_array($photo->getExtension(), $allowedTypes)) {
|
||||
$newName = $photo->getRandomName();
|
||||
if(!is_dir($uploadDir)) { mkdir($uploadDir, 0777, true); }
|
||||
if (!is_dir($uploadDir)) {
|
||||
mkdir($uploadDir, 0777, true);
|
||||
}
|
||||
$photo->move($uploadDir, $newName);
|
||||
$Picture = $newName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//echo $Picture;
|
||||
|
||||
$FirstName = $this->request->getPost('FirstName');
|
||||
@ -720,23 +759,52 @@ class Employeedetails extends BaseController
|
||||
$License_ExpiryDate = null;
|
||||
}
|
||||
|
||||
//echo $DOB;
|
||||
// echo $DOB;die;
|
||||
$Employee = array(
|
||||
'FirstName' => $FirstName, 'LastName' => $LastName, 'FatherName' => $FatherName, 'Gender' => $Gender,
|
||||
'DateofBirth' => $DOB, 'ContactNumber' => $ContactNumber, 'EmailId' => $EmailId,
|
||||
'BloodGroup' => $BloodGroup, 'MartialStatus' => $MartialStatus, 'DateofJoining' => $DOJ,
|
||||
'PreviousYearsOfExp' => $Previousexperience, 'Designation' => $desigination,
|
||||
'Departmentcode' => $departmentCode, 'PresentAddress' => $CurrentAddress,
|
||||
'PermanentAddress' => $permanentaddress, 'EmergencyContactName' => $emergencycontactname,
|
||||
'EmergencyContactNumber' => $emergencycontactnumber, 'Edu_Qualification' => $eduqualifaction,
|
||||
'Additional_Qualification' => $addqualification, 'AadharNo' => $aadharno, 'PANNo' => $panno,
|
||||
'BankAccountNo' => $accountno, 'IFSCCode' => $ifsccode, 'BankBranchName' => $bankbranchname,
|
||||
'BankAddress' => $bankaddress, 'PassportNo' => $passportno, 'Passport_Valid_till' => $Valid,
|
||||
'IsActive' => $IsActive, 'ProfilePic' => $Picture, 'Reference_Name' => $referredby,
|
||||
'Reference_ContactNumber' => $referrercontno, 'Remarks' => $addinfo, 'UpdatedBY' => $UpdatedBY,
|
||||
'personalEmailId' => $comEmailId, 'DriverLicense' => $driverlicense, 'LicenseValidtill' => $License_ExpiryDate,
|
||||
'VoterID' => $VoterID, 'PFNO' => $pfno, 'ESI' => $esino, 'NomineeDetails' => $Nominee,'is_management_team' => $is_management_team ,
|
||||
'esi_applicable'=>$esi_applicable,'pf_applicable'=>$pf_applicable,'work_location'=>$work_location
|
||||
'FirstName' => $FirstName,
|
||||
'LastName' => $LastName,
|
||||
'FatherName' => $FatherName,
|
||||
'Gender' => $Gender,
|
||||
'DateofBirth' => $DOB,
|
||||
'ContactNumber' => $ContactNumber,
|
||||
'EmailId' => $EmailId,
|
||||
'BloodGroup' => $BloodGroup,
|
||||
'MartialStatus' => $MartialStatus,
|
||||
'DateofJoining' => $DOJ,
|
||||
'PreviousYearsOfExp' => $Previousexperience,
|
||||
'Designation' => $desigination,
|
||||
'Departmentcode' => $departmentCode,
|
||||
'PresentAddress' => $CurrentAddress,
|
||||
'PermanentAddress' => $permanentaddress,
|
||||
'EmergencyContactName' => $emergencycontactname,
|
||||
'EmergencyContactNumber' => $emergencycontactnumber,
|
||||
'Edu_Qualification' => $eduqualifaction,
|
||||
'Additional_Qualification' => $addqualification,
|
||||
'AadharNo' => $aadharno,
|
||||
'PANNo' => $panno,
|
||||
'BankAccountNo' => $accountno,
|
||||
'IFSCCode' => $ifsccode,
|
||||
'BankBranchName' => $bankbranchname,
|
||||
'BankAddress' => $bankaddress,
|
||||
'PassportNo' => $passportno,
|
||||
'Passport_Valid_till' => $Valid,
|
||||
'IsActive' => $IsActive,
|
||||
'ProfilePic' => $Picture,
|
||||
'Reference_Name' => $referredby,
|
||||
'Reference_ContactNumber' => $referrercontno,
|
||||
'Remarks' => $addinfo,
|
||||
'UpdatedBY' => $UpdatedBY,
|
||||
'personalEmailId' => $comEmailId,
|
||||
'DriverLicense' => $driverlicense,
|
||||
'LicenseValidtill' => $License_ExpiryDate,
|
||||
'VoterID' => $VoterID,
|
||||
'PFNO' => $pfno,
|
||||
'ESI' => $esino,
|
||||
'NomineeDetails' => $Nominee,
|
||||
'is_management_team' => $is_management_team,
|
||||
'esi_applicable' => $esi_applicable,
|
||||
'pf_applicable' => $pf_applicable,
|
||||
'work_location' => $work_location
|
||||
);
|
||||
//print_r($Employee);die();
|
||||
$result = $this->employeedetails_model->UpdateEmployee($Employee, $EmpId);
|
||||
@ -744,8 +812,7 @@ class Employeedetails extends BaseController
|
||||
// Get the uploaded files
|
||||
$files = $this->request->getFiles();
|
||||
$fileNames = $this->request->getPost('file_name'); // Get user-entered file names
|
||||
if(isset($files['emp_file']))
|
||||
{
|
||||
if (isset($files['emp_file'])) {
|
||||
foreach ($files['emp_file'] as $index => $file) {
|
||||
if ($file->isValid() && !$file->hasMoved()) {
|
||||
// Move the file to the desired directory
|
||||
@ -780,16 +847,16 @@ class Employeedetails extends BaseController
|
||||
|
||||
if ($result + $empPayUpdate > 0) {
|
||||
$this->session->setFlashdata('success', 'You Have Successfully updated the Employee Record!');
|
||||
return json_encode(true);
|
||||
} else {
|
||||
$this->session->setFlashdata('error', 'Record Not Updated!');
|
||||
return json_encode(false);
|
||||
}
|
||||
return redirect()->route('employeeListing');
|
||||
|
||||
// return redirect()->route('employeeListing');
|
||||
}
|
||||
|
||||
function exportemployee()
|
||||
{
|
||||
|
||||
$exportData = $this->employeedetails_model->export_excel();
|
||||
|
||||
$file_name = 'Employee_Details' . ' ' . '.xls'; //save our workbook as this file name
|
||||
@ -849,10 +916,12 @@ class Employeedetails extends BaseController
|
||||
}
|
||||
|
||||
if ($exportData) {
|
||||
$i = 6;$s = 1;
|
||||
$i = 6;
|
||||
$s = 1;
|
||||
foreach ($exportData as $data) {
|
||||
$rowData = [
|
||||
'A'. $i,$data['EmpID'],
|
||||
'A' . $i,
|
||||
$data['EmpID'],
|
||||
'B' . $i => $data['FirstName'] . '-' . $data['LastName'],
|
||||
'C' . $i => $data['FatherName'],
|
||||
'D' . $i => $data['Gender'],
|
||||
@ -900,7 +969,6 @@ class Employeedetails extends BaseController
|
||||
$i++;
|
||||
$s++;
|
||||
}
|
||||
|
||||
}
|
||||
// $writer = new Xlsx($spreadsheet);
|
||||
// $writer->save($file_name);
|
||||
@ -928,6 +996,4 @@ class Employeedetails extends BaseController
|
||||
$writer->save('php://output');
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
1420
app/Views/addEmployeenew.php
Normal file
1420
app/Views/addEmployeenew.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -814,12 +814,14 @@ legend {
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6 pad"><span>Personal Email ID</span>
|
||||
<div class="col-md-6 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-6 pad"> <span>Official Email ID</span>
|
||||
<div class="col-md-6 pad">
|
||||
<span>Official Email ID</span>
|
||||
<input type="email" name="comemailid" id="mail"
|
||||
placeholder="Official Email ID"
|
||||
value="<?php echo $personalEmailId;?>" maxlength="100"
|
||||
@ -887,7 +889,8 @@ legend {
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-12 pad">
|
||||
<div class="col-md-12"><span>Current Address</span><span
|
||||
<div class="col-md-12">
|
||||
<span>Current Address</span><span
|
||||
class="badge">*</span>
|
||||
<input type="text" id="currentaddress" pattern=".{1,500}"
|
||||
required name="currentaddress" maxlength="500"
|
||||
@ -908,7 +911,8 @@ legend {
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-12 pad">
|
||||
<div class="col-md-12"><span>Permanent Address</span><span
|
||||
<div class="col-md-12">
|
||||
<span>Permanent Address</span><span
|
||||
class="badge">*</span>
|
||||
<input type="text" id="permanentaddress" required
|
||||
name="permanentaddress" pattern=".{0,500}"
|
||||
@ -927,13 +931,15 @@ legend {
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-12 pad">
|
||||
<div class="col-md-6"><span>Emergency Contact Name</span>
|
||||
<div class="col-md-6">
|
||||
<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-6"><span>Emergency Contact Number</span>
|
||||
<div class="col-md-6">
|
||||
<span>Emergency Contact Number</span>
|
||||
<input type="text" id="emergencycontactnumber"
|
||||
name="emergencycontactnumber"
|
||||
onchange="getValidEmergencyNumber();" maxlength="10"
|
||||
@ -953,7 +959,8 @@ legend {
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-12 pad">
|
||||
<div class="col-md-3"><span>Designation</span><span
|
||||
<div class="col-md-3">
|
||||
<span>Designation</span><span
|
||||
class="badge">*</span>
|
||||
<select type="text" id="desigination" name="desigination"
|
||||
required class="form-control select2">
|
||||
@ -975,7 +982,8 @@ legend {
|
||||
</select>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3"><span>Department</span><span
|
||||
<div class="col-md-3">
|
||||
<span>Department</span><span
|
||||
class="badge">*</span>
|
||||
<select type="text" id="departmentname" name="departmentname"
|
||||
required class="form-control select2">
|
||||
@ -999,7 +1007,8 @@ legend {
|
||||
</select>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3"><span>Date Of Joining</span><span
|
||||
<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
|
||||
@ -1051,7 +1060,8 @@ legend {
|
||||
placeholder="Referred By" 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">
|
||||
<span>Referrer Contact Number</span>
|
||||
<input type="text" id="referrercontno" name="referrercontno"
|
||||
value="<?php echo $Reference_ContactNumber ; ?>"
|
||||
onchange="getValidReferNumber();" maxlength="10"
|
||||
@ -1384,16 +1394,6 @@ legend {
|
||||
|
||||
<div class="files">
|
||||
|
||||
<div class="col-md-12 ">
|
||||
<div class="col-md-10"></div>
|
||||
<div class="col-md-2">
|
||||
<button type="button" class="btn btn-primary btn-sm a1"
|
||||
onclick="appendFilesFileds()" id="day">
|
||||
Add New File
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php foreach ($emp_data as $key => $value) { ?>
|
||||
|
||||
<div class="col-md-12 pad ">
|
||||
@ -1414,6 +1414,7 @@ legend {
|
||||
id="<?= $value['id']; ?>"
|
||||
onclick="removeContact(this)">Delete</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
@ -1526,8 +1527,8 @@ function appendFilesFileds(data) {
|
||||
</div>`;
|
||||
|
||||
$('#filesContainer').append(newRowHtml);
|
||||
$('.a1').hide();
|
||||
$('#filesContainer .pad:last .a1').show();
|
||||
// $('.a1').hide();
|
||||
// $('#filesContainer .pad:last .a1').show();
|
||||
}
|
||||
|
||||
function removeContact(button) {
|
||||
|
||||
1693
app/Views/editEmployeenew.php
Normal file
1693
app/Views/editEmployeenew.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -135,6 +135,13 @@
|
||||
<script src="<?php echo base_url(); ?>public/new_assets/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
|
||||
|
||||
|
||||
<!-- -->
|
||||
<!-- Plugins js-->
|
||||
<script src="<?php echo base_url(); ?>public/new_assets/libs/twitter-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
|
||||
|
||||
<!-- Init js-->
|
||||
<script src="<?php echo base_url(); ?>public/new_assets/js/pages/form-wizard.init.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user