Issue Fixed

This commit is contained in:
gandhimathi Bharathirajan 2017-07-30 04:37:24 +05:30
parent a770040186
commit f0cd878ab6

View File

@ -216,7 +216,7 @@ public function viewmMaterialDistributionList()
$UPdateby=$this->session->userdata('userId');
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
$UPdateon = $date->format('Y-m-d H:i:s');
$PONO = $this->input->post('PONO');
//this array to store the updated value in master table..
$updatemastervalues = array('MRIRStatus'=>$Status,'UpdateBY'=>$UPdateby,'UpdatedOn'=>$UPdateon);
@ -260,7 +260,7 @@ public function viewmMaterialDistributionList()
$updateby=$this->session->userdata('userId');
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
$updateon = $date->format('Y-m-d H:i:s');
echo strlen($acceptquantity);
//echo strlen($acceptquantity);
if(strlen($acceptquantity)<=0)
{
$rejectquantity = $ActualQty;
@ -271,9 +271,13 @@ public function viewmMaterialDistributionList()
$updatedetails = $this->mrir_model->update_mrirdetail($updatedetailvalues,$Lineitm);
$POLineItem = array('Status'=>$strStatus,'UpdateBY'=>$updateby,'UpdatedOn'=>$updateon );
$this->mrir_model->UpdatePOLineItem($POLineItem,$PONO,$MaterialCode);
}
$this->mrir_model->UpdatePOMaster($PONO,$updateby);
echo "successfully updated :".$mrir_no;