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