This commit is contained in:
gandhimathi 2018-06-12 09:00:11 +00:00
parent 05724afe1e
commit 641877ce7a

View File

@ -972,7 +972,7 @@ $RequestedBy = $this->input->post('drpDepartment');
// $emergencyitemcode = $this->input->post('emergencyitemcode'.$i);
// ($this->input->post('materialCode'.$i));
}
$counts = $this->input->post('hidecounter');
$constants = $this->input->post('hideconstant');
@ -1019,46 +1019,27 @@ $RequestedBy = $this->input->post('drpDepartment');
}
}
}
//$myfile = array('FilePath'=>$filename);
//$emergencyitemcode = $this->input->post('materialCode'.$i);
$myfile = array('FilePath'=>$filename,'PONO'=>$PONO,'IGRNO'=>$IGRNO);
// print_r($myfile);
$this->purchaseorder_model->fileupload($myfile);
//addfiledetails($addfilelist);
//print_r($myfile);
}
}
// $file =$this->addfile();
// $emergencyitemcode = $this->input->post('materialCode'.$i);
// $myfile = array('FilePath'=>$file,'MaterialCode'=>$emergencyitemcode,'PONO'=>$PONO,'IGRNO'=>$IGRNO);
// $result= $this->purchaseorder_model->fileupload($myfile);
// if($ItemStatus = SPECIAL_PO){
}
}
// }
//if($result > 0)
// {
echo "<script>alert('You Have Successfully created the Purchase order! $PONO');</script>";
redirect('purchaseorder/PurchaseOrderList','refresh');
// }
}