diff --git a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php index 685249e53..9d1a3f93b 100644 --- a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php +++ b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php @@ -84,13 +84,11 @@ class MiningTaxesInvoices extends Command //Add up the total price from the ledger rows for the report later $totalPrice = $totalPrice + $row->amount; + dd($row->amount); } - dd($totalPrice); - //Reduce the total price by the take percentage - $totalPrice = $totalPrice * ($config['mining_tax'] / 100.0); - dd($totalPrice); + $totalPrice = $totalPrice * $config['mining_tax']; //Get the character name from the character id $charName = $lookup->CharacterIdToName($charId); diff --git a/config/esi.php b/config/esi.php index 81d469a94..46b2ae3fc 100644 --- a/config/esi.php +++ b/config/esi.php @@ -7,6 +7,6 @@ 'primary' => env('ESI_PRIMARY_CHAR', 93738489), 'alliance' => env('ESI_ALLIANCE', 99004116), 'corporation' => env('ESI_CORPORATION', 98287666), - 'mining_tax' => 10.0, + 'mining_tax' => 0.10, ]; ?> \ No newline at end of file