modified logic in ocr

This commit is contained in:
dhanabalan
2025-10-29 11:48:23 +05:30
parent bb3fa0e703
commit 5780850c27

View File

@@ -286,7 +286,11 @@ class OcrValidationResource extends Resource
//$templatePath = storage_path('app/private/uploads/StickerTemplateOcr/Single.pdf'); //$templatePath = storage_path('app/private/uploads/StickerTemplateOcr/Single.pdf');
$templatePath = storage_path('app/private/uploads/OcrGrNumber/' . $grNumber . '.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)) if(!file_exists($templatePath))
{ {