From 2ca2ff86ae928e527f1c38df1f5c708f26ec9f4d Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Sat, 23 Sep 2017 16:20:05 +0530 Subject: [PATCH] done capital po issues fixed --- application/views/EditservicePurchaseorder.php | 2 ++ application/views/editCapitalAmendPO.php | 2 +- application/views/editCapitalPo.php | 10 ++++++++-- application/views/editRevenuepurchaseorder.php | 6 ++++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/application/views/EditservicePurchaseorder.php b/application/views/EditservicePurchaseorder.php index 28dcb9f6..28405660 100755 --- a/application/views/EditservicePurchaseorder.php +++ b/application/views/EditservicePurchaseorder.php @@ -180,6 +180,7 @@ var insuranceOpt = ''; var SchName = ''; var DelDt = ''; $(document).ready(function () { +$('#PoTypeOptions').attr("style", "pointer-events: none;"); if(insuranceOpt=="1"){ } @@ -3230,3 +3231,4 @@ $('#insuranceNo').val(''); + diff --git a/application/views/editCapitalAmendPO.php b/application/views/editCapitalAmendPO.php index 9000b297..b626c95d 100755 --- a/application/views/editCapitalAmendPO.php +++ b/application/views/editCapitalAmendPO.php @@ -1781,7 +1781,7 @@ document.getElementById('dispatchinternational').style.display = 'block'; -
+
diff --git a/application/views/editCapitalPo.php b/application/views/editCapitalPo.php index 0597fe49..c3066164 100755 --- a/application/views/editCapitalPo.php +++ b/application/views/editCapitalPo.php @@ -276,6 +276,7 @@ $('#otheroptiondiv').hide(); var capitalType=''; window.onload = function() { +$('#PoTypeOptions').attr("style", "pointer-events: none;"); var CapRan = ''; if(CapRan == '1') { @@ -3150,7 +3151,7 @@ $("#PaymentMethod").select2(); -
+
@@ -3419,7 +3420,11 @@ $("#PaymentMethod").select2();   OK + } + + else { ?> +   OK + '; var insuranceno = ''; $(document).ready(function () { - +$('#PoTypeOptions').attr("style", "pointer-events: none;"); if(DelOpt=="0"){ $('#Deliverydtdiv').show(); @@ -2302,7 +2302,8 @@ function calculateEditTaxValue() endforeach; } - echo form_dropdown('PoTypeOptions', $optionsPO,$revenuesubtype,set_value('PoTypeOptions'),'id="PoTypeOptions"' ,'required="true"' ,'class="form-control select2'); + echo form_dropdown('PoTypeOptions', $optionsPO,set_value('PoTypeOptions'),'id="PoTypeOptions"' ,'required="true"' ,'class="form-control select2'); + ?> @@ -5075,3 +5076,4 @@ $('#insurancestatus').change(function(){ }); +