1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Minor fix for accessing account in helper

This commit is contained in:
David Bomba 2021-09-03 20:45:23 +10:00
parent 2b72ff7dec
commit 8ff9c923e3

View File

@ -34,7 +34,7 @@ class Helpers
$elements['signature'] = $_settings->email_signature; $elements['signature'] = $_settings->email_signature;
$elements['settings'] = $_settings; $elements['settings'] = $_settings;
$elements['whitelabel'] = $client->user->account->isPaid() ? true : false; $elements['whitelabel'] = $client->company->account->isPaid() ? true : false;
$elements['company'] = $client->company; $elements['company'] = $client->company;
return $elements; return $elements;