modified logic in ocr
This commit is contained in:
@@ -284,7 +284,7 @@ class OcrValidationResource extends Resource
|
|||||||
$serialNumbers = $serials;
|
$serialNumbers = $serials;
|
||||||
|
|
||||||
//$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');
|
||||||
|
|
||||||
if(!file_exists($templatePath))
|
if(!file_exists($templatePath))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user