mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Adjustments for email quotas
This commit is contained in:
parent
ec4c585704
commit
aea29fe019
@ -550,7 +550,7 @@ class Account extends BaseModel
|
||||
$limit += Carbon::createFromTimestamp($this->created_at)->diffInMonths() * 50;
|
||||
} else {
|
||||
$limit = $this->free_plan_email_quota;
|
||||
$limit += Carbon::createFromTimestamp($this->created_at)->diffInMonths() * 10;
|
||||
$limit += Carbon::createFromTimestamp($this->created_at)->diffInMonths() * 3;
|
||||
}
|
||||
|
||||
return min($limit, 5000);
|
||||
|
Loading…
Reference in New Issue
Block a user