diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php index e1597c0e..9433bc14 100755 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -302,8 +302,6 @@ class purchaseorder extends BaseController $exRate=$Rate->ExchangeRate; // $data[$Rate->ExchangeRate]=$Rate->ExchangeRate; - - } $data['ExchangeRate']=$exRate; diff --git a/application/views/editimportpo.php b/application/views/editimportpo.php index c1c7c8a3..4474d8c1 100755 --- a/application/views/editimportpo.php +++ b/application/views/editimportpo.php @@ -1833,6 +1833,10 @@ $('#drpSupplier').change(function() { }); +$('#currencytype').change(function(){ + $('#ExchangeRate').val(''); +}); + $('#ReqNo').change(function() { diff --git a/application/views/importpo.php b/application/views/importpo.php index 7d01606f..69851c7a 100755 --- a/application/views/importpo.php +++ b/application/views/importpo.php @@ -1589,8 +1589,7 @@ $('#drpSupplier').change(function() { } }); - - } + } else { alert('Please select the SupplierID'); @@ -1600,6 +1599,10 @@ $('#drpSupplier').change(function() { }); +$('#currencytype').change(function(){ + $('#ExchangeRate').val(''); +}); + $('#ReqNo').change(function() { diff --git a/application/views/importpopdf.php b/application/views/importpopdf.php index dabf1fe8..b5635f11 100755 --- a/application/views/importpopdf.php +++ b/application/views/importpopdf.php @@ -10,6 +10,7 @@ $Podt = ''; $DeliveryDate =''; $ServiceDescription = ''; + $index=0; if(!empty($CompanyDetails)) { @@ -45,18 +46,20 @@

IMPORT PURCHASE ORDER

-#PO0001
+PO NO: +
- +

-Siddharth Industries
Survey No: 168/1C3,Pennalur Pet Road,
Goonipalyam village,Uthukottai Taluk,
Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.

+

+

Vendor Address :

- +

Delivery To :

+

-

Vendor Address
DR Enterprices
Uthukottai Taluk,Tiruvallur Dist,
Chennai,Tamilnadu,Pin code : 602026.

-

Delivery To
Siddharth Industries
Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village,
Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.

PO Date :2/5/2017
Delivery Date :10/5/2017
Delivery Date :

+
@@ -108,6 +111,9 @@ $RMCIncludingCustomersPerKG=0; $AfterExciseDutySHCess=0; $TotalOrderValue=0; + $index=0; + + foreach($POItem as $record) { @@ -128,7 +134,9 @@ AfterCustomDuty ; ?> AfterExciseDuty ; ?> AfterExciseDutyEdCess ; ?> +AfterExciseDutySHCess ; ?> AfterCustomEdCess ; ?> +AfterCustomSHCess ; ?> AfterAddlExciseDuty ; ?> Grossdutypayable ; ?> AvailableModvat ; ?> @@ -136,8 +144,6 @@ purchaseratePerKG ; ?> CustomDutyExpensesPerKG ; ?> RMCIncludingCustomersPerKG ; ?> -AfterCustomSHCess ; ?> -AfterExciseDutySHCess ; ?> QuantityKG ; ?> TotalOrderValue; ?>