mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Tweak email delays
This commit is contained in:
parent
59549e02e9
commit
176fb66391
@ -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