From c3233bbd137f44f845b9a07be3edf05893180ecf Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Mon, 12 Mar 2018 17:03:05 +0530 Subject: [PATCH] submenu issues fixed --- application/controllers/user.php | 10 +- application/views/includes/header.php | 132 +++++++++++++------------- 2 files changed, 68 insertions(+), 74 deletions(-) diff --git a/application/controllers/user.php b/application/controllers/user.php index aa8f0ffc..09d1a953 100755 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -1208,15 +1208,13 @@ function attendanceyear($empID ='') $EmpID = $this->input->post('EmpList'); $role = $this->input->post('role'); $password = $this->input->post('password'); - $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); $updatedDate = $dt->format('Y-m-d H:i:s'); - - // echo $EmpID; + $email = $this->input->post('MailID'); $userInfo = array(); - - - $userInfo = array('password'=>getHashedPassword($password),'roleId'=>$role,'EmpId'=>$EmpID,'updatedDtm'=>$updatedDate); + + $userInfo = array('email'=>$email,'password'=>getHashedPassword($password),'roleId'=>$role,'EmpId'=>$EmpID,'updatedDtm'=>$updatedDate); diff --git a/application/views/includes/header.php b/application/views/includes/header.php index 365ddbf3..6e1d77f3 100644 --- a/application/views/includes/header.php +++ b/application/views/includes/header.php @@ -453,75 +453,71 @@ - - -
  • - - - Requisition - - - - - +
  • + + +