mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for google analytics
This commit is contained in:
parent
59c9287ec5
commit
df42c16be7
@ -80,7 +80,7 @@ class PaymentNotification implements ShouldQueue
|
|||||||
private function trackRevenue($event)
|
private function trackRevenue($event)
|
||||||
{
|
{
|
||||||
$payment = $event->payment;
|
$payment = $event->payment;
|
||||||
$invoice = $payment->invoice;
|
$invoice = $payment->invoices()->exists() ? $payment->invoices->first() : false;
|
||||||
$company = $payment->company;
|
$company = $payment->company;
|
||||||
|
|
||||||
$analytics_id = $company->google_analytics_key;
|
$analytics_id = $company->google_analytics_key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user