mining taxes invoices

This commit is contained in:
2021-02-26 00:48:03 +09:00
parent 6d55eeae45
commit 17bd69bf7c
2 changed files with 4 additions and 2 deletions

View File

@@ -86,8 +86,10 @@ class MiningTaxesInvoices extends Command
$totalPrice = $totalPrice + $row->amount;
}
dd($totalPrice);
//Reduce the total price by the take percentage
$totalPrice = $totalPrice * $config['mining_tax'];
$totalPrice = $totalPrice * ($config['mining_tax'] / 100.0);
dd($totalPrice);
//Get the character name from the character id

View File

@@ -7,6 +7,6 @@
'primary' => env('ESI_PRIMARY_CHAR', 93738489),
'alliance' => env('ESI_ALLIANCE', 99004116),
'corporation' => env('ESI_CORPORATION', 98287666),
'mining_tax' => 0.10,
'mining_tax' => 10.0,
];
?>