mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 09:17:32 -04:00 
			
		
		
		
	
						commit
						2756ae76e7
					
				| @ -131,8 +131,8 @@ class EmailController extends BaseController | ||||
|                  | ||||
|                 $entity_obj->service()->markSent()->save(); | ||||
| 
 | ||||
|                 EmailEntity::dispatch($invitation->fresh(), $invitation->company, $template, $data) | ||||
|                             ->delay(now()->addSeconds(30)); | ||||
|                 EmailEntity::dispatch($invitation->fresh(), $invitation->company, $template, $data); | ||||
|                             // ->delay(now()->addSeconds(30));
 | ||||
|                  | ||||
|             } | ||||
| 
 | ||||
|  | ||||
| @ -107,10 +107,6 @@ class TemplateEmail extends Mailable | ||||
|                 $message->invitation = $this->invitation; | ||||
|             }); | ||||
| 
 | ||||
|             /*TODO insert another check here for whether the attachment exists */ | ||||
|             nlog($this->build_email->getAttachments()); | ||||
| 
 | ||||
| 
 | ||||
|             foreach ($this->build_email->getAttachments() as $file) { | ||||
| 
 | ||||
|                 if(is_string($file)) | ||||
|  | ||||
| @ -33,10 +33,6 @@ trait Uploadable | ||||
|         if ($file) { | ||||
|             $path = UploadAvatar::dispatchNow($file, $company->company_key); | ||||
| 
 | ||||
|             //$path = str_replace(config("ninja.app_url"), "", $path);
 | ||||
| 
 | ||||
|             info("the path {$path}"); | ||||
| 
 | ||||
|             if ($path) { | ||||
|                 $settings = $entity->settings; | ||||
|                 $settings->company_logo = $path; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user