From 21e8761d48e1b5d862acfd118753d56af560855b Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 31 May 2019 21:45:19 -0500 Subject: [PATCH] moon mailer --- app/Console/Commands/moonmailer.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Console/Commands/moonmailer.php b/app/Console/Commands/moonmailer.php index 467dca011..8cf13a48f 100644 --- a/app/Console/Commands/moonmailer.php +++ b/app/Console/Commands/moonmailer.php @@ -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