Updates for hosted platform

This commit is contained in:
David Bomba 2022-06-19 13:01:29 +10:00
parent f014cda4e6
commit e8108ed34c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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