troubleshooting

This commit is contained in:
2018-10-25 23:57:19 -05:00
parent c998962ed8
commit 2ed89287b5
2 changed files with 1 additions and 1 deletions

View File

@@ -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);

View File

@@ -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();