diff --git a/app/Services/Payment/SendEmail.php b/app/Services/Payment/SendEmail.php index 0deb487c0a68..fdd630d0486c 100644 --- a/app/Services/Payment/SendEmail.php +++ b/app/Services/Payment/SendEmail.php @@ -11,11 +11,9 @@ namespace App\Services\Payment; -use App\Events\Payment\PaymentWasEmailed; use App\Jobs\Payment\EmailPayment; use App\Models\ClientContact; use App\Models\Payment; -use App\Utils\Ninja; class SendEmail { @@ -40,7 +38,7 @@ class SendEmail // if (!$invitation->contact->trashed() && $invitation->contact->email) { EmailPayment::dispatch($this->payment, $this->payment->company, $this->contact); - event(new PaymentWasEmailed($this->payment, $this->payment->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null))); + // event(new PaymentWasEmailed($this->payment, $this->payment->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null))); // } // }); // });