mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Additional fixes for client payment failure mails
This commit is contained in:
parent
854141ede8
commit
2dca66d23c
@ -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…
x
Reference in New Issue
Block a user