From 15282836dc44aff211eea85fc4b65ed67e2db423 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Thu, 30 Nov 2017 10:26:05 +0530 Subject: [PATCH] payment terms change --- application/views/capitalpurchaseorder.php | 19 +++++++++++++++++++ application/views/importpo.php | 18 ++++++++++++++++++ application/views/purchaseorder.php | 17 +++++++++++++++++ application/views/servicePurchaseorder.php | 18 ++++++++++++++++++ 4 files changed, 72 insertions(+) diff --git a/application/views/capitalpurchaseorder.php b/application/views/capitalpurchaseorder.php index 4a3ec994..3ba8686f 100755 --- a/application/views/capitalpurchaseorder.php +++ b/application/views/capitalpurchaseorder.php @@ -2651,6 +2651,25 @@ $('#PoTypeOptions').change(function() }); + + + $.each(Payment,function(idx,obj) + { + if(obj.PaymentID=='PT05') + { + + + + } + + + else + { + $("#PaymentMethod").append( $('').val(obj.PaymentID).html(obj.PaymentTerms)); + } + + }); + } }); diff --git a/application/views/importpo.php b/application/views/importpo.php index e82addd8..525bc7f4 100755 --- a/application/views/importpo.php +++ b/application/views/importpo.php @@ -2156,6 +2156,24 @@ $('#Importoption').change(function() }); + + $.each(Payment,function(idx,obj) + { + if(obj.PaymentID=='PT05') + { + + + + } + + + else + { + $("#PaymentTerms").append( $('').val(obj.PaymentID).html(obj.PaymentTerms)); + } + + }); + } }); diff --git a/application/views/purchaseorder.php b/application/views/purchaseorder.php index 9e5dad50..0b418e7e 100755 --- a/application/views/purchaseorder.php +++ b/application/views/purchaseorder.php @@ -247,6 +247,23 @@ $('#PoTypeOptions').change(function() }); + $.each(Payment,function(idx,obj) + { + if(obj.PaymentID=='PT05') + { + + + + } + + + else + { + $("#PaymentTerms").append( $('').val(obj.PaymentID).html(obj.PaymentTerms)); + } + + }); + } }); diff --git a/application/views/servicePurchaseorder.php b/application/views/servicePurchaseorder.php index bc9eb9ea..66686cc6 100755 --- a/application/views/servicePurchaseorder.php +++ b/application/views/servicePurchaseorder.php @@ -124,6 +124,24 @@ $('#PoTypeOptions').change(function() }); + + $.each(Payment,function(idx,obj) + { + if(obj.PaymentID=='PT05') + { + + + + } + + + else + { + $("#PaymentTerms").append( $('').val(obj.PaymentID).html(obj.PaymentTerms)); + } + + }); + } });