Issue Fixed
This commit is contained in:
parent
a770040186
commit
f0cd878ab6
@ -216,7 +216,7 @@ public function viewmMaterialDistributionList()
|
|||||||
$UPdateby=$this->session->userdata('userId');
|
$UPdateby=$this->session->userdata('userId');
|
||||||
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
|
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
|
||||||
$UPdateon = $date->format('Y-m-d H:i:s');
|
$UPdateon = $date->format('Y-m-d H:i:s');
|
||||||
|
$PONO = $this->input->post('PONO');
|
||||||
//this array to store the updated value in master table..
|
//this array to store the updated value in master table..
|
||||||
$updatemastervalues = array('MRIRStatus'=>$Status,'UpdateBY'=>$UPdateby,'UpdatedOn'=>$UPdateon);
|
$updatemastervalues = array('MRIRStatus'=>$Status,'UpdateBY'=>$UPdateby,'UpdatedOn'=>$UPdateon);
|
||||||
|
|
||||||
@ -260,7 +260,7 @@ public function viewmMaterialDistributionList()
|
|||||||
$updateby=$this->session->userdata('userId');
|
$updateby=$this->session->userdata('userId');
|
||||||
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
|
$date = new DateTime('now',new DateTimeZone('Asia/Kolkata'));
|
||||||
$updateon = $date->format('Y-m-d H:i:s');
|
$updateon = $date->format('Y-m-d H:i:s');
|
||||||
echo strlen($acceptquantity);
|
//echo strlen($acceptquantity);
|
||||||
if(strlen($acceptquantity)<=0)
|
if(strlen($acceptquantity)<=0)
|
||||||
{
|
{
|
||||||
$rejectquantity = $ActualQty;
|
$rejectquantity = $ActualQty;
|
||||||
@ -271,9 +271,13 @@ public function viewmMaterialDistributionList()
|
|||||||
|
|
||||||
$updatedetails = $this->mrir_model->update_mrirdetail($updatedetailvalues,$Lineitm);
|
$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;
|
echo "successfully updated :".$mrir_no;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user