form id update on date field changes , and comments added for the status update: kdk

This commit is contained in:
dineshkumarkannan 2018-09-11 18:40:30 +05:30
parent f2f8b99f7e
commit ca7a777aa3

View File

@ -1171,7 +1171,7 @@ $result['updatedraftStatus'] = false;
// get formid status list for that particular record
// kdk
public function getFormIdDetailsStatusUpdateList($reqBranchData, $searchDetails){
$selectQuery = "SELECT * , concat(t3.Firstname, '', t3.Lastname) as CreatedByName
$selectQuery = "SELECT t1.* , concat(t3.Firstname, '', t3.Lastname) as CreatedByName
FROM T_FormId_FeeDetails_Received_From_University_StatusUpdate as t1
LEFT JOIN T_Login as t2 ON t1.CreatedBy = t2.ID
LEFT JOIN T_StaffDetails as t3 ON t2.StaffID = t3.StaffID
@ -1197,6 +1197,8 @@ $result['updatedraftStatus'] = false;
$newLeadDetails['FormIdDetailsID'] = $id;
$newLeadDetails['FormID'] = $formId;
$newLeadDetails['Status'] = $statusDetails['Status'];
$newLeadDetails['Comments'] = $statusDetails['Comments'];
$time = date('Y-m-d H:i:s');
$newLeadDetails['CreatedOn'] = $time;
$newLeadDetails['CreatedBy'] = $reqBranchData['localUserID'];