1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
This commit is contained in:
David Bomba 2021-08-12 22:04:50 +10:00
parent f474273ced
commit b33ad0c03e

View File

@ -134,6 +134,9 @@ class Account extends BaseModel
public function getPlan()
{
if(Carbon\Carbon::parse($this->plan_expires)->lt(now()))
return '';
return $this->plan ?: '';
}