diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index 96dec67b68d7..835038859f3b 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -866,7 +866,7 @@ class CheckData extends Command foreach(Invoice::with(['payments'])->whereHas('payments')->where('status_id', 4)->where('balance', '>', 0)->where('is_deleted',0)->cursor() as $invoice) { - $this->$this->wrong_paid_status++; + $this->wrong_paid_status++; $this->logMessage("# {$invoice->id} " . ' - '.$invoice->number." - Marked as paid, but balance = {$invoice->balance}"); diff --git a/app/Models/Account.php b/app/Models/Account.php index 0ad6674c9f1d..d41ec4e95267 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -375,7 +375,7 @@ class Account extends BaseModel { if(Carbon::createFromTimestamp($this->created_at)->diffInWeeks() == 0) - return 50; + return 20; if($this->isPaid()){ $limit = $this->paid_plan_email_quota;