structure testing

This commit is contained in:
2018-11-22 20:38:58 -06:00
parent 9c0cb31ddd
commit b3fa33edae

View File

@@ -12,7 +12,7 @@ use App\Models\EsiScope;
use App\Models\EsiToken;
use App\Models\Structure;
class corpJournal extends Command
class CorpJournal extends Command
{
/**
* The name and signature of the console command.
@@ -54,13 +54,7 @@ class corpJournal extends Command
$characters = DB::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.
foreach($structures as $structure) {
foreach($characters as $char) {
var_dump($structure->character_id);
dd($char->character_id);
if($structure->character_id === $char->character_id) {
$finance->GetWalletJournal(1, $char->character_id);
}
}
printf($structures->character_id);
}
}
}