From b74be4d528f507e92a9cd0a23d5338d373a6e049 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 31 Mar 2023 09:27:11 +1100 Subject: [PATCH] Minor fixes for payment emailed activities --- app/Services/Payment/SendEmail.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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))); // } // }); // });