diff --git a/app/Library/Moons/MoonCalc.php b/app/Library/Moons/MoonCalc.php index ed433392d..04abc2cef 100644 --- a/app/Library/Moons/MoonCalc.php +++ b/app/Library/Moons/MoonCalc.php @@ -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; }