From 53d3683c72d172124a0d0ed58786a5fe04794b41 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Wed, 16 Aug 2017 12:32:32 +0530 Subject: [PATCH] supplier payment terms --- application/views/importpo.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/views/importpo.php b/application/views/importpo.php index ea39d49c..64c22cea 100755 --- a/application/views/importpo.php +++ b/application/views/importpo.php @@ -1915,6 +1915,11 @@ $('#drpSupplier').change(function() { $('#otheroptiondiv').show(); $('#Otherpayment').val(''); } + else + { + $('#otheroptiondiv').hide(); + $('#Otherpayment').show(); + } $('#PaymentTerms').empty(); var paymentList = ; @@ -3991,7 +3996,7 @@ var Detail = ; } ); $("#PaymentTerms").change(function() { console.log($('#PaymentTerms').val().trim()); - if ($('#PaymentTerms').val().trim()=='PT08') + if ($('#PaymentTerms').val().trim()=='Others') {