M3 Security Fixes for Pass 39
This commit is contained in:
@@ -6,6 +6,7 @@ use Illuminate\Http\Request;
|
||||
use mikehaertl\pdftk\Pdf;
|
||||
use Storage;
|
||||
|
||||
|
||||
class fillBOLController extends Controller
|
||||
{
|
||||
public static function index(Request $request)
|
||||
@@ -31,6 +32,7 @@ class fillBOLController extends Controller
|
||||
dd($error);
|
||||
}
|
||||
|
||||
|
||||
$newfile = "BOL-{$bOL['BOL_number']}.pdf";
|
||||
var_dump($newfile);
|
||||
|
||||
@@ -41,6 +43,7 @@ class fillBOLController extends Controller
|
||||
dd($error);
|
||||
}
|
||||
|
||||
|
||||
$result = $pdf->fillForm([
|
||||
'DTESHIPED.1' => date('d/m/Y'),
|
||||
'invoice_number' => $bOL['BOL_number'],
|
||||
@@ -207,7 +210,6 @@ class fillBOLController extends Controller
|
||||
dd($error);
|
||||
} else {
|
||||
return response()->file(Storage::disk('public')->path($newfile));
|
||||
dd('step 4');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user