From 01eaebfc685c334fe3ce4efc21da74a99508fa1d Mon Sep 17 00:00:00 2001 From: Smart Date: Thu, 3 Oct 2024 10:20:19 +0530 Subject: [PATCH 1/2] GWM : change in table list nowarp issue --- app/Config/Routes.php | 6 +++++- app/Views/rawmaterialListing.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 0ae1e4d7..263d0e48 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -391,4 +391,8 @@ $routes->get('sales_invoice', 'Sales::sales_invoice'); // transporter Routes $routes->get('transporterListing', 'Supplier::transporterListing'); $routes->post('fetchTransporterDetails', 'Supplier::fetchTransporterDetails');// for Ajax both add and edit.... -$routes->get('deleteTransporter', 'Supplier::deleteTransporter'); \ No newline at end of file +$routes->get('deleteTransporter', 'Supplier::deleteTransporter'); + + + +$routes->post('getSilicaIGR', 'Supplier::getSilicaIGR'); \ No newline at end of file diff --git a/app/Views/rawmaterialListing.php b/app/Views/rawmaterialListing.php index e6a6733f..2e17f5b2 100755 --- a/app/Views/rawmaterialListing.php +++ b/app/Views/rawmaterialListing.php @@ -80,7 +80,7 @@
- +
From 73c939ff913025cff167d53427dfa35a13859b50 Mon Sep 17 00:00:00 2001 From: Smart Date: Thu, 3 Oct 2024 17:44:09 +0530 Subject: [PATCH 2/2] CHANGE_tracker issue --- app/Views/EditservicePurchaseorder.php | 10 ++--- app/Views/editRevenuepurchaseorder.php | 8 ++-- app/Views/porelease_view.php | 60 +++++++++++++++----------- app/Views/servicePurchaseorder.php | 27 +++++++----- 4 files changed, 61 insertions(+), 44 deletions(-) diff --git a/app/Views/EditservicePurchaseorder.php b/app/Views/EditservicePurchaseorder.php index 5d1b9089..69a83303 100755 --- a/app/Views/EditservicePurchaseorder.php +++ b/app/Views/EditservicePurchaseorder.php @@ -1100,12 +1100,12 @@ if (!empty($getlogpodtl)) { - + - - - - + + + + diff --git a/app/Views/editRevenuepurchaseorder.php b/app/Views/editRevenuepurchaseorder.php index 0944c3bf..143b60a6 100755 --- a/app/Views/editRevenuepurchaseorder.php +++ b/app/Views/editRevenuepurchaseorder.php @@ -2225,10 +2225,10 @@ if (!empty($getlogpodtl)) { - - - - + + + + diff --git a/app/Views/porelease_view.php b/app/Views/porelease_view.php index 4307bb2e..b2963c4a 100755 --- a/app/Views/porelease_view.php +++ b/app/Views/porelease_view.php @@ -150,13 +150,13 @@ if (empty($Status)) {
-
Requisition No Item Code Item NameQuantityQuantity UOMRate Basic Amount Tax Amount Total Order Amount Rate Basic Amount Tax Amount Total Order Amount Item Description Quantity UOMRate Basic Amount Tax Amount Total Order Amount Rate Basic Amount Tax Amount Total Order Amount
+
- - - + + + @@ -206,7 +206,8 @@ if (empty($Status)) { - + ?> + - - StatusName == 'RELEASER ONHOLD' or $record->StatusName == 'AWAITING RELEASE' or $record->StatusName == 'AMENDMENT PO'){ - if ($record->StatusCode == PO_APPROVER_ONHOLD or $record->StatusCode == PO_CREATED or $record->StatusCode == REQITEM_Emergency_PO_CREATED) { - - ?> - + -
-
"; - } ?> + + - + @@ -545,6 +543,10 @@ if (empty($Status)) { \ No newline at end of file diff --git a/app/Views/servicePurchaseorder.php b/app/Views/servicePurchaseorder.php index bea4707d..09015242 100755 --- a/app/Views/servicePurchaseorder.php +++ b/app/Views/servicePurchaseorder.php @@ -2378,8 +2378,8 @@ if (!empty($INRSYMBOL)) { $('#PoTypeOptions').focus(); return false; - } else if ($('#Otherpayment').val() == '') { - alert('Please Enter the Payable Terms'); + } else if ($('#Otherpayment').val() == '' && $('#PaymentTerms').val() == 'PT08') { + alert('Please Enter Other Payable Terms Description'); $('#Otherpayment').focus(); return false; @@ -2441,14 +2441,21 @@ if (!empty($INRSYMBOL)) { } //If others is the payment terms to display mandatory field - $("#PaymentTerms").change(function() { - if ($('#PaymentTerms').val().trim() == 'PT08') { - $('#otheroptiondiv').show(); - } else { - $('#otheroptiondiv').hide(); - $('#Otherpayment').val(''); - } - }); + $(document).ready(function () { + $("#PaymentTerms").change(function() { + console.log("Payment terms changed."); // Check if event is triggered. + var paymentValue = $('#PaymentTerms').val().trim(); + console.log("Selected value:", paymentValue); // Check the selected value. + + if (paymentValue === 'PT08') { + $('#otheroptiondiv').show(); + } else { + $('#otheroptiondiv').hide(); + $('#Otherpayment').val(''); + } + }); +}); + function Reset() { location.reload();
PO DatePurchase Order NumberPurchase Order TypeCost Center NamePONOPO TypeCost Center Supplier Name Created By DepartmentApprover ?> + 'AWAITING APPROVE', 'AWAITING RELEASE' => 'AWAITING APPROVE', @@ -226,15 +227,12 @@ if (empty($Status)) { - ?> + + StatusCode == PO_APPROVER_ONHOLD or $record->StatusCode == PO_CREATED or $record->StatusCode == REQITEM_Emergency_PO_CREATED) { ?> + - Remarks == '') { - } else { - echo $record->Remarks; - } ?> + Remarks == '') { + } else { + echo $record->Remarks; + } ?> +