From 67db8e98f6137843c37ebaefaed3dfbf1532ff48 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 29 Dec 2018 19:13:10 -0600 Subject: [PATCH] mailer --- app/Console/Commands/calculatemarkettax.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/calculatemarkettax.php b/app/Console/Commands/calculatemarkettax.php index c27f7f194..c8efa4a38 100644 --- a/app/Console/Commands/calculatemarkettax.php +++ b/app/Console/Commands/calculatemarkettax.php @@ -73,9 +73,11 @@ class CalculateMarketTax extends Command if($finalTaxes < 0.00) { $finalTaxes = 0.00; - } else { - $finalTaxes = number_format($finalTaxes, 2, '.', ','); } + + $finalTaxes = number_format($finalTaxes, 2, '.', ','); + $this->line('Final Taxes are: ' . $finalTaxes); + //Get the info about the structures from the database $info = CorpStructure::where(['corporation_id' => $corp->corporation_id])->first(); //Store the value in the database