diff --git a/app/Filament/Resources/OcrValidationResource.php b/app/Filament/Resources/OcrValidationResource.php index 41b13b7..b55c672 100644 --- a/app/Filament/Resources/OcrValidationResource.php +++ b/app/Filament/Resources/OcrValidationResource.php @@ -284,15 +284,7 @@ class OcrValidationResource extends Resource $serialNumbers = $serials; //$templatePath = storage_path('app/private/uploads/StickerTemplateOcr/Single.pdf'); - $templatePath = storage_path('app/private/uploads/OcrGrNumber/' . $grNumber . '.pdf'); - - dd([ - 'grNumber' => $grNumber, - 'trimmed_grNumber' => trim($grNumber), - 'templatePath' => storage_path('app/private/uploads/OcrGRNumber/' . trim($grNumber) . '.pdf'), - 'file_exists' => file_exists(storage_path('app/private/uploads/OcrGRNumber/' . trim($grNumber) . '.pdf')), - 'directory_files' => scandir(storage_path('app/private/uploads/OcrGRNumber/')), -]); + $templatePath = storage_path('app/private/uploads/OcrGrNumber/' . trim($grNumber) . '.pdf'); if(!file_exists($templatePath)) {