From 2ed89287b5d1f108ec9a468f4366c9958658c299 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Oct 2018 23:57:19 -0500 Subject: [PATCH] troubleshooting --- app/Http/Controllers/MoonsController.php | 1 - app/Library/MoonCalc.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/MoonsController.php b/app/Http/Controllers/MoonsController.php index 4c007a1b2..d29371565 100644 --- a/app/Http/Controllers/MoonsController.php +++ b/app/Http/Controllers/MoonsController.php @@ -26,7 +26,6 @@ class MoonsController extends Controller //declare the html variable and set it to null $html = ''; foreach($moons as $moon) { - dd($moon->FirstOre); //Setup formats as needed $spm = $moon->System . ' - ' . $moon->Planet . ' - ' . $moon->Moon; $rentalEnd = date('d.m.Y', $moon->RentalEnd); diff --git a/app/Library/MoonCalc.php b/app/Library/MoonCalc.php index 56baed2ac..cbc0e9bca 100644 --- a/app/Library/MoonCalc.php +++ b/app/Library/MoonCalc.php @@ -22,6 +22,7 @@ class MoonCalc { public function SpatialMoons($firstOre, $firstQuan, $secondOre, $secondQuan, $thirdOre, $thirdQuan, $fourthOre, $fourthQuan) { //Always assume a 1 month pull which equates to 5.55m3 per second or 2,592,000 seconds //Total pull size is 14,385,600 m3 + dd($firstQuan); $totalPull = 5.55 * (3600.00 * 24.00 * 30.00); //Get the configuration for pricing calculations $config = DB::table('Config')->get();