This commit is contained in:
2019-11-06 23:42:10 -06:00
parent 66e52c52bd
commit 245a73b5b0

View File

@@ -538,10 +538,11 @@ class MoonCalc {
$m3Size = $item->m3Size;
//Calculate the actual m3 from the total pull amount in m3 using the percentage of the ingredient
$actualm3 = floor($totalPull * ($percentage / 100));
dd($actualm3);
//Calculate the units from the m3 pulled from the moon
$units = floor($actualm3 / $m3Size);
dd($units);
return $units;
}