Employee screen issue fixed

This commit is contained in:
gandhimathi Bharathirajan 2017-07-24 21:36:00 +05:30
parent db07152e2a
commit fcf29a9663

View File

@ -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->