From 9e61828308d870e79883315f33d18e7693b3859c Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Sat, 19 Aug 2017 17:14:51 +0530 Subject: [PATCH] while creating emergency po comments instruction changes done --- application/controllers/emergencypurchaseorder.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/application/controllers/emergencypurchaseorder.php b/application/controllers/emergencypurchaseorder.php index da10d9ec..a7ea26d1 100755 --- a/application/controllers/emergencypurchaseorder.php +++ b/application/controllers/emergencypurchaseorder.php @@ -110,6 +110,7 @@ class emergencypurchaseorder extends BaseController $POType = $this->input->post('POType'); $SpcialInstruction = $this->input->post('ScopeOfWork'); + $RequistionComments = "Created Emergency Service PO"; $TotalOrderValueSummary = $this->input->post('TextTotalOrderValueSummaryService'); $POStatus = $this->input->post('TextStatus'); @@ -137,7 +138,7 @@ class emergencypurchaseorder extends BaseController $ServiceServiceNo = $this->input->post('ServiceNo'); //create T_Requestion_Master - $Request = array('ReqType'=>$POType, 'Requestedby'=>$RequestedBy,'CostCenterCode'=>$CostCenterName,'Status'=>$ReqStatus,'Comments'=>$SpcialInstruction,'ReqDate'=>$createddt,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy,'Schedule_Type'=>$ServiceScheduleType,'NumberOfService'=>$ServiceServiceNo,'Service_Period'=>$ServiceScheduleOptions); + $Request = array('ReqType'=>$POType, 'Requestedby'=>$RequestedBy,'CostCenterCode'=>$CostCenterName,'Status'=>$ReqStatus,'Comments'=>$RequistionComments,'ReqDate'=>$createddt,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy,'Schedule_Type'=>$ServiceScheduleType,'NumberOfService'=>$ServiceServiceNo,'Service_Period'=>$ServiceScheduleOptions); $Req = $this->requistion_model->addRequistion($Request); @@ -273,6 +274,7 @@ class emergencypurchaseorder extends BaseController $PoRange = $this->input->post('txtPoRange'); $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $RequistionComments = "Created Emergency Revenue PO"; $TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary'); $POStatus = $this->input->post('TextStatus'); @@ -292,7 +294,7 @@ class emergencypurchaseorder extends BaseController //add requistion - $Request = array('ReqType'=>$POType, 'Requestedby'=>$RequestedBy,'CostCenterCode'=>$CostCenterName,'Status'=>$ReqStatus,'Comments'=>$SpcialInstruction,'ReqDate'=>$createddt,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy); + $Request = array('ReqType'=>$POType, 'Requestedby'=>$RequestedBy,'CostCenterCode'=>$CostCenterName,'Status'=>$ReqStatus,'Comments'=>$RequistionComments,'ReqDate'=>$createddt,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy); $Req = $this->requistion_model->addRequistion($Request);