diff --git a/app/Console/Commands/moonmailer.php b/app/Console/Commands/moonmailer.php index 3b393ea2d..2e148607f 100644 --- a/app/Console/Commands/moonmailer.php +++ b/app/Console/Commands/moonmailer.php @@ -78,7 +78,10 @@ class MoonMailerCommand extends Command //then update parameters of the moon foreach($contacts as $contact) { //Get the moons the renter is renting - $rentals = $this->GetRentalMoons($contact); + //$rentals = $this->GetRentalMoons($contact); + + $rentals = MoonRental::where(['Contact' => $contact->Contact])->get(); + dd($rentals); //Totalize the cost of the moons $cost = $this->TotalizeMoonCost($rentals);