Closed kalehege closed 3 months ago
same results man
It works for me, make a demo showing the problem, surely you have something wrong
public function generateCV(Request $request) {
$candidate = Candidate::with(
'job',
'education_infos',
'professional_qus',
'language_skills',
'employment_histories',
'other_emplies',
'vaccinations',
'professional_qus',
'professional_refers'
)
->find($request->candidate_id);
// dd($candidate);
$pdf = PDF::loadView('pdf.cv', ['candidates_data' => $candidate])->setPaper('A3', 'portrait');
return $pdf->download('cv-'.$request->em_id.'pdf');
}
my code like this
It works for me, make a demo showing the problem, surely you have something wrong
public function generateCV(Request $request) {
$candidate = Candidate::with(
'job',
'education_infos',
'professional_qus',
'language_skills',
'employment_histories',
'other_emplies',
'vaccinations',
'professional_qus',
'professional_refers'
)
->find($request->candidate_id);
// dd($candidate);
$pdf = PDF::loadView('pdf.cv', ['candidates_data' => $candidate])->setPaper('A3', 'portrait');
return $pdf->download('cv-'.$request->em_id.'pdf');
}
my code like this
it works 👍 make a demo showing the problem, surely you have something wrong somewhere else in your application
it works 👍
same bro
make a demo showing the problem, surely you have something wrong somewhere else in your application
Fresh laravel instalation, only showing the problem
it works 👍
same bro
It works with IDM Download Manager, but it doesn't work with browser downloads.
Maybe the browser, Your screenshots don't give much information, you could be showing me an iframe and I don't even know
how i fix that