Additional fixes for client payment failure mails
This commit is contained in:
parent
854141ede8
commit
2dca66d23c
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ class PaymentFailedMailer implements ShouldQueue
|
|||
|
||||
//add client payment failures here.
|
||||
//
|
||||
if($contact = $this->client->primary_contact()->first() && $this->payment_hash)
|
||||
if($contact = $this->client->contacts()->first() && $this->payment_hash)
|
||||
{
|
||||
|
||||
$mail_obj = (new ClientPaymentFailureObject($this->client, $this->error, $this->company, $this->payment_hash))->build();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue