moon mailer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user