From 5780850c27964a2ed85b6cd8a871eba2429b1d5d Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 29 Oct 2025 11:48:23 +0530 Subject: [PATCH] modified logic in ocr --- app/Filament/Resources/OcrValidationResource.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/OcrValidationResource.php b/app/Filament/Resources/OcrValidationResource.php index 9a8b43d..4ac23cc 100644 --- a/app/Filament/Resources/OcrValidationResource.php +++ b/app/Filament/Resources/OcrValidationResource.php @@ -286,7 +286,11 @@ class OcrValidationResource extends Resource //$templatePath = storage_path('app/private/uploads/StickerTemplateOcr/Single.pdf'); $templatePath = storage_path('app/private/uploads/OcrGrNumber/' . $grNumber . '.pdf'); - dd($templatePath); + dd( + $templatePath, + file_exists($templatePath), + scandir(storage_path("app/private/uploads/")) + ); if(!file_exists($templatePath)) {