diff --git a/app/Services/Payment/SendEmail.php b/app/Services/Payment/SendEmail.php index 978a038df2..3544a53c7e 100644 --- a/app/Services/Payment/SendEmail.php +++ b/app/Services/Payment/SendEmail.php @@ -37,6 +37,8 @@ class SendEmail $this->payment->client->contacts->each(function ($contact) { if ($contact->email) { EmailPayment::dispatchNow($this->payment, $this->payment->company, $contact); + return false; + //11-01-2021 only send payment receipt to the first contact } }); }