import po pdf

This commit is contained in:
venbatechnologies@gmail.com 2017-07-05 19:18:39 +05:30
parent f1bbb7584d
commit b49828eac6
2 changed files with 16 additions and 0 deletions

View File

@ -1037,6 +1037,21 @@ public function importpoprint($PONO)
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO);
foreach ($data['POItem'] as $Reqdby)
{
$Requester=$Reqdby->Requestedby;
}
foreach ($data['POItem'] as $CURTYPE)
{
$Currencycode=$CURTYPE->CurrencyType;
}
$data['Requestername']=$this->purchaseorder_model->GerRequesterName($Requester);
//print_r($data['Requestername']);
$data['Currencytype']=$this->purchaseorder_model->GerCurrencyCodeName($Currencycode);
$this->load->View("importpopdf", $data);
// Add header to pdf

View File

@ -11,6 +11,7 @@
$Podt = '';
$DeliveryDate ='';
$ServiceDescription = '';
$ReqBy='';
$index=0;
if(!empty($CompanyDetails))
{