diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index af7e93a9..15f7ebdd 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -386,8 +386,16 @@ class purchaseorder extends BaseController { $unicode=$Detail->FontCode2000; } + + + foreach ($data['CurrencyDetail'] as $Detail) + { + $currencycode=$Detail->Currency_Code; + } + //print_r($unicode); $data['unicode']=$unicode; + $data['currencycode']=$currencycode; $this->global['pageTitle'] = 'Siddharth : Edit Import Purchase order form'; $this->loadViews("editimportpo", $this->global, $data, NULL); } diff --git a/application/views/editimportpo.php b/application/views/editimportpo.php index 26caab0f..bc9802eb 100755 --- a/application/views/editimportpo.php +++ b/application/views/editimportpo.php @@ -9,6 +9,8 @@ $EXCRATE=0; //echo $unicode; $Value=$unicode; //echo $Value; +$Currencycode=$currencycode; +//echo $Currencycode; foreach ($CurrencyDetail as $Detail) @@ -418,7 +420,7 @@ if(!empty($RequistionDetails))