mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve templates
This commit is contained in:
parent
b490524009
commit
9bbeddb913
@ -296,6 +296,7 @@ class Account extends BaseModel
|
|||||||
|
|
||||||
public function isPremium(): bool
|
public function isPremium(): bool
|
||||||
{
|
{
|
||||||
|
// return true;
|
||||||
return Ninja::isHosted() && $this->isPaidHostedClient() && !$this->isTrial() && Carbon::createFromTimestamp($this->created_at)->diffInMonths() > 2;
|
return Ninja::isHosted() && $this->isPaidHostedClient() && !$this->isTrial() && Carbon::createFromTimestamp($this->created_at)->diffInMonths() > 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user