From 7ff21997e55873615ea8c961138685d1d0060b78 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 5 May 2019 03:47:41 -0500 Subject: [PATCH] moon rental service --- app/Console/Commands/moonmailer.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Console/Commands/moonmailer.php b/app/Console/Commands/moonmailer.php index b2db38aec..20f5f58da 100644 --- a/app/Console/Commands/moonmailer.php +++ b/app/Console/Commands/moonmailer.php @@ -21,6 +21,10 @@ use App\Models\Jobs\JobSendEveMail; class MoonMailerCommand extends Command { + /** + * Next update will include checking for if the moon has been paid in advance. + */ + /** * The name and signature of the console command. * @@ -78,6 +82,8 @@ class MoonMailerCommand extends Command //Get the moons the renter is renting $rentals = $moonMailer->GetRentalMoons($contact); + //Retrieve the date for each moon for when the moon is rented until + //Totalize the cost of the moons $cost = $moonMailer->TotalizeMoonCost($rentals);