diff --git a/app/Models/Account.php b/app/Models/Account.php index ebbbb18934c5..2ea57856c5c0 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -498,8 +498,15 @@ class Account extends BaseModel $plan_expires = Carbon::parse($this->plan_expires); - if(!$this->payment_id && $plan_expires->gt(now())) - return $plan_expires->diffInDays(); + if(!$this->payment_id && $plan_expires->gt(now())){ + + $diff = $plan_expires->diffInDays(); + + if($diff > 14); + return 0; + + return $diff; + } return 0; }