From 37df670eab770902183335ede5b90922c6ce171b Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 13 Mar 2026 15:42:04 +0530 Subject: [PATCH] Updated quantity exceed warning message against process order --- app/Http/Controllers/PdfController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }