mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-01 20:17:35 -04:00 
			
		
		
		
	Fixes for send_email triggered action not generating PDFs in time.
This commit is contained in:
		
							parent
							
								
									89ce2b443e
								
							
						
					
					
						commit
						3417b1ff0f
					
				| @ -38,6 +38,7 @@ class TriggeredActions extends AbstractService | ||||
|     { | ||||
| 
 | ||||
|         if ($this->request->has('send_email') && $this->request->input('send_email') == 'true') { | ||||
|             $this->credit = $this->credit->service()->markSent()->save(); | ||||
|             $this->sendEmail(); | ||||
|         } | ||||
| 
 | ||||
|  | ||||
| @ -49,7 +49,7 @@ class TriggeredActions extends AbstractService | ||||
|         } | ||||
| 
 | ||||
|         if ($this->request->has('send_email') && $this->request->input('send_email') == 'true') { | ||||
|             $this->invoice->service()->touchPdf()->save(); | ||||
|             $this->invoice->service()->markSent()->touchPdf()->save(); | ||||
|             $this->sendEmail(); | ||||
|         } | ||||
| 
 | ||||
|  | ||||
| @ -38,6 +38,7 @@ class TriggeredActions extends AbstractService | ||||
|     { | ||||
| 
 | ||||
|         if ($this->request->has('send_email') && $this->request->input('send_email') == 'true') { | ||||
|             $this->quote = $this->quote->service()->markSent()->save(); | ||||
|             $this->sendEmail(); | ||||
|         } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user