From fcf29a96632ff0ce15d4d67506f42adf1703bc01 Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Mon, 24 Jul 2017 21:36:00 +0530 Subject: [PATCH] Employee screen issue fixed --- application/views/editEmployee.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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->