From 790081a4f009b7f34647625bee0f04ff45053474 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Oct 2018 23:49:18 -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 bb2011d81..7353d2aeb 100644 --- a/app/Library/MoonCalc.php +++ b/app/Library/MoonCalc.php @@ -143,7 +143,6 @@ class MoonCalc { $config = DB::table('Config')->first(); //Calculate refine rate $refineRate = $config->RefineRate / 100.00; - dd($refineRate); //Calculate the current time $time = time(); //Get the max time from the database @@ -228,6 +227,7 @@ 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;