1
0
forked from poc/pds

commented out machine ID validation logic in storeProcessOrderData method

This commit is contained in:
dhanabalan
2025-11-29 15:36:54 +05:30
parent faaaa88e8f
commit eb38f4ddcf

View File

@@ -720,12 +720,12 @@ class PdfController extends Controller
// ], 404); // ], 404);
// } // }
if ($machineId == null || $machineId == '' || ! $machineId) { // if ($machineId == null || $machineId == '' || ! $machineId) {
return response()->json([ // return response()->json([
'status_code' => 'ERROR', // 'status_code' => 'ERROR',
'status_description' => "Machine ID can't be empty!", // 'status_description' => "Machine ID can't be empty!",
], 404); // ], 404);
} // }
if ($createdBy == null || $createdBy == '' || ! $createdBy) { if ($createdBy == null || $createdBy == '' || ! $createdBy) {
return response()->json([ return response()->json([