From b3b6a9fdf052199843b82fce6822891ba38fbd2b Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 22 Nov 2018 22:17:22 -0600 Subject: [PATCH] structures --- app/Console/Commands/corpJournal.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/corpJournal.php b/app/Console/Commands/corpJournal.php index f77b9339e..6ee52b0db 100644 --- a/app/Console/Commands/corpJournal.php +++ b/app/Console/Commands/corpJournal.php @@ -48,11 +48,11 @@ class CorpJournal extends Command //Setup the Finances Container $finance = new Finances(); //Get the corps with structures logged in the database - $structures = DB::table('CorpStructures')->first(); - printf($structures); + $structures = $this->table('CorpStructures')->first(); + dd($structures); //Get the characters that have the esi-wallet.read_corporation_wallets.v1 //esi wallet scope - $characters = DB::table('EsiScopes')->where('scope', 'esi-wallet.read_corporation_wallets.v1')->get(); + $characters = $this->table('EsiScopes')->where('scope', 'esi-wallet.read_corporation_wallets.v1')->get(); //For each structure let's attemp to gather the characters owning the structures and peer into their wallets. }