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 {
- Payable AT - - 'PayableAT','value' => set_value('PayableAT',$PayableAT),'id'=>'PayableAT', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> +
- Payment Date
- - - "Payment", "id"=>"Before", "value"=>"0", 'checked'=>set_radio('Payment', '0', TRUE))); ?>     - - "Payment", "id"=>"After", "value"=>"1", 'checked'=>set_radio('Payment', '1', FALSE))); ?> - - - +
@@ -492,565 +482,7 @@ body { - - - - - - - - - @@ -1116,22 +548,9 @@ body {
'Item Code'); + - //if(!empty($MaterialList)) - //{ - // foreach ($MaterialList as $SID): - - - // $options[$SID->MaterialCode] = $SID->MaterialCode.' '.' - '.' '.$SID->MaterialName; - - //endforeach; - //} - - //echo form_dropdown('ImportMaterialCode', $options,set_value('ImportMaterialCode'),'id="ImportMaterialCode"' ,'class="form-control"'); - - $options = array("0"=>'Item Code'); - //print_r( $options); + $options = array("0"=>'Item Code'); @@ -1753,7 +1172,8 @@ body { } - ?> + $Rowcount = $index; + ?> - + @@ -1949,26 +1369,7 @@ body {
- +