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