moon mailer

This commit is contained in:
2019-05-31 21:52:19 -05:00
parent cb5b8f9a93
commit cff50a10fa

View File

@@ -185,7 +185,7 @@ class MoonMailerCommand extends Command
//Get the updated price for the moon //Get the updated price for the moon
$price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity, $price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity,
$moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity); $moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);
dd($price);
//Check the type and figure out which price to add in //Check the type and figure out which price to add in
if($rental->Type == 'alliance') { if($rental->Type == 'alliance') {
$totalCost += $price['alliance']; $totalCost += $price['alliance'];