Update error message for user not found in updateGR method for clarity

This commit is contained in:
dhanabalan
2025-09-27 16:53:08 +05:30
parent 64003ca776
commit 53cb04b14e

View File

@@ -98,7 +98,7 @@ class PdfController extends Controller
if (!$user) { if (!$user) {
return response()->json([ return response()->json([
'status_code' => 'ERROR', 'status_code' => 'ERROR',
'status_description' => "'{$data['scanned_by']}' not found for plant {$data['plant_code']}!" 'status_description' => "'{$data['scanned_by']}' user not found!"
], 404); ], 404);
} }