1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Improve templates

This commit is contained in:
David Bomba 2024-02-13 17:33:00 +11:00
parent b490524009
commit 9bbeddb913

View File

@ -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;
}