command for moon mailer

This commit is contained in:
2019-02-16 01:46:35 -06:00
parent 11efc85fe9
commit 3dadcd624b

View File

@@ -70,7 +70,7 @@ class MoonMailerCommand extends Command
'System' => $rental->System,
'Planet' => $rental->Planet,
'Moon' => $rental->Moon,
]);
])->first();
//Get the updated price for the moon
$price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity,
$moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);