Update file path in getPdf method to use ProcessOrder directory for PDF retrieval

This commit is contained in:
dhanabalan
2025-09-10 15:59:42 +05:30
parent 444b4a4804
commit 319aea377a

View File

@@ -52,7 +52,7 @@ class PdfController extends Controller
$filename .= '.pdf';
}
$filePath = "uploads/temp/" . $filename;
$filePath = "uploads/ProcessOrder/" . $filename;
if (!Storage::disk('local')->exists($filePath)) {
return response()->json(['error' => 'File not found'], 404);