diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index 9e4aec72..412ef556 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -1364,9 +1364,9 @@ function addNewImportPurchaseOrder() //echo "dfds"; //die(); - $PONO =$this->input->post('txtPONO'); -$POdt = ''; -$createddt=''; + $PONO =$this->input->post('txtPONO'); + $POdt = ''; + $createddt=''; $PODate = $this->getDateformat($POdt); $SupplierID = $this->input->post('drpSupplier'); @@ -1422,8 +1422,8 @@ $createddt=''; $SpcialInstruction = $this->input->post('txtSpcialInstruction'); //$TotalOrder = $this->input->post('txtToatlOrder'); $TotalOrder = $this->input->post('txttot'); - //echo $TotalOrder; - //die(); + echo $TotalOrder; + die(); $POStatus = $this->input->post('txtStatus'); $CreateBy = $this->session->userdata ( 'userId' ); diff --git a/application/views/Amendedimportpopdf.php b/application/views/Amendedimportpopdf.php index 72591141..3a907364 100644 --- a/application/views/Amendedimportpopdf.php +++ b/application/views/Amendedimportpopdf.php @@ -30,6 +30,7 @@ } $TotalOrderValue1=''; + $PlaceofOrigin=''; if(!empty($POItem)) { @@ -54,6 +55,7 @@ $PaymentTerms = $PO->PaymentTerms; $PaymentDays=$PO->PaymentDays; $PayableAT=$PO->PayableAT; + $PlaceofOrigin=$PO->Import_PlaceofOrgin; } } //echo $SuplierName; @@ -145,7 +147,7 @@