From 1eb1fea02d57f9fe4fc589d2ee0b53f9f877955d Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 29 Dec 2018 19:17:24 -0600 Subject: [PATCH] mailer --- app/Console/Commands/calculatemarkettax.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/calculatemarkettax.php b/app/Console/Commands/calculatemarkettax.php index 20b5d810d..c895c365a 100644 --- a/app/Console/Commands/calculatemarkettax.php +++ b/app/Console/Commands/calculatemarkettax.php @@ -67,13 +67,16 @@ class CalculateMarketTax extends Command //Get the set of corporations from the structure table $corps = CorpStructure::where(['structure_type' => 'Market'])->distinct('corporation_id'); - + $this->line('Got all of the corps with markets.'); foreach($corps as $corp) { + $this->line('Entered foreach loop'); $finalTaxes = $sHelper->GetTaxes($corp->corporation_id, 'Market', $start, $end); - + var_dump($finalTaxes); + $this->line('Received final taxes'); if($finalTaxes < 0.00) { $finalTaxes = 0.00; } + $this->line('Checked for negative number.'); $finalTaxes = number_format($finalTaxes, 2, '.', ','); $this->line('Final Taxes are: ' . $finalTaxes);