moon mailer

This commit is contained in:
2019-05-31 21:45:19 -05:00
parent d1249b4e4b
commit 21e8761d48

View File

@@ -79,7 +79,7 @@ class MoonMailerCommand extends Command
foreach($contacts as $contact) {
//Get the moons the renter is renting
$rentals = $this->GetRentalMoons($contact);
dd($rentals);
//Totalize the cost of the moons
$cost = $this->TotalizeMoonCost($rentals);
@@ -175,8 +175,6 @@ class MoonMailerCommand extends Command
$totalCost = 0.00;
$price = null;
dd($rentals);
foreach($rentals as $rental) {
$moon = Moon::where([
'System' => $rental->System,
@@ -194,7 +192,6 @@ class MoonMailerCommand extends Command
} else{
$totalCost += (float)$price['outofalliance'];
}
dd($totalCost);
}
//Return the total cost back to the calling function