changed logic in ocr

This commit is contained in:
dhanabalan
2025-10-29 11:57:56 +05:30
parent dd07989e7a
commit d166b7461c

View File

@@ -282,9 +282,10 @@ class OcrValidationResource extends Resource
if (count($serials) == 1)
{
$serialNumbers = $serials;
$grNumber = trim($grNumber);
//$templatePath = storage_path('app/private/uploads/StickerTemplateOcr/Single.pdf');
$templatePath = storage_path('app/private/uploads/OcrGrNumber/' . trim($grNumber) . '.pdf');
$templatePath = storage_path("app/private/uploads/OcrGRNumber/{$grNumber}.pdf");
if(!file_exists($templatePath))
{