From d5fb615f68672c2420af408106a634685a2af3f8 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Oct 2018 23:49:54 -0500 Subject: [PATCH] troubleshooting moon calc --- app/Library/MoonCalc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/MoonCalc.php b/app/Library/MoonCalc.php index 7353d2aeb..e8479b3d7 100644 --- a/app/Library/MoonCalc.php +++ b/app/Library/MoonCalc.php @@ -227,10 +227,10 @@ class MoonCalc { ($composition[0]->Neodymium * $neodymiumPrice[0]->Price) + ($composition[0]->Promethium * $promethiumPrice[0]->Price) + ($composition[0]->Thulium * $thuliumPrice[0]->Price)); - dd($batchPrice); //Calculate the batch price with the refine rate included //Batch Price is base price for everything $batchPrice = $batchPrice * $refineRate; + dd($batchPrice); //Calculate the unit price $price = $batchPrice / $composition[0]->BatchSize; //Calculate the m3 price