troubleshooting
This commit is contained in:
@@ -272,9 +272,9 @@ class MoonCalc {
|
||||
$actualm3 = floor($percentage * $totalPull);
|
||||
//Calculate the units once we have the size and actual m3 value
|
||||
$units = floor($actualm3 / $m3Size);
|
||||
dd($units);
|
||||
//Look up the unit price from the database
|
||||
$unitPrice = DB::table('OrePrices')->where('UnitPrice', $ore)->value('UnitPrice');
|
||||
dd($unitPrice);
|
||||
//Calculate the total amount from the units and unit price
|
||||
$total = $units * $unitPrice;
|
||||
//Return the value
|
||||
|
||||
Reference in New Issue
Block a user