moon mailer
This commit is contained in:
@@ -110,8 +110,11 @@ class MoonMailerCommand extends Command
|
||||
|
||||
//Update the moon as not being paid for the next month?
|
||||
foreach($rentals as $rental) {
|
||||
if($today > $rental->Paid_Until)
|
||||
$this->UpdateNotPaid($rental);
|
||||
$previous = new Carbon($rental->Paid_Until);
|
||||
|
||||
if($today->greaterThan($previous)) {
|
||||
$this->UpdateNotPaid($rental);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user