diff --git a/app/Views/alterpurchaseorder.php b/app/Views/alterpurchaseorder.php
index 6a095574..cf73f95d 100755
--- a/app/Views/alterpurchaseorder.php
+++ b/app/Views/alterpurchaseorder.php
@@ -401,7 +401,7 @@ if (!empty($INRSYMBOL)) {
selValue = $("#PackagingType").val();
if (selValue == PercentageType) {
var PackagingCalculation = '';
- $('#REVENUE').modal('hide');
+ //$('#REVENUE').modal('hide');
$('#packagingcalmodel').modal('show');
$('#txtPackaging').removeAttr('readonly', 'true');
@@ -512,7 +512,7 @@ if (!empty($INRSYMBOL)) {
selValue = $("#drpFreight").val();
if (selValue == PercentageType) {
var freightCalculation = '';
- $('#REVENUE').modal('hide');
+ // $('#REVENUE').modal('hide');
$('#freightmodel').modal('show');
$('#txtFreight').removeAttr('readonly', 'true');
} else if (selValue == NilType) {
@@ -1551,13 +1551,13 @@ if (!empty($INRSYMBOL)) {
function SetPackagingOption() {
PackagingCalculation = $("input:radio[name='optPackaging']:checked").val();
$('#packagingcalmodel').modal('hide');
- showmodel();
+
}
function setfreightOption() {
freightCalculation = $("input:radio[name='optfreight']:checked").val();
$('#freightmodel').modal('hide');
- showmodel();
+
}
/* Set the Packaging calculation option for calculating Packaging */
function SetExciseCalculation() {
@@ -2894,7 +2894,7 @@ if (!empty($INRSYMBOL)) {
endforeach;
}
- echo form_dropdown('PackagingType', $options, set_value('PackagingType'), 'id="PackagingType"', 'class="form-control "');
+ echo form_dropdown('PackagingType', $options, set_value('PackagingType'), 'id="PackagingType" data-id="addRevenue"', 'class="form-control "');
?>
@@ -4630,8 +4630,7 @@ if (!empty($INRSYMBOL)) {