diff --git a/application/views/editImportAmendPO.php b/application/views/editImportAmendPO.php index dee7e2e4..d7e35f60 100755 --- a/application/views/editImportAmendPO.php +++ b/application/views/editImportAmendPO.php @@ -3,18 +3,21 @@ $AvlAmount = 0; $ReqType =''; $Value=''; $EXCRATE=0; - +$Rowcount = 0; $Value=$unicode; + $Currencycode=$currencycode; - - +$Cur = ''; +$CurCode= ''; foreach ($CurrencyDetail as $Detail) { $Cur=$Detail->Currency_Code.' '.' - '.' '.$Detail->Country_and_Currency; + $CurCode = $Detail->Currency_Code; + } - + foreach ($PaymentTerms as $TER) { @@ -55,21 +58,21 @@ $DeliveryAddress =''; $PONOStatus=''; $PONO = ''; $ServiceDescription = ''; -$TotalLanding=''; -$tothighseas=''; -$totcustom=''; -$totexciseduty=''; -$totexcisedutyED=''; -$totexciseSH=''; -$totcustomED=''; -$totcustomSH=''; -$totaddtnlexcise=''; -$totgrossduty=''; -$totavlmodvat=''; -$totgrossexpense=''; -$totordervalue=''; -$ExchangeRate=''; -$totorder=''; +$TotalLanding=0.00; +$tothighseas=0.00; +$totcustom=0.00; +$totexciseduty=0.00; +$totexcisedutyED=0.00; +$totexciseSH=0.00; +$totcustomED=0.00; +$totcustomSH=0.00; +$totaddtnlexcise=0.00; +$totgrossduty=0.00; +$totavlmodvat=0.00; +$totgrossexpense=0.00; +$totordervalue=0.00; +$ExchangeRate=0.00; +$totorder=0.00; //$ExchangeRate $ExchangeRateCalculatedon=''; $StatusName=''; @@ -252,7 +255,7 @@ body { $Cur); + $options = array($CurCode=>$Cur); //$options = array("0"=>'Select Currency'); //print_r( $options); @@ -457,25 +460,12 @@ body {