diff --git a/app/Http/Requests/Company/UpdateCompanyRequest.php b/app/Http/Requests/Company/UpdateCompanyRequest.php index 94797598d4..16efe91040 100644 --- a/app/Http/Requests/Company/UpdateCompanyRequest.php +++ b/app/Http/Requests/Company/UpdateCompanyRequest.php @@ -108,6 +108,8 @@ class UpdateCompanyRequest extends Request } } + $settings['email_style_custom'] = str_replace("{{", "", $settings['email_style_custom']); + if (! $account->isFreeHostedClient()) { return $settings; } diff --git a/app/Listeners/Invoice/InvoiceEmailFailedActivity.php b/app/Listeners/Invoice/InvoiceEmailFailedActivity.php index 4955cb95f6..6a7ffe3e86 100644 --- a/app/Listeners/Invoice/InvoiceEmailFailedActivity.php +++ b/app/Listeners/Invoice/InvoiceEmailFailedActivity.php @@ -14,18 +14,13 @@ namespace App\Listeners\Invoice; use App\Libraries\MultiDB; use App\Models\Activity; use App\Repositories\ActivityRepository; -use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; -use Illuminate\Foundation\Bus\Dispatchable; -use Illuminate\Queue\InteractsWithQueue; -use Illuminate\Queue\SerializesModels; use stdClass; class InvoiceEmailFailedActivity implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public $delay = 10; + // public $delay = 10; protected $activity_repo;