From 5ab72d9d7acb92390cb98a46d7632d5706271d13 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 31 May 2019 21:55:50 -0500 Subject: [PATCH] moon mailer --- app/Console/Commands/moonmailer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/moonmailer.php b/app/Console/Commands/moonmailer.php index 84a8f79b9..f01c505e0 100644 --- a/app/Console/Commands/moonmailer.php +++ b/app/Console/Commands/moonmailer.php @@ -183,14 +183,14 @@ class MoonMailerCommand extends Command ])->first(); //Get the updated price for the moon - $price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity, + $price = $moonCalc->SpatialMoonsOnlyGooMailer($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity, $moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity); //Check the type and figure out which price to add in if($rental->Type == 'alliance') { - $totalCost += ($price['alliance'] * 1.00); + $totalCost += ($price['alliance']; } else{ - $totalCost += ($price['outofalliance'] * 1.00); + $totalCost += ($price['outofalliance']; } }