mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
@ -16,7 +16,7 @@ trait GeneratesPdfTrait
|
||||
if ($pdf && file_exists($pdf['path'])) {
|
||||
return response()->make(file_get_contents($pdf['path']), 200, [
|
||||
'Content-Type' => 'application/pdf',
|
||||
'Content-Disposition' => 'inline; filename="'.$pdf['file_name'].'.pdf"',
|
||||
'Content-Disposition' => 'inline; filename="'.$pdf['file_name'].'"',
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user