moon mailer

This commit is contained in:
2019-05-31 21:50:37 -05:00
parent e9ed64608f
commit 606325439f

View File

@@ -78,13 +78,11 @@ 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 = MoonRental::where(['Contact' => $contact->Contact])->get();
dd($rentals);
//Totalize the cost of the moons
$cost = $this->TotalizeMoonCost($rentals);
dd($cost);
//Get the list of moons in a list format
$listItems = $this->GetMoonList($rentals);