command for moon mailer

This commit is contained in:
2019-02-16 01:29:37 -06:00
parent ea401cf856
commit 58635e014a

View File

@@ -64,7 +64,7 @@ class MoonMailerCommand extends Command
foreach($rentals as $rental) {
$price = $moonCalc->SpatialMoonsOnlyGoo($rental->FirstOre, $rental->FirstQuantity, $rental->SecondOre, $rental->SecondQuantity,
$rental->ThirdOre, $rental->ThirdQuantity, $rental->FourthOre, $rental->FourthQuantity);
dd($price[$rental->Type]);
dd($rental->Type);
//Update the moon rental price
MoonRent::where([
'System' => $rental->System,