diff --git a/app/Views/editRevenuepurchaseorder.php b/app/Views/editRevenuepurchaseorder.php index e4ae81a8..9d69fe05 100755 --- a/app/Views/editRevenuepurchaseorder.php +++ b/app/Views/editRevenuepurchaseorder.php @@ -4556,7 +4556,7 @@ if (!empty($getlogpodtl)) { var PackagingType = $("#PackagingType").val(); if (PackagingType == "0") { - alert('Please select the Packaging Type'); + $('#txtPackaging').val(''); $("#PackagingType").focus(); } else if ($('#txtPackaging').val() != '' && $('#txtPackaging').val() != '0') { @@ -4609,7 +4609,6 @@ if (!empty($getlogpodtl)) { var PackagingType = $("#EditPackagingType").val(); if (PackagingType == "0") { - alert('Please select the Packaging Type'); $('#txtEditPackaging').val(''); $("#EditPackagingType").focus(); } else if ($('#txtEditPackaging').val() != '' && $('#txtEditPackaging').val() != '0') { diff --git a/app/Views/purchaseorder.php b/app/Views/purchaseorder.php index fec1a608..c960d79d 100755 --- a/app/Views/purchaseorder.php +++ b/app/Views/purchaseorder.php @@ -909,7 +909,6 @@ if (!empty($INRSYMBOL)) { var basicValue = parseFloat($('#txtBasicValue').val()); var PackagingType = $("#PackagingType").val(); if (PackagingType == "0") { - alert('Please select the Packaging Type'); $('#txtPackaging').val(''); $("#PackagingType").focus(); } else if ($('#txtPackaging').val() != '' && $('#txtPackaging').val() != '0') { @@ -959,7 +958,7 @@ if (!empty($INRSYMBOL)) { var basicValue = parseFloat($('#txtEditBasicValue').val()); var PackagingType = $("#EditPackagingType").val(); if (PackagingType == "0") { - alert('Please select the Packaging Type'); + $('#txtEditPackaging').val(''); $("#EditPackagingType").focus(); } else if ($('#txtEditPackaging').val() != '' && $('#txtEditPackaging').val() != '0') { diff --git a/app/Views/sales_dashboard.php b/app/Views/sales_dashboard.php index eb4b9e75..26eb0175 100755 --- a/app/Views/sales_dashboard.php +++ b/app/Views/sales_dashboard.php @@ -117,7 +117,7 @@