command for moon mailer

This commit is contained in:
2019-02-16 01:28:47 -06:00
parent 9932e62676
commit ea401cf856
+1 -1
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]);
//Update the moon rental price
MoonRent::where([
'System' => $rental->System,