From 02a435e93dafe876252a43df8ea029e6e53fdcb4 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 28 Aug 2026 14:18:54 +0530 Subject: [PATCH] Updated pump testing result post api function success and failure response description --- app/Http/Controllers/TestingPanelController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/TestingPanelController.php b/app/Http/Controllers/TestingPanelController.php index 4e59f66..2f5bfd8 100644 --- a/app/Http/Controllers/TestingPanelController.php +++ b/app/Http/Controllers/TestingPanelController.php @@ -2333,7 +2333,7 @@ class TestingPanelController extends Controller if ($updatedRows == 0) { return response()->json([ 'status_code' => 'ERROR', - 'status_description' => "Failed to update exist pump testing entries for the pump serial number '{$pumpSerial}'.", + 'status_description' => "Failed to update exist pump testing results for the pump serial number '{$pumpSerial}'.", ], 404); } else { for ($i = $cnt; $i <= 10; $i++) { @@ -2342,7 +2342,7 @@ class TestingPanelController extends Controller return response()->json([ 'status_code' => 'SUCCESS', - 'status_description' => "Successfully updated exist pump testing entries for the pump serial number '{$pumpSerial}'.", + 'status_description' => "Successfully updated exist pump testing results for the pump serial number '{$pumpSerial}'.", ], 200); } } else { @@ -2396,12 +2396,12 @@ class TestingPanelController extends Controller if ($createdRows == 0) { return response()->json([ 'status_code' => 'ERROR', - 'status_description' => "Failed to create new pump testing entries for the pump serial number '{$pumpSerial}'.", + 'status_description' => "Failed to create new pump testing results for the pump serial number '{$pumpSerial}'.", ], 404); } else { return response()->json([ 'status_code' => 'SUCCESS', - 'status_description' => "Successfully created new pump testing entries for the pump serial number '{$pumpSerial}'.", + 'status_description' => "Successfully created new pump testing results for the pump serial number '{$pumpSerial}'.", ], 200); } }