ledger job

This commit is contained in:
2021-02-22 22:55:50 +09:00
parent f62f6239c0
commit 7ebc49607d

View File

@@ -101,10 +101,9 @@ class MiningTaxesLedgers extends Command
$charName = $lookup->CharacterIdToName($ledger->character_id);
//Get the type name from the ledger ore stuff
$typeName = $lookup->ItemIdToName($ledger->type_id);
//Decode the date and store it.
//$updated = $esiHelper->DecodeDate($ledger->last_updated);
//Get the price from the helper function
$price = $mHelper->CalculateOrePrice($ledger->type_id);
//Calculate the total price based on the amount
$amount = $price * $ledger->quantity;
//Insert or update the entry in the database