From 869f9ffe42d2f3322ea0d0fa6999080091f9708b Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 29 Dec 2018 19:15:18 -0600 Subject: [PATCH] mailer --- app/Console/Commands/calculatemarkettax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/calculatemarkettax.php b/app/Console/Commands/calculatemarkettax.php index ebec17cc4..20b5d810d 100644 --- a/app/Console/Commands/calculatemarkettax.php +++ b/app/Console/Commands/calculatemarkettax.php @@ -66,8 +66,8 @@ class CalculateMarketTax extends Command $end->second = 59; //Get the set of corporations from the structure table - $corps = CorpStructure::where(['structure_type' => 'Citadel'])->distinct('corporation_id'); - var_dump($corps); + $corps = CorpStructure::where(['structure_type' => 'Market'])->distinct('corporation_id'); + foreach($corps as $corp) { $finalTaxes = $sHelper->GetTaxes($corp->corporation_id, 'Market', $start, $end);