1
0
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:
David Bomba 2023-04-22 15:14:56 +10:00
parent ec4c585704
commit aea29fe019

View File

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