fixed some issues on moon total worth

This commit is contained in:
2020-05-08 01:04:26 -05:00
parent 59c29e3a40
commit b00fd7d177
2 changed files with 1 additions and 9 deletions

View File

@@ -382,12 +382,6 @@ class MoonsController extends Controller
$fourthQuantity = $fourthQuantity / $totalPercent;
}
//Calculate the total moon goo value
$totalGoo = $moonCalc->SpatialMoonsOnlyGooTotalWorth($firstOre, $firstQuantity, $secondOre, $secondQuantity,
$thirdOre, $thirdQuantity, $fourthOre, $fourthQuantity);
//Format the number to send to the blade
$totalGoo = number_format($totalGoo, 2, ".", ",");
//Calculate the total worth of the moon
$totalWorth = $moonCalc->SpatialMoonsTotalWorth($firstOre, $firstQuantity, $secondOre, $secondQuantity,
$thirdOre, $thirdQuantity, $fourthOre, $fourthQuantity);
@@ -552,7 +546,6 @@ class MoonsController extends Controller
}
return view('moons.user.displayTotalWorth')->with('totalWorth', $totalWorth)
->with('totalGoo', $totalGoo)
->with('composition', $composition)
->with('reprocessing', $reprocessing);
}