commented out machine ID validation logic in storeProcessOrderData method #22
@@ -720,12 +720,12 @@ class PdfController extends Controller
|
||||
// ], 404);
|
||||
// }
|
||||
|
||||
if ($machineId == null || $machineId == '' || ! $machineId) {
|
||||
return response()->json([
|
||||
'status_code' => 'ERROR',
|
||||
'status_description' => "Machine ID can't be empty!",
|
||||
], 404);
|
||||
}
|
||||
// if ($machineId == null || $machineId == '' || ! $machineId) {
|
||||
// return response()->json([
|
||||
// 'status_code' => 'ERROR',
|
||||
// 'status_description' => "Machine ID can't be empty!",
|
||||
// ], 404);
|
||||
// }
|
||||
|
||||
if ($createdBy == null || $createdBy == '' || ! $createdBy) {
|
||||
return response()->json([
|
||||
|
||||
Reference in New Issue
Block a user