updating how moon rentals are handled in programming

This commit is contained in:
2019-05-05 19:59:14 -05:00
parent 7ff21997e5
commit 5cef5d11f0
7 changed files with 147 additions and 76 deletions
+1 -3
View File
@@ -16,7 +16,7 @@ use App\Library\Moons\MoonCalc;
//Models
use App\Models\Moon\Moon;
use App\Models\Moon\MoonRent;
use App\Models\MoonRent\MoonRent;
use App\Models\Jobs\JobSendEveMail;
class MoonMailerCommand extends Command
@@ -81,8 +81,6 @@ class MoonMailerCommand extends Command
foreach($contacts as $contact) {
//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);