mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:47:32 -05:00 
			
		
		
		
	Working on the template action
This commit is contained in:
		
							parent
							
								
									e7abfc09c4
								
							
						
					
					
						commit
						2e4447fdf2
					
				@ -93,12 +93,12 @@ class TemplateAction implements ShouldQueue
 | 
				
			|||||||
        $pdf = $template_service->build($data)->getPdf();
 | 
					        $pdf = $template_service->build($data)->getPdf();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if($this->send_email)
 | 
					        if($this->send_email)
 | 
				
			||||||
            return $this->sendEmail($pdf);
 | 
					            $this->sendEmail($pdf);
 | 
				
			||||||
 | 
					        else
 | 
				
			||||||
            return $pdf;
 | 
					            return $pdf;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private function sendEmail(mixed $pdf): void
 | 
					    private function sendEmail(mixed $pdf): mixed
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        //send the email.
 | 
					        //send the email.
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user