mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 04:01:10 -04:00 
			
		
		
		
	| @ -16,7 +16,7 @@ trait GeneratesPdfTrait | |||||||
|         if ($pdf && file_exists($pdf['path'])) { |         if ($pdf && file_exists($pdf['path'])) { | ||||||
|             return response()->make(file_get_contents($pdf['path']), 200, [ |             return response()->make(file_get_contents($pdf['path']), 200, [ | ||||||
|                 'Content-Type' => 'application/pdf', |                 '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