From 6923b22eabc849e5535b89a5530cfb097ece9fed Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 24 Oct 2017 13:50:48 +0000 Subject: [PATCH] insurance value changed in purchaseorder --- application/views/purchaseorder.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/views/purchaseorder.php b/application/views/purchaseorder.php index f9537188..8bd5a61d 100644 --- a/application/views/purchaseorder.php +++ b/application/views/purchaseorder.php @@ -110,6 +110,11 @@ if(!empty($INRSYMBOL)) $(document).ready(function(){ $("#PaymentTerms").select2(); clearTotalItemValues(); + if($("#insurance").val() == 1) + { + $("#insurancenodiv").show(); + $("#insuranceno").val('Yes'); + } });