command for moon mailer

This commit is contained in:
2019-02-16 01:43:12 -06:00
parent 1b9712acaf
commit ac457af5ac
+1 -1
View File
@@ -68,7 +68,7 @@ class MoonMailerCommand extends Command
//Get the updated price for the moon
$price = $moonCalc->SpatialMoonsOnlyGoo($rental->FirstOre, $rental->FirstQuantity, $rental->SecondOre, $rental->SecondQuantity,
$rental->ThirdOre, $rental->ThirdQuantity, $rental->FourthOre, $rental->FourthQuantity);
dd($price);
//Create the mail body depending on if the price should be in alliance or out of alliance
if($rental->Type == 'alliance') {
$body = "Moon Rent is due for " . $rental->System . " Planet: " . $rental->Planet . " Moon: " . $rental->Moon . "<br>";