Update API test comment and enhance success alert handling in incomingSilicaSandDetails

This commit is contained in:
vadivelJ96 2025-01-17 22:00:29 +05:30
parent eac34ac2af
commit fa40905de9
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# GET http://localhost/ci4/ria/dieselMachineDetails # GET http://localhost/ci4/ria/dieselMachineDetails
GET http://localhost/ci4/ria/dieselMachineDetails # GET http://localhost/ci4/ria/dieselMachineDetails
// $routes->match(['GET', 'POST'], 'trpProductionDetails', 'StockController::trpProductionDetails'); // $routes->match(['GET', 'POST'], 'trpProductionDetails', 'StockController::trpProductionDetails');

View File

@ -1410,8 +1410,7 @@ $(document).ready(function() {
}, },
success: function(data){ success: function(data){
alert("Data Saved Successfully..!!"); alert("Data Saved Successfully..!!");
console.log(data); window.location.reload();
// window.location.reload();
}, },
error : function(xhr, status, error){ error : function(xhr, status, error){
alert("An error occurred while processing the request. Please try again."); alert("An error occurred while processing the request. Please try again.");