added some sorting time to the mining ledger

This commit is contained in:
2019-12-24 23:26:30 -06:00
parent 24fc7cf3e2
commit 35de697cde

View File

@@ -115,11 +115,11 @@ class MoonLedgerController extends Controller
//Cycle through each ledger entry and create a new array
foreach($ledgers as $ledger) {
dd($ledger->character_id);
//Get the character information from the character id
$charInfo = $lookup->GetCharacterInfo($ledger->character_id);
//Get the corp ticker
$corpInfo = $lookup->GetCorporationInfo($charInfo->corporation_id);
dd($corpInfo);
//Get the ore name from the type id
$ore = $lookup->ItemIdToName($ledger->type_id);