emergency controller changes
This commit is contained in:
parent
0505148606
commit
874b229c65
@ -450,19 +450,8 @@ function add($pathname)
|
|||||||
{
|
{
|
||||||
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
$LineItemNo = $POLineItem[0]['LineItemNo'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------*/
|
|
||||||
// $logpo =array('PONO'=>$PONO,'Date'=>$PODate,'POType'=>$POType,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'SupplierID'=>$SupplierID,'LineItemNos'=>$LineItemNo);
|
|
||||||
// $this->purchaseorder_model->newlogpo($logpo);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*----------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
if(trim($POType) == SERVICE )
|
if(trim($POType) == SERVICE )
|
||||||
{
|
{
|
||||||
// echo 'Success';
|
|
||||||
|
|
||||||
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'otherallowance'=>$OtherAmt,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt);
|
$ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'CGST'=>$Cgst,'After_CGST'=>$AfterCgst,'SGST'=>$Sgst,'After_SGST'=>$AfterSgst,'IGST'=>$Igst,'After_IGST'=>$AfterIgst,'otherallowance'=>$OtherAmt,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt);
|
||||||
|
|
||||||
@ -492,11 +481,11 @@ function add($pathname)
|
|||||||
|
|
||||||
|
|
||||||
$Picture = $this->add($pathname);
|
$Picture = $this->add($pathname);
|
||||||
//echo $Picture;
|
|
||||||
$arr[] = array($Picture);
|
$arr[] = array($Picture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//print_r($arr);
|
|
||||||
foreach($arr as $ma){
|
foreach($arr as $ma){
|
||||||
|
|
||||||
|
|
||||||
@ -508,17 +497,11 @@ function add($pathname)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$myfile = array('FilePath'=>$filename);
|
$myfile = array('FilePath'=>$filename,'PONO'=>$PONO);
|
||||||
$myfile = array('FilePath'=>$filename,'PONO'=>$PONO);
|
|
||||||
$this->purchaseorder_model->fileupload($myfile);
|
$this->purchaseorder_model->fileupload($myfile);
|
||||||
//addfiledetails($addfilelist);
|
|
||||||
//print_r($myfile);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/**/
|
|
||||||
// $myfile = array('FilePath'=>$file,'PONO'=>$PONO); //'MaterialCode'=>$MaterialCode,
|
|
||||||
// $result= $this->purchaseorder_model->fileupload($myfile);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -553,7 +536,7 @@ $myfile = array('FilePath'=>$filename,'PONO'=>$PONO);
|
|||||||
|
|
||||||
$txtspl=$this->input->post('txtSpecial');
|
$txtspl=$this->input->post('txtSpecial');
|
||||||
|
|
||||||
//echo "Emergency Revenue PO";
|
|
||||||
$POdt =$this->input->post('PODate');
|
$POdt =$this->input->post('PODate');
|
||||||
$PODate = $this->getDateformat($POdt);
|
$PODate = $this->getDateformat($POdt);
|
||||||
$SupplierID = $this->input->post('drpSupplier');
|
$SupplierID = $this->input->post('drpSupplier');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user