diff --git a/application/views/editEmployee.php b/application/views/editEmployee.php index e212f90a..c863defc 100755 --- a/application/views/editEmployee.php +++ b/application/views/editEmployee.php @@ -94,8 +94,14 @@ if(!empty($EmpDetails)) $Remarks = $Emp->Remarks; $personalEmailId = $Emp->personalEmailId; $DriverLicense = $Emp->DriverLicense; - $LicenseValidtill = $Emp->LicenseValidtill; + $VoterID = $Emp->VoterID; + + if($Emp->LicenseValidtill != '') + { + $License = new DateTime($Emp->LicenseValidtill); + $LicenseValidtill = $License ->format('Y-m-d'); + } //$dtLicenseValidtill = new DateTime($LicenseValidtill); //$LicenseValidtill = $dtLicenseValidtill ->format('Y-m-d'); //$LicenseValidtill = $Emp->