From f26ba1d75c469069213e68dd86a1388a431c36dc Mon Sep 17 00:00:00 2001 From: Christopher Mancuso Date: Mon, 5 Jul 2021 21:42:20 -0500 Subject: [PATCH] working on moon rental worth --- .../MoonRental/ExecuteUpdateAllianceMoonRentalWorth.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Console/Commands/MoonRental/ExecuteUpdateAllianceMoonRentalWorth.php b/app/Console/Commands/MoonRental/ExecuteUpdateAllianceMoonRentalWorth.php index e024fcb01..74e86b8c5 100644 --- a/app/Console/Commands/MoonRental/ExecuteUpdateAllianceMoonRentalWorth.php +++ b/app/Console/Commands/MoonRental/ExecuteUpdateAllianceMoonRentalWorth.php @@ -69,6 +69,8 @@ class ExecuteUpdateAllianceMoonRentalWorth extends Command 'moon_id' => $moon->moon_id, ])->get(['ore_name', 'quantity'])->toArray(); + dd($ores); + //one of these two ways will work $worth = $mHelper->MoonTotalWorth($ores[0][0], $ores[0][1], $ores[1][0], $ores[1][1], $ores[2][0], $ores[2][1], $ores[3][0], $ores[3][1]); dd($worth);