diff --git a/app/Console/Commands/moonmailer.php b/app/Console/Commands/moonmailer.php index 6787982e1..dd65cf9ee 100644 --- a/app/Console/Commands/moonmailer.php +++ b/app/Console/Commands/moonmailer.php @@ -73,13 +73,13 @@ class MoonMailerCommand extends Command //Get all contacts from the rentals group $contacts = MoonRental::select('Contact')->groupBy('Contact')->get(); - dd($contacts); + //For each of the contacts totalize the moon rental, and create the mail to send to them, //then update parameters of the moon foreach($contacts as $contact) { //Get the moons the renter is renting $rentals = $this->GetRentalMoons($contact); - dd($rentals); + dd($contact); //Totalize the cost of the moons $cost = $this->TotalizeMoonCost($rentals);