mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	Solve issue of pdf store to local disk
This commit is contained in:
		| @ -83,7 +83,7 @@ trait GeneratesPdfTrait | ||||
|         \Storage::disk('local')->put('temp/'.$collection_name.'/'.$this->id.'/temp.pdf', $pdf->output()); | ||||
|  | ||||
|         if ($deleteExistingFile) { | ||||
|             $this->clearMediaCollection($collection_name); | ||||
|             $this->clearMediaCollection($this->id); | ||||
|         } | ||||
|  | ||||
|         $file_disk = FileDisk::whereSetAsDefault(true)->first(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user