diff --git a/app/Http/Controllers/PdfController.php b/app/Http/Controllers/PdfController.php index 2e4abc4..ed72c1a 100644 --- a/app/Http/Controllers/PdfController.php +++ b/app/Http/Controllers/PdfController.php @@ -949,7 +949,7 @@ class PdfController extends Controller if ($total > $orderQty) { return response()->json([ 'status_code' => 'ERROR', - 'status_description' => "Received quantity should not exceed order quantity! Order Qty = {$orderQty}, Already Received Qty = {$alreadyReceived}, Trying to Insert Qty = {$receivedQty}", + 'status_description' => "Rework received quantity should not exceed exist order quantity! Exist Order Qty = '{$orderQty}', Already Exist Total Received Qty = '{$alreadyReceived}', Trying to Insert Rework Received Qty = '{$receivedQty}'", ], 404); } @@ -1035,7 +1035,7 @@ class PdfController extends Controller if ($existPrevCoil->received_quantity < $receivedQty) { return response()->json([ 'status_code' => 'ERROR', - 'status_description' => "Rework received quantity should not exceed exist received quantity! Exist Received Qty = {$existPrevCoil->received_quantity}, Trying to Insert Qty = {$receivedQty}", + 'status_description' => "Rework received quantity should not exceed exist received quantity! Exist Received Qty = '{$existPrevCoil->received_quantity}', Trying to Insert Rework Received Qty = '{$receivedQty}'", ], 404); } @@ -1105,7 +1105,7 @@ class PdfController extends Controller if ($total > $orderQty) { return response()->json([ 'status_code' => 'ERROR', - 'status_description' => "Received quantity should not exceed order quantity! Order Qty = {$orderQty}, Already Received Qty = {$alreadyReceived}, Trying to Insert Qty = {$receivedQty}", + 'status_description' => "Received quantity should not exceed exist order quantity! Exist Order Qty = '{$orderQty}', Already Exist Total Received Qty = '{$alreadyReceived}', Trying to Insert Received Qty = '{$receivedQty}'", ], 404); }