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') {