mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Set plan
This commit is contained in:
parent
f474273ced
commit
b33ad0c03e
@ -134,6 +134,9 @@ class Account extends BaseModel
|
||||
|
||||
public function getPlan()
|
||||
{
|
||||
if(Carbon\Carbon::parse($this->plan_expires)->lt(now()))
|
||||
return '';
|
||||
|
||||
return $this->plan ?: '';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user