Compare commits
2 Commits
8c90d1fc03
...
22ece583b7
| Author | SHA1 | Date | |
|---|---|---|---|
| 22ece583b7 | |||
|
|
dee82279c0 |
@@ -873,6 +873,15 @@ class PdfController extends Controller
|
||||
'status_description' => "Rework value should be either 'Yes' or 'No'!",
|
||||
], 404);
|
||||
}
|
||||
else if ($rework == 'No')
|
||||
{
|
||||
if($scrapQty != 0){
|
||||
return response()->json([
|
||||
'status_code' => 'ERROR',
|
||||
'status_description' => "Scrap Quanity value should be '0'!",
|
||||
], 404);
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user