moon mailer

This commit is contained in:
2019-08-01 21:57:20 -05:00
parent e6b05806f0
commit 9192ffa63f

View File

@@ -114,7 +114,6 @@ class MoonMailerCommand extends Command
//After the mail is dispatched, saved the sent mail record
$this->SaveSentRecord($mail->sender, $mail->subject, $mail->body, $mail->recipient, $mail->recipient_type);
//Update the moon as not being paid for the next month?
foreach($rentals as $rental) {
$previous = new Carbon($rental->Paid_Until);
@@ -123,7 +122,6 @@ class MoonMailerCommand extends Command
$this->UpdateNotPaid($rental);
}
}
}
//Mark the job as finished