From 7f62538c55dc691b62fd9c438cf583120fb8171b Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Wed, 4 Dec 2024 14:42:39 +0530 Subject: [PATCH] amendment po changes-1 vadivel J 04-12-2024 --- app/Views/editCapitalPo.php | 7 +++++-- app/Views/editRevenuepurchaseorder.php | 4 ++-- app/Views/gasStockDetails.php | 12 +++++++++--- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/app/Views/editCapitalPo.php b/app/Views/editCapitalPo.php index 8d76aa3d..d5fcdcc8 100755 --- a/app/Views/editCapitalPo.php +++ b/app/Views/editCapitalPo.php @@ -7414,7 +7414,7 @@ if (!empty($getlogpodtl)) { if ($('#EditCPRate').val() != '') { selValue = $("#EditDiscountType").val(); $('#txtEditDiscount').val(''); - $('#txtEditAfterDiscount').val(''); + $('#txtEditAfterDiscount').val("0.00"); if (selValue == '') { $('#txtEditDiscount').attr('readonly', 'true'); @@ -7424,7 +7424,7 @@ if (!empty($getlogpodtl)) { } else { $('#txtEditDiscount').removeAttr('readonly', 'true'); $('#txtEditDiscount').val(''); - $('#txtEditAfterDiscount').val(''); + $('#txtEditAfterDiscount').val("0.00"); } } else { alert('Please Select MaterialCode and Rate Field Value'); @@ -7818,6 +7818,9 @@ if (!empty($getlogpodtl)) { } EditRatechange(); + + $('#editpackagingcalmodel').modal('hide'); + } diff --git a/app/Views/editRevenuepurchaseorder.php b/app/Views/editRevenuepurchaseorder.php index 38eae6db..eae88087 100755 --- a/app/Views/editRevenuepurchaseorder.php +++ b/app/Views/editRevenuepurchaseorder.php @@ -644,7 +644,6 @@ if (!empty($getlogpodtl)) { var freight = ''; $('#drpFreight').change(function () { - alert("started"); var FreightType = $("#drpFreight").val(); if (FreightType == "PER TRIP") { @@ -4143,7 +4142,8 @@ if (!empty($getlogpodtl)) {
-
diff --git a/app/Views/gasStockDetails.php b/app/Views/gasStockDetails.php index 892fc285..65f4e263 100644 --- a/app/Views/gasStockDetails.php +++ b/app/Views/gasStockDetails.php @@ -306,8 +306,7 @@ modify('first day of this month')->format('Y-m-d'); @@ -331,7 +330,14 @@ $dateInMonthDmYFormat = Datetime::createFromFormat('Y-m-d',$dateInMonth)->format('d-m-Y'); ?> - + + >