fixed some issues on moon total worth
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
<div class="container">
|
||||
<h2>Total Worth of the Moon / Month</h2>
|
||||
<div class="jumbotron">
|
||||
Total Moon Goo + Ore Worth: {{ $totalWorth }} ISK<br>
|
||||
Total Moon Goo Worth: {{ $totalGoo }} ISK<br>
|
||||
Total Moon Worth: {{ $totalWorth }} ISK<br>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user