modified logic in ocr
This commit is contained in:
@@ -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))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user