import po pdf
This commit is contained in:
parent
f1bbb7584d
commit
b49828eac6
@ -1037,6 +1037,21 @@ public function importpoprint($PONO)
|
|||||||
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
|
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
|
||||||
$data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO);
|
$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);
|
$this->load->View("importpopdf", $data);
|
||||||
|
|
||||||
// Add header to pdf
|
// Add header to pdf
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
$Podt = '';
|
$Podt = '';
|
||||||
$DeliveryDate ='';
|
$DeliveryDate ='';
|
||||||
$ServiceDescription = '';
|
$ServiceDescription = '';
|
||||||
|
$ReqBy='';
|
||||||
$index=0;
|
$index=0;
|
||||||
if(!empty($CompanyDetails))
|
if(!empty($CompanyDetails))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user