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