file
This commit is contained in:
parent
05724afe1e
commit
641877ce7a
@ -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');
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user